3883 Commits

Author SHA1 Message Date
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
Meep-Eep 55c0e71693 Consistent use of spaces.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3282 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-11-05 21:41:17 +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
avolkov 5b58d27b26 Cleanup of lander: ELEMENT.playerNr introduced; GOOD_GUY/BAD_GUY removed
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3272 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-11-02 08:04:51 +00:00
avolkov 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
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3271 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-11-02 05:23:06 +00:00
Meep-Eep 913aa4ffa6 Cleanups.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3270 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-10-31 15:51:31 +00:00
Meep-Eep 5320aeeb7d Second argument of SetFlashRect is now always 0. This commit removes that
argument.
Also some small cleanups.



git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3269 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-10-31 15:37:46 +00:00
Meep-Eep 6e4534b7bd Cleanups.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3268 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-10-31 14:42:02 +00:00
avolkov 06f1e11b33 Battle & ship code cleanup: better name 'allied_state' for FLEET_INFO.ship_flags
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3267 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-10-31 01:17:53 +00:00
avolkov a56719420e Battle & ship code cleanup: Switch to playerNr instead of GOOD_GUY/BAD_GUY in ship status code
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3266 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-10-31 00:57:09 +00:00
avolkov 415eec4efb Battle & ship code cleanup: Destruction of WHICH_SIDE(); removal of turn_wait abuse in new_ship()
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3265 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-10-30 22:33:09 +00:00
avolkov 6304f5e884 Battle & ship code cleanup: Removed the global var cur_player; control flags propagated forward
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3264 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-10-30 19:27:41 +00:00
avolkov 0919ab84fe Battle & ship code cleanup: Removed the now invariant var CyborgDescPtr
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3263 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-10-29 22:32:22 +00:00