avolkov
|
8df76e7440
|
Migrate planet scan tint to new drawing modes
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3477 8092fc87-c524-0410-9efc-e669fe64eaf9
|
2009-12-27 07:23:28 +00:00 |
|
avolkov
|
24513c7b07
|
Migrate planet map shield tint to new drawing modes
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3476 8092fc87-c524-0410-9efc-e669fe64eaf9
|
2009-12-27 06:50:52 +00:00 |
|
avolkov
|
ec5a400052
|
Added additive and alpha drawing mode to gfxlib proper (TFB_Draw/TFB_Canvas/Color); this is to replace arith_frame_blit()/TFB_BlitSurface()
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3475 8092fc87-c524-0410-9efc-e669fe64eaf9
|
2009-12-27 04:42:50 +00:00 |
|
Meep-Eep
|
ae5303ed3c
|
Typo causing (harmless) warnings.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3474 8092fc87-c524-0410-9efc-e669fe64eaf9
|
2009-12-26 17:15:12 +00:00 |
|
Meep-Eep
|
6d1ee6724f
|
UniChar is 32 bits now.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3473 8092fc87-c524-0410-9efc-e669fe64eaf9
|
2009-12-25 20:52:29 +00:00 |
|
avolkov
|
b610c97a33
|
Bugfix for #1077 (compilation with netplay disabled)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3472 8092fc87-c524-0410-9efc-e669fe64eaf9
|
2009-12-25 20:48:53 +00:00 |
|
avolkov
|
3b48ebaeee
|
Gfxlib cleanup: fold getpixelarray() and process_rgb_bmp() into TFB_Canvas + Color paradigm
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3471 8092fc87-c524-0410-9efc-e669fe64eaf9
|
2009-12-25 11:52:50 +00:00 |
|
avolkov
|
23c2ca27e7
|
Gfxlib cleanup: move stretch_frame() out of SDL domain and rename to RescaleFrame()
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3470 8092fc87-c524-0410-9efc-e669fe64eaf9
|
2009-12-25 08:47:06 +00:00 |
|
avolkov
|
98b3cc75c5
|
Gfxlib cleanup: move ani and font loading functions out of SDL domain; SDL-specific bits split off into TFB_Canvas functions
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3469 8092fc87-c524-0410-9efc-e669fe64eaf9
|
2009-12-25 04:18:45 +00:00 |
|
avolkov
|
09c52874a4
|
Fix DRAWABLE bug introduced during the move of request_drawable() in r3467
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3468 8092fc87-c524-0410-9efc-e669fe64eaf9
|
2009-12-25 02:09:07 +00:00 |
|
avolkov
|
70fbdccac8
|
Gfxlib cleanup: move some functions out of SDL domain; SDL-specific bits split off into TFB_Canvas domain
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3467 8092fc87-c524-0410-9efc-e669fe64eaf9
|
2009-12-24 22:54:54 +00:00 |
|
avolkov
|
a41e2837f8
|
Gfxlib cleanup: DISPLAY_INTERFACE removed
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3466 8092fc87-c524-0410-9efc-e669fe64eaf9
|
2009-12-24 21:35:45 +00:00 |
|
avolkov
|
ce1dd1aea7
|
Moved DCQ rendering code out of SDL domain along with a few other functions; screen transitions timing fix
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3465 8092fc87-c524-0410-9efc-e669fe64eaf9
|
2009-12-23 15:26:53 +00:00 |
|
avolkov
|
0ebc5dc6fb
|
Move TFB_BoundingBox out of SDL domain
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3464 8092fc87-c524-0410-9efc-e669fe64eaf9
|
2009-12-22 18:55:41 +00:00 |
|
avolkov
|
f84ec2d4c1
|
Pass graphics scaling mode properly through DCQ; fixes black pixel gaps between the planet and shield when entering orbit
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3463 8092fc87-c524-0410-9efc-e669fe64eaf9
|
2009-12-22 02:35:16 +00:00 |
|
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 |
|