2582 Commits

Author SHA1 Message Date
avolkov b3b12c4903 Fix compilation in release mode busted in r3320
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3323 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-11-18 18:33:41 +00:00
Meep-Eep 4d6bf78840 Fix warning (for qsort).
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3322 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-11-18 18:27:42 +00:00
avolkov 38d67e3dd4 Lander cleanup: former MENU_STATE fields sorted out; some pointless casts removed; some comments; other random changes
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3321 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-11-18 17:46:46 +00:00
avolkov be294b091b The utter destruction of pMenuState
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3320 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-11-18 13:27:48 +00:00
avolkov 4a7f6c22f8 Uncoupled planet location selection from pMenuState and MENU_STATE
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3319 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-11-18 12:55:10 +00:00
avolkov fcb537e47f Removed references to pMenuState from comm (required parameter carried forward); some header file cleanups; comments and minor cleanup of Starbase
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3318 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-11-18 05:39:40 +00:00
avolkov 2e14cd01f0 PlayingTrack() is now reliable enough that we do not need the extra hacky test
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3317 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-11-18 01:59:57 +00:00
avolkov 79d3083dfc PlayingTrack() is now reliable enough that we do not need the extra hacky test
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3316 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-11-18 01:57:06 +00:00
avolkov 963a6fb808 Bugfix: make RANDOM_ANIM end on a neutral frame
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3315 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-11-18 00:07:33 +00:00
avolkov c7873c49e0 Some animation comments
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3314 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-11-18 00:02:10 +00:00
avolkov 4754c6116d Stabilizing the lander rate caused some problems, and so it's back to unstable
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3313 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-11-17 21:54:05 +00:00
avolkov 29fc6576a2 Uncouple DrawStatusMessage() from pMenuState (carry the required parameter forward)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3312 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-11-17 21:41:37 +00:00
avolkov ec89d2688e Uncouple Starmap from pMenuState and remove MENU_STATE abuse
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3311 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-11-17 09:56:02 +00:00
avolkov 581d28c45e Remove pMenuState references from Shipyard
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3310 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-11-17 09:02:54 +00:00
avolkov 8852fcf560 Naming code cleanup: some abuses of MENU_STATE removed; load savegame info while fading music; some dead code removed
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3309 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-11-17 08:49:22 +00:00
avolkov 0920380020 Further lander cleanup: fully decoupled from scan's MENU_STATE
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3308 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-11-16 23:32:01 +00:00
avolkov 7cec3853ab Further lander cleanups: decoupled from scan's MENU_STATE.flash_rect1; stabilized frame rate; better semantics
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3307 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-11-16 01:12:07 +00:00
Meep-Eep 8fa66505b2 Fixed a bug introduced by my last patch. I forgot about the system-specific generate functions.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3306 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-11-15 23:58:23 +00:00
avolkov 39bde10b0c Comm animation processing rewrite; cleaner and meaner; a bunch of bugs fixed, and some probably added ;)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3305 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-11-15 06:43:03 +00:00
avolkov 0b39fbb0b2 Fix compilation in MSVC6
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3304 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-11-15 04:20:15 +00:00
Meep-Eep 646cbb76b5 First steps towards disentangling the lander input state from MENU_STATE.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3303 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-11-15 02:32:54 +00:00
Meep-Eep 823c756b3c Added graphics context debugging function.
Plus small cleanups.



git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3302 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-11-14 22:17:24 +00:00
Meep-Eep acbb2f7b25 Add missing error handling.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3301 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-11-14 18:44:33 +00:00
Meep-Eep 9ef52bdc9f Cleanup.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3300 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-11-14 17:06:12 +00:00
avolkov 0eace3420b Now dead declaration removed
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3299 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-11-11 21:28:07 +00:00
avolkov b224c4da9f Melee menu flash selection task retired
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3298 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-11-11 09:30:58 +00:00
avolkov 393030ff6c Video player task retired; minor legacy video semantical changes; improved video playback jitter compensation
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3297 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-11-11 08:03:22 +00:00
avolkov cf28c52a8f Small fix for 3DO version of shipyard
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3296 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-11-10 21:53:39 +00:00
avolkov c3e22108a6 Hangar power lines animation task retired; some cleanups
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3295 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-11-08 20:02:26 +00:00
avolkov cd1a5f5aeb Remove some hacks not needed anymore after flash planet location task's retirement
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3294 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-11-08 08:07:45 +00:00
avolkov fd8df23e0f Starbase rotation task retired; minor context fix
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3293 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-11-08 06:44:30 +00:00
avolkov 8f932f7589 Roster flash ship task retired; some roster cleanups
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3292 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-11-08 05:56:40 +00:00
avolkov 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
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3291 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-11-08 04:34:13 +00:00
avolkov 8b43b9f3c1 Cleanup: make MENU_STATE* parameter explicit in planet scan code
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3290 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-11-08 02:16:00 +00:00
avolkov a8c2acf7ba Flash planet location cursor task retired; some cleanups
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3289 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-11-08 02:05:49 +00:00
avolkov 00068aa772 Starmap flash current location task retired
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3288 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-11-07 22:22:05 +00:00
avolkov a5ab6acc62 Arilou gate task retired; now called in-line every battle frame
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3287 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-11-07 06:30:37 +00:00
avolkov 60b9df5ba6 Game clock task retired; clock advances via a tick function and the game events are handled immediately
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3286 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-11-07 06:05:45 +00:00
avolkov d18773e737 Added Battle frame callback; Moved blinking AUTO-PILOT message out of the game clock task
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3285 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-11-07 01:05:08 +00:00
avolkov 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
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3284 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-11-05 23:53:43 +00:00
avolkov a80d533fa7 Fixes menu special key deleting ships in Melee fleet rows
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3283 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-11-05 22:10:41 +00:00
avolkov 980693268d Fixes freeing music data broken in r2901
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3281 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-11-05 20:58:59 +00:00
avolkov 55a0791227 Hush, little compiler! Here is the initializer you've been missing.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3280 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-11-05 20:31:58 +00:00
avolkov 897bc6a47e Moved static SIS variables to per-instance RACE_DESC; pre-configure SIS weapons
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3279 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-11-05 08:26:44 +00:00
avolkov d5230903d8 Moved static ship variables to per-instance RACE_DESC
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3278 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-11-05 06:12:33 +00:00
avolkov 9e1b5ac5c4 Fixes Pkunk crash bug due to a static variable; also moves the static data to owning STARSHIP
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3277 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-11-05 04:09:55 +00:00
avolkov 164b42bd66 Micro version bump to 0.6.7
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3276 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-11-05 04:02:50 +00:00
avolkov b9d1b379df Final GOOD_GUY/BAD_GUY cleanup, now enumerated
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3275 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-11-05 03:27:36 +00:00
avolkov 51751b3858 Battle & ship code cleanup: GOOD_GUY/BAD_GUY flags removed from Hyperspace; some comments
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3274 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-11-04 23:51:26 +00:00
avolkov 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)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3273 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-11-04 21:42:39 +00:00