7f47d0adf4
Cargo menu cleanup: MENU_STATE.CurState is now 0-based; split drawing into functions; added symbolic positioning constants; moved colors to colors.h; not relying on MENU_STATE.Initialized
avolkov
2009-12-12 07:50:45 +00:00
4fbe2c2477
Cleanup of game options menus: not reusing MENU_STATE anymore; clear sub-menu functions; not relying on MENU_STATE.Initialized; clearer Load from Main menu (not perfect); clearer CurrentActivity flags manipulation
avolkov
2009-12-12 04:45:15 +00:00
7365b09a95
Save/load UI cleanup: own MENU_STATE; MENU_STATE hacks removed; fully redrawing the summary every time for simplicity and better color-matching
avolkov
2009-12-12 00:34:07 +00:00
c0eb61d875
Dead variable MENU_STATE.MenuRepeatDelay removed
avolkov
2009-12-10 21:01:05 +00:00
bce2dc0933
Remove the last dependencies on pSolarSysState->MenuState.Initialized; replaced with SOLARSYS_STATE.InOrbit
avolkov
2009-12-10 20:52:20 +00:00
0ff2a62648
Do not make users wait for fades when closing the game
avolkov
2009-12-10 19:03:57 +00:00
5415199305
Cleanup: TaskContext removed; the only place using it now has an own context
avolkov
2009-12-10 09:41:31 +00:00
212f9a68ea
Keep 'Entering planetary orbit...' screen on while a planet is zooming in
avolkov
2009-12-10 09:26:57 +00:00
70e7ae8204
Remove one more dependance on pSolarSysState->MenuState.Initialized
avolkov
2009-12-10 09:11:44 +00:00
742f64ac4c
Fixes devices menu after loading directly into planet orbit, broken by r3393 (planet rotation task removal)
avolkov
2009-12-10 08:50:35 +00:00
1d508c0b4c
Screen fade task retired; also replace XFormColorMap() hacks with a separate new call FadeScreen()
avolkov
2009-12-10 08:23:51 +00:00
2d13f9a9d7
Music fade task retired; also absolve audio drivers from managing the stream decoder task
avolkov
2009-12-10 04:38:35 +00:00
4dfdd607ad
Credits task retired; credits drawing is now a callback of DoInput
avolkov
2009-12-09 23:43:40 +00:00
a8aaba1485
Cleaner use of background/foreground colors in presentations
avolkov
2009-12-08 22:59:23 +00:00
63f66cf010
Use SaveContextFrame() where appropriate
avolkov
2009-12-08 22:46:15 +00:00
939fc2e5db
Better context drawing origin semantics; also chaser fix for foreground frame hotspot left broken in r3401
avolkov
2009-12-08 21:50:16 +00:00
4ad67018fa
Change GetContextClipRect() semantics so that a valid rect is always filled in; added some gfx predicate functions, not used everywhere yet
avolkov
2009-12-08 20:58:18 +00:00
5976a133dd
Some graphics primitives scaling comments and consistency edits
avolkov
2009-12-08 19:11:29 +00:00
2e3dfee3cd
Dead batching flags removed
avolkov
2009-12-08 17:01:38 +00:00
3c63c20371
Dead context clipping flag removed
avolkov
2009-12-08 16:55:56 +00:00
a8ea62eeb0
Uncouple text drawing from batching
avolkov
2009-12-08 16:37:52 +00:00
fb48357a54
Make context cliprect + foreground frame hotspot semantics actually sane; do not hack _CurFramePtr->HotSpot
avolkov
2009-12-07 23:23:46 +00:00
723d4ec110
Expand 'sf.net'; list another web page.
Meep-Eep
2009-12-07 22:01:26 +00:00
7334ca7eea
A few cleanups.
Meep-Eep
2009-12-07 21:56:24 +00:00
e151b933f8
Planet rotation task retired; this introduces a DoInput frame callback and lays the foundation for the removal of credits task
avolkov
2009-12-05 22:15:23 +00:00
240dc2d78d
Split planet rotation code into sensible functions in preparation for dethreading; some cleanups
avolkov
2009-12-05 02:26:29 +00:00
b98aff0d7f
Planet surface and sphere cleanup: names, casts, horrible code; some comments
avolkov
2009-12-04 20:38:52 +00:00
c3f408a9b8
Restore arrow menu sounds after editing a control set name; bug #1066
avolkov
2009-12-04 18:24:15 +00:00
f59b1f9e8e
Cleanup of key repeat set functions usage
avolkov
2009-12-04 00:12:12 +00:00
af0c63d3dc
Small solar system menu fix
avolkov
2009-12-03 22:38:07 +00:00
75e3ab16e6
Small ipdisp clarification
avolkov
2009-12-03 22:28:40 +00:00
2cba7e4942
Cleanup: use IP location<->display conversion functions; some ipdisp clarifications
avolkov
2009-12-03 21:36:32 +00:00
b0bdc9e7b3
Refactored solar system drawing, now using a straightforward approach; unexpected function side-effects mostly removed (that model/view thing); some cleanups
avolkov
2009-12-03 03:54:12 +00:00
11ae7a4334
Remove more draw_sys_flags via a refactoring of system view saving code; this will lead to a simplification of system transitions
avolkov
2009-12-01 23:23:09 +00:00
d7e628a7c2
Removal of unused DRAW_PLANETS and DRAW_ORBITS flags
avolkov
2009-12-01 20:52:44 +00:00
e90739a1d2
Smooth solar system zoom experiment fixed, uncomment #define SMOOTH_SYSTEM_ZOOM to try; some cleanups
avolkov
2009-12-01 20:43:33 +00:00
9562043687
Cleanup of some of the pSolarSysState references
avolkov
2009-12-01 17:18:26 +00:00
d050f79cb6
Split DoFlagshipCommands() into separate menu functions for IP, Orbital and Hyperspace; this allowed for some solarsys and manifest menu cleanups; temporary pBaseDesc setups removed; some invariant tests removed; some code moved around to more appropriate places
avolkov
2009-11-30 21:57:13 +00:00
273a9933bb
Split off unicode.h from strlib.h.
Meep-Eep
2009-11-30 20:37:10 +00:00
a6a7b843d0
Use an own 'UniChar' rather than 'wchar_t', which may not be large enough, depending on the platform. Also split off UNICODE functionality from strlib.h into unicode.h.
Meep-Eep
2009-11-30 20:09:57 +00:00
5e4b5c3c5f
Clean up DeltaSISGauges a bit more.
Meep-Eep
2009-11-30 18:52:15 +00:00
1d07ed79a2
Little fix.
Meep-Eep
2009-11-30 17:44:59 +00:00
b5824cca45
Little fix.
Meep-Eep
2009-11-30 17:43:30 +00:00
375909497e
Small MSVC compilation fix
avolkov
2009-11-30 14:58:10 +00:00
85a10c006c
Drawing functions take their color as a Color argument, instead of as separate r, g, and b arguments. This paves the way for using draw operations with an alpha channel.
Meep-Eep
2009-11-29 19:54:51 +00:00
b67323f0b4
Alpha value of 0xff is fully opaque
Meep-Eep
2009-11-29 19:11:51 +00:00
e6b2bc9930
All graphics operations use 24-bits colors at the game level too now, instead of 16 bits colors. Using a structure 'Color' instead of 'COLOR' and 'TFB_Palette' now.
Meep-Eep
2009-11-29 15:29:38 +00:00
2c63415b36
Cleanups; separate model from view in some functions.
Meep-Eep
2009-11-28 01:53:47 +00:00
98dbf1431b
Comm animations task retired; Talking Pet mind control strobe reworked into an ambient animation; potential buffer overflow and potential wrong summary context fixed (counts towards bug #576)
avolkov
2009-11-26 17:10:02 +00:00
0489a89e70
Fold two input-dependent comm functions into DoInput() paradigm
avolkov
2009-11-25 21:43:48 +00:00
27e4e770cc
Remove last pSolarSysState reference from generate functions
avolkov
2009-11-25 12:48:27 +00:00
76d4261313
Refactoring the universe generation code.
Meep-Eep
2009-11-21 21:04:45 +00:00
7d3e5b3511
Header and name cleanup: moved stuff around to relevant headers; removed some irrelevant #includes; better names
avolkov
2009-11-21 01:15:21 +00:00
e40d9499b2
Remove some scan map 'repair' hacks. We redraw the entire scan map, instead of repairing, since 3DO
avolkov
2009-11-20 20:14:35 +00:00
d595d40186
Removal of redraw hacks obsoleted by revisions 390 (introduction of SOLARSYS_STATE.PauseRotate), 469 (save of screen state) and 1321 (abolishment of IPtask_func); dead PlayMusic() hacks also removed; also fixes bug #868
avolkov
2009-11-20 18:37:32 +00:00
7b5395ae9c
Oops, remove the hack that should have been removed in r3309
avolkov
2009-11-20 17:14:20 +00:00
5be8df3e5f
Bugfix: defer deactivation of ended animations until all animations have been processed for the frame; this makes BlockMask tests stable and prevents early activation of a conflicting animation
avolkov
2009-11-20 15:31:08 +00:00
fe137f036c
Arilou animations fixes: set WAIT_TALKING flag for the correct anims; flag some mutually-exclusive anims; couple comments
avolkov
2009-11-19 13:49:36 +00:00