38d67e3dd4
Lander cleanup: former MENU_STATE fields sorted out; some pointless casts removed; some comments; other random changes
avolkov
2009-11-18 17:46:46 +00:00
be294b091b
The utter destruction of pMenuState
avolkov
2009-11-18 13:27:48 +00:00
4a7f6c22f8
Uncoupled planet location selection from pMenuState and MENU_STATE
avolkov
2009-11-18 12:55:10 +00:00
fcb537e47f
Removed references to pMenuState from comm (required parameter carried forward); some header file cleanups; comments and minor cleanup of Starbase
avolkov
2009-11-18 05:39:40 +00:00
2e14cd01f0
PlayingTrack() is now reliable enough that we do not need the extra hacky test
avolkov
2009-11-18 01:59:57 +00:00
79d3083dfc
PlayingTrack() is now reliable enough that we do not need the extra hacky test
avolkov
2009-11-18 01:57:06 +00:00
963a6fb808
Bugfix: make RANDOM_ANIM end on a neutral frame
avolkov
2009-11-18 00:07:33 +00:00
c7873c49e0
Some animation comments
avolkov
2009-11-18 00:02:10 +00:00
4754c6116d
Stabilizing the lander rate caused some problems, and so it's back to unstable
avolkov
2009-11-17 21:54:05 +00:00
29fc6576a2
Uncouple DrawStatusMessage() from pMenuState (carry the required parameter forward)
avolkov
2009-11-17 21:41:37 +00:00
ec89d2688e
Uncouple Starmap from pMenuState and remove MENU_STATE abuse
avolkov
2009-11-17 09:56:02 +00:00
581d28c45e
Remove pMenuState references from Shipyard
avolkov
2009-11-17 09:02:54 +00:00
8852fcf560
Naming code cleanup: some abuses of MENU_STATE removed; load savegame info while fading music; some dead code removed
avolkov
2009-11-17 08:49:22 +00:00
0920380020
Further lander cleanup: fully decoupled from scan's MENU_STATE
avolkov
2009-11-16 23:32:01 +00:00
7cec3853ab
Further lander cleanups: decoupled from scan's MENU_STATE.flash_rect1; stabilized frame rate; better semantics
avolkov
2009-11-16 01:12:07 +00:00
8fa66505b2
Fixed a bug introduced by my last patch. I forgot about the system-specific generate functions.
Meep-Eep
2009-11-15 23:58:23 +00:00
39bde10b0c
Comm animation processing rewrite; cleaner and meaner; a bunch of bugs fixed, and some probably added ;)
avolkov
2009-11-15 06:43:03 +00:00
0b39fbb0b2
Fix compilation in MSVC6
avolkov
2009-11-15 04:20:15 +00:00
646cbb76b5
First steps towards disentangling the lander input state from MENU_STATE.
Meep-Eep
2009-11-15 02:32:54 +00:00
823c756b3c
Added graphics context debugging function. Plus small cleanups.
Meep-Eep
2009-11-14 22:17:24 +00:00
acbb2f7b25
Add missing error handling.
Meep-Eep
2009-11-14 18:44:33 +00:00
393030ff6c
Video player task retired; minor legacy video semantical changes; improved video playback jitter compensation
avolkov
2009-11-11 08:03:22 +00:00
cf28c52a8f
Small fix for 3DO version of shipyard
avolkov
2009-11-10 21:53:39 +00:00
c3e22108a6
Hangar power lines animation task retired; some cleanups
avolkov
2009-11-08 20:02:26 +00:00
cd1a5f5aeb
Remove some hacks not needed anymore after flash planet location task's retirement
avolkov
2009-11-08 08:07:45 +00:00
ebad9b4de1
Some cleanup of roster code: horrific sorting replaced by qsort; MENU_STATE field abuse removed; better names for some vars; one escort navigation bug fixed
avolkov
2009-11-08 04:34:13 +00:00
8b43b9f3c1
Cleanup: make MENU_STATE* parameter explicit in planet scan code
avolkov
2009-11-08 02:16:00 +00:00
a5ab6acc62
Arilou gate task retired; now called in-line every battle frame
avolkov
2009-11-07 06:30:37 +00:00
60b9df5ba6
Game clock task retired; clock advances via a tick function and the game events are handled immediately
avolkov
2009-11-07 06:05:45 +00:00
d18773e737
Added Battle frame callback; Moved blinking AUTO-PILOT message out of the game clock task
avolkov
2009-11-07 01:05:08 +00:00
ec9d3e4b72
Main and stream decored thread down-throttling, and game sleep when inactive (intended for portables and currently disabled in mainline); bug #1070; from Flandry
avolkov
2009-11-05 23:53:43 +00:00
a80d533fa7
Fixes menu special key deleting ships in Melee fleet rows
avolkov
2009-11-05 22:10:41 +00:00
55c0e71693
Consistent use of spaces.
Meep-Eep
2009-11-05 21:41:17 +00:00
980693268d
Fixes freeing music data broken in r2901
avolkov
2009-11-05 20:58:59 +00:00
55a0791227
Hush, little compiler! Here is the initializer you've been missing.
avolkov
2009-11-05 20:31:58 +00:00
897bc6a47e
Moved static SIS variables to per-instance RACE_DESC; pre-configure SIS weapons
avolkov
2009-11-05 08:26:44 +00:00
d5230903d8
Moved static ship variables to per-instance RACE_DESC
avolkov
2009-11-05 06:12:33 +00:00
9e1b5ac5c4
Fixes Pkunk crash bug due to a static variable; also moves the static data to owning STARSHIP
avolkov
2009-11-05 04:09:55 +00:00
164b42bd66
Micro version bump to 0.6.7
avolkov
2009-11-05 04:02:50 +00:00
b9d1b379df
Final GOOD_GUY/BAD_GUY cleanup, now enumerated
avolkov
2009-11-05 03:27:36 +00:00
51751b3858
Battle & ship code cleanup: GOOD_GUY/BAD_GUY flags removed from Hyperspace; some comments
avolkov
2009-11-04 23:51:26 +00:00
6a822abc49
Battle & ship code cleanup: GOOD_GUY/BAD_GUY flags replaced with playerNr; these flags are not set in SHIP_INFO anymore; STARSHIP.which_side removed (fully replaced by playerNr)
avolkov
2009-11-04 21:42:39 +00:00
79fcbff236
Cleanup of IP display code: GOOD_GUY/BAD_GUY removed; several bugs removed (some previously fixed); special-case hack code moved where it belongs; some comments
avolkov
2009-11-02 05:23:06 +00:00
5320aeeb7d
Second argument of SetFlashRect is now always 0. This commit removes that argument. Also some small cleanups.
Meep-Eep
2009-10-31 15:37:46 +00:00
d8daf03969
Do not try an orbital insertion when the ship is not moving; bug #648
avolkov
2009-10-28 05:00:07 +00:00
c5ef5f4bad
Updated MSVC6 project file for message box rewrite; left out in r3252
avolkov
2009-10-27 18:41:12 +00:00
db321c4eb7
Really kill mouse_err.c which refused to die in r2809
avolkov
2009-10-27 16:41:27 +00:00
7d276bc796
Revert graphics settings entirely when a mode switch fails; bug #1056
avolkov
2009-10-26 20:59:14 +00:00
7c75c31291
Add pauses to the beginning and end of 'several hours later' track to emphasize the time passage and give the scene a more natural feel
avolkov
2009-10-26 19:49:18 +00:00
4cf3f2b292
Do not make alien comm code play each track individually when there are events interspersed, it causes subtitle blinking, and there is no need for this
avolkov
2009-10-26 18:25:56 +00:00
90945cf8df
Native message box on MacOSX; platform-specific separation of box drivers
avolkov
2009-10-25 22:21:08 +00:00
9ef9d69622
A few commas, to help Alex read.
Meep-Eep
2009-10-25 01:17:36 +00:00
b1eedecb32
Switch main menu to the new threadless flashing code.
Meep-Eep
2009-10-25 01:12:19 +00:00
c02ca9e000
Improvements to flashing code. Overlays work right too, now.
Meep-Eep
2009-10-25 01:11:41 +00:00
a82b17e1c9
Asm scaler fixes: restrict RGB15_to_YUV operand to a register, but leave gcc more available regs; fixes scaler problems in MacOSX; Also, properly inform gcc of clobbered condition code reg
avolkov
2009-10-25 01:01:45 +00:00
11ffd2ac61
We cannot rely on SDL_DisplayFormatAlpha(). Our code assumed things which may not be true on a Mac w/ SDL 1.2.14. This fix is also applicable to all platforms
avolkov
2009-10-24 22:22:02 +00:00
68ebcaf54e
Don't try using pkgconfig to detect libs on Mac OSX; pkgconfig is not there
avolkov
2009-10-24 21:53:05 +00:00
2db40c9528
Only need to put the version number on the restart screen once.
Meep-Eep
2009-10-24 21:11:40 +00:00
6828498658
Some more cleanups; move color definitions to colors.h.
Meep-Eep
2009-10-24 20:07:03 +00:00
595bf1e5e0
Detection of libmikmod requires detection of libmikmod-config. Same for SDL and pthread.
Meep-Eep
2009-10-24 17:57:14 +00:00
005cbd6656
Even more fixes.
Meep-Eep
2009-10-24 17:56:13 +00:00
bb2513fc06
More fixes.
Meep-Eep
2009-10-24 17:50:49 +00:00
4eb191e859
A few corrections.
Meep-Eep
2009-10-24 17:44:34 +00:00
2362c376a4
Scope fixes: 0-init scope data; do not put critical calls into an assert() ;-)
avolkov
2009-10-24 05:37:41 +00:00
6774ad2a9b
Make DoPopupWindow() work over faded out screens.
Meep-Eep
2009-10-23 19:51:33 +00:00
62c7422918
Cleanup of options processing: parse all options at the very first thing we do, so do not have to screw with optind; fixes failures when running with no args on mingw
avolkov
2009-10-21 20:21:25 +00:00
cf7fd70c67
Redefining "absurd". Also small cleanup.
Meep-Eep
2009-10-21 16:49:26 +00:00
c6de2bece5
Sndlib cleanup: do not expose internals; some dead stuff removed; a few bugs fixed; stream decoder reorg; some memory optimizations; use intptr_t for tags (64-bit cleanliness)
avolkov
2009-10-19 19:13:24 +00:00
50f95f5856
This debug print should not have made it in, and now removed
avolkov
2009-10-19 10:32:15 +00:00
621e8c5a7f
Make HRealloc() check the return the same way HMalloc() does
avolkov
2009-10-19 10:09:33 +00:00
20ae0eb3fb
When reading options, perform more thorough type-checking. This should solve a crash some modders found when modifying menu.key.
mcmartin
2009-10-19 01:02:22 +00:00
ac3b01ce12
Trackplayer rewrite; fixes several obscure bugs; SpliceTrack() still a mess
avolkov
2009-10-18 16:53:27 +00:00