3883 Commits

Author SHA1 Message Date
avolkov b926c2f8d6 Fix 'LOADING...' message broken by a previous cleanup
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3462 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-21 23:30:21 +00:00
avolkov 390ab06714 Sort out game kernel cleanup sequences; also dodge a warning
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3461 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-21 03:55:46 +00:00
avolkov dafd5e415d Get rid of MSVC 'unnamed type definition in parentheses' warning in md5
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3460 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-20 20:58:55 +00:00
Meep-Eep 3f203f6b72 Fix warning.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3459 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-20 10:54:45 +00:00
Meep-Eep 8f711e621e Fix a few warnings.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3458 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-20 10:49:13 +00:00
avolkov c71eb8eded Fix signed/unsigned data reads in sound decoders
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3457 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-20 04:20:43 +00:00
avolkov ee470ba555 Fix signed-unsigned comparison warning
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3456 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-20 03:38:09 +00:00
avolkov 8096eeca2c Make the prevailing type of planet topo data signed; also gets rid of several warnings
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3455 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-20 03:33:53 +00:00
avolkov f6959074cb Fix signed value read/writes in savegames and groups
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3454 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-20 03:07:53 +00:00
avolkov 515f2a216c Make audio_Object properly unsigned; also dodges compiler warning
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3453 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-20 02:18:01 +00:00
avolkov 044e59dd66 Make STRINGPTR a 'char *'; GetStringContents() removed; minor header path changes
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3452 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-20 02:02:24 +00:00
avolkov 5b15514f18 Switch to 'char' type for core strings; this adds some new warnings which will be taken care of later
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3451 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-19 23:39:40 +00:00
avolkov b9472023a6 Dodge MSVC 'used without having been initialized' warnings
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3450 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-19 07:49:24 +00:00
avolkov 076b8ad3e2 One more warning that GCC produces (to match same in MSVC)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3449 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-19 04:58:10 +00:00
avolkov a3320a3544 Fix unreferenced parameter warning
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3448 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-19 03:10:22 +00:00
avolkov 1a8a26faf4 Match warnings between GCC and MSVC reasonably closely
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3447 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-19 03:06:37 +00:00
avolkov aaaa03ddfc Fix cmap.c compilation on Linux (missing include)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3446 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-19 02:18:43 +00:00
avolkov e2fa625bd4 Remove some unused vars to avoid warnings
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3445 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-19 01:47:46 +00:00
avolkov 116245bbf6 Moved dcqueue.c out of SDL domain, it is not SDL-specific
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3444 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-19 01:36:38 +00:00
avolkov d40be4b7ff Moved dcqueue.c out of SDL domain, it is not SDL-specific
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3443 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-19 01:35:31 +00:00
avolkov e01ce2e6e4 Cleanup: long-time dead SetPalette DrawCommand removed
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3442 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-18 23:57:59 +00:00
avolkov 569c08388d Cleanup: remove redundant casts (void* is directly convertible to struct*)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3441 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-18 23:38:54 +00:00
avolkov cb4a6d964c Cleanup: removed unused graphics/sdl/rndzoom.c
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3440 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-18 23:20:29 +00:00
avolkov 08c678908c Cleanup: removed unused TFB_Image.Palette
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3439 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-18 23:18:28 +00:00
avolkov e991a294a9 Oops, MSVC .dsp project file did not make it in r3433, and now fixed
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3438 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-18 22:57:49 +00:00
avolkov 4fbce8572c Cleanup of DrawPlanet() scan tint processing
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3437 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-17 04:54:36 +00:00
avolkov f46c5c7ada Oscilloscope and slider cleanup: determine the dimensions dynamically instead of relying on constants
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3436 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-17 03:10:18 +00:00
avolkov 877e9ced23 Draw the oscilloscope using gfxlib calls; dodges the ignored colormap bug
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3435 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-17 02:47:40 +00:00
avolkov 5894857f5b Fix unused parameter warning; also minimize GLOBAL_SIS() accesses while drawing savegame summary
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3434 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-17 01:42:05 +00:00
avolkov 40d81864d4 Split off SDL-specific colormap bits into SDL domain; fixed minor SDL_Palette access bug; some colormap processing cleanups
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3433 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-17 01:24:02 +00:00
avolkov bcb20a36c0 Cleanup: dead colormap flags removed
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3432 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-16 05:23:28 +00:00
avolkov 977bb03b05 Planet orbit menu cleanup: own MENU_STATE for all; clear sub-menu functions; MENU_STATE hacks removed; not relying on MENU_STATE.Initialized; moved colors to colors.h; planet surface always drawn in ScanContext; Better names for some menu items
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3431 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-15 22:39:26 +00:00
avolkov af41fd64bf Roster menu cleanup: removed MENU_STATE hacks
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3430 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-13 11:42:40 +00:00
avolkov 2b9d536854 Devices menu cleanup: MENU_STATE.CurState is now 0-based; split drawing into functions; added symbolic positioning constants; moved colors to colors.h; removed MENU_STATE hacks
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3429 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-12 21:56:29 +00:00
Meep-Eep cb8909a981 typo
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3428 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-12 15:47:45 +00:00
avolkov 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
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3427 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-12 07:50:45 +00:00
avolkov 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
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3426 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-12 04:45:15 +00:00
avolkov 7365b09a95 Save/load UI cleanup: own MENU_STATE; MENU_STATE hacks removed; fully redrawing the summary every time for simplicity and better color-matching
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3425 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-12 00:34:07 +00:00
Meep-Eep 3d68c686ea Correct sentence.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3424 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-11 23:19:36 +00:00
avolkov 2057e5e2bd Full screen transitions do not need to specify a rect
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3423 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-11 18:46:09 +00:00
avolkov c984f9c48c Removed a comment that is not relevant anymore
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3422 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-11 18:21:52 +00:00
avolkov c9d6ee1bda Cleanup: remove MENU_STATE.flash_task completely
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3421 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-10 21:44:21 +00:00
avolkov f6a1b6973b Remove pSolarSysState->MenuState completely
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3420 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-10 21:34:12 +00:00
avolkov c0eb61d875 Dead variable MENU_STATE.MenuRepeatDelay removed
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3419 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-10 21:01:05 +00:00
avolkov bce2dc0933 Remove the last dependencies on pSolarSysState->MenuState.Initialized; replaced with SOLARSYS_STATE.InOrbit
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3418 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-10 20:52:20 +00:00
avolkov 0ff2a62648 Do not make users wait for fades when closing the game
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3417 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-10 19:03:57 +00:00
avolkov 5415199305 Cleanup: TaskContext removed; the only place using it now has an own context
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3416 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-10 09:41:31 +00:00
avolkov 212f9a68ea Keep 'Entering planetary orbit...' screen on while a planet is zooming in
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3415 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-10 09:26:57 +00:00
avolkov 70e7ae8204 Remove one more dependance on pSolarSysState->MenuState.Initialized
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3414 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-10 09:11:44 +00:00
avolkov 742f64ac4c Fixes devices menu after loading directly into planet orbit, broken by r3393 (planet rotation task removal)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3413 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-10 08:50:35 +00:00