c0db95bcc9
More welfare for MSVC 6. Someone should put it out of its misery.
Meep-Eep
2010-01-25 22:10:17 +00:00
f19de46363
Fixing the problems caused by the previous commits. Note to self: don't commit in a hurry nor while half-asleep.
Meep-Eep
2010-01-25 22:06:07 +00:00
6cbf7996bc
It turns out that I don't need these functions. The way Confirm negotiation and the Update protocol interact, we can guarantee that the local state and the confirmed state of the teams are the same when Confirm negotiation is complete, without added checks! Quite beautiful, actually.
Meep-Eep
2010-01-25 21:49:52 +00:00
ac0f4b0eef
Getting rid of GFXMODULE_SDL and SNDMODULE_SDL defines, as we don't need them any more.
Meep-Eep
2010-01-25 21:43:40 +00:00
b66ec8066b
Forgot to commit this one.
Meep-Eep
2010-01-25 21:41:09 +00:00
fd4cf9d343
More portable syntax for referring to functions. Silences MSVC.
Meep-Eep
2010-01-25 21:27:24 +00:00
df4204b16b
If SDL is not used, just don't compile those files, instead of compiling (after preprocessing) empty files.
Meep-Eep
2010-01-25 21:20:59 +00:00
1d5caebb1c
Remove two more obsolete files.
Meep-Eep
2010-01-23 20:36:00 +00:00
9ba95e68e0
Move netplay/ to supermelee/.
Meep-Eep
2010-01-23 20:30:31 +00:00
12d6b02bd4
Remove -Winline from builds with strict warnings; we can't do anything about the "inlining failed in call to <...>: call is unlikely and code size would grow" warnings, and they're abscuring legitimate problems.
Meep-Eep
2010-01-23 20:13:26 +00:00
0b847e188e
Some cleanups.
Meep-Eep
2010-01-23 01:33:10 +00:00
080aa7a838
Fix used uninitialised variable.
Meep-Eep
2010-01-23 01:11:35 +00:00
7a4d7a209e
Use CopyContextRect() where appropriate
avolkov
2009-12-29 15:42:36 +00:00
05bb27d9ae
Add CopyContextRect() gfxlib call, which should eventually replace direct LoadDisplayPixmap() calls; this also scratches off a FlashContext to-do
avolkov
2009-12-29 15:27:22 +00:00
7b02d76ad8
Add CopyFrameRect() gfxlib call; passing a NULL FRAME is valid; repair a few TFB_Image locking violations; assert on working with off-screen FRAMEs
avolkov
2009-12-29 14:36:30 +00:00
4b0f227bd0
Migrate FlashContext to the new drawing modes; also remove FlashContext.parent; drawing to off-screen CONTEXTs is incomplete
avolkov
2009-12-28 17:26:54 +00:00
218e623b39
Update MSVC project for moved melee files in r3484
avolkov
2009-12-28 16:49:09 +00:00
d3070d9fa7
Put SuperMelee source files in separate subdirectory.
Meep-Eep
2009-12-28 16:24:23 +00:00
0535bb5c11
Define NDEBUG in release build.
Meep-Eep
2009-12-28 13:33:10 +00:00
aa3932bd5f
Get rid of signed/unsigned comparison warning in assert
avolkov
2009-12-28 12:53:13 +00:00
80f101bc9e
Migrate context debugging graphics to new drawing modes
avolkov
2009-12-27 10:32:16 +00:00
8d6dcb5568
Fix a crash when asking for a cliprect for a CONTEXT having no foreground FRAME; broken by CONTEXT cliprect semantics change
avolkov
2009-12-27 09:11:29 +00:00
edcccdb75f
Migrate flash-rect task to new drawing modes
avolkov
2009-12-27 08:59:47 +00:00
8df76e7440
Migrate planet scan tint to new drawing modes
avolkov
2009-12-27 07:23:28 +00:00
24513c7b07
Migrate planet map shield tint to new drawing modes
avolkov
2009-12-27 06:50:52 +00:00
ec5a400052
Added additive and alpha drawing mode to gfxlib proper (TFB_Draw/TFB_Canvas/Color); this is to replace arith_frame_blit()/TFB_BlitSurface()
avolkov
2009-12-27 04:42:50 +00:00
6d1ee6724f
UniChar is 32 bits now.
Meep-Eep
2009-12-25 20:52:29 +00:00
b610c97a33
Bugfix for #1077 (compilation with netplay disabled)
avolkov
2009-12-25 20:48:53 +00:00
3b48ebaeee
Gfxlib cleanup: fold getpixelarray() and process_rgb_bmp() into TFB_Canvas + Color paradigm
avolkov
2009-12-25 11:52:50 +00:00
23c2ca27e7
Gfxlib cleanup: move stretch_frame() out of SDL domain and rename to RescaleFrame()
avolkov
2009-12-25 08:47:06 +00:00
98b3cc75c5
Gfxlib cleanup: move ani and font loading functions out of SDL domain; SDL-specific bits split off into TFB_Canvas functions
avolkov
2009-12-25 04:18:45 +00:00
09c52874a4
Fix DRAWABLE bug introduced during the move of request_drawable() in r3467
avolkov
2009-12-25 02:09:07 +00:00
70fbdccac8
Gfxlib cleanup: move some functions out of SDL domain; SDL-specific bits split off into TFB_Canvas domain
avolkov
2009-12-24 22:54:54 +00:00
ce1dd1aea7
Moved DCQ rendering code out of SDL domain along with a few other functions; screen transitions timing fix
avolkov
2009-12-23 15:26:53 +00:00
0ebc5dc6fb
Move TFB_BoundingBox out of SDL domain
avolkov
2009-12-22 18:55:41 +00:00
f84ec2d4c1
Pass graphics scaling mode properly through DCQ; fixes black pixel gaps between the planet and shield when entering orbit
avolkov
2009-12-22 02:35:16 +00:00
b926c2f8d6
Fix 'LOADING...' message broken by a previous cleanup
avolkov
2009-12-21 23:30:21 +00:00
390ab06714
Sort out game kernel cleanup sequences; also dodge a warning
avolkov
2009-12-21 03:55:46 +00:00
dafd5e415d
Get rid of MSVC 'unnamed type definition in parentheses' warning in md5
avolkov
2009-12-20 20:58:55 +00:00
f46c5c7ada
Oscilloscope and slider cleanup: determine the dimensions dynamically instead of relying on constants
avolkov
2009-12-17 03:10:18 +00:00
877e9ced23
Draw the oscilloscope using gfxlib calls; dodges the ignored colormap bug
avolkov
2009-12-17 02:47:40 +00:00
5894857f5b
Fix unused parameter warning; also minimize GLOBAL_SIS() accesses while drawing savegame summary
avolkov
2009-12-17 01:42:05 +00:00
40d81864d4
Split off SDL-specific colormap bits into SDL domain; fixed minor SDL_Palette access bug; some colormap processing cleanups
avolkov
2009-12-17 01:24:02 +00:00
bcb20a36c0
Cleanup: dead colormap flags removed
avolkov
2009-12-16 05:23:28 +00:00
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
avolkov
2009-12-15 22:39:26 +00:00
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
avolkov
2009-12-12 21:56:29 +00:00