Commit Graph

  • 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
  • 6d1d492fac Fix warning. Meep-Eep 2010-01-25 19:16:57 +00:00
  • 2141f0cb0d Removed obsolete functions/file. Meep-Eep 2010-01-25 18:58:13 +00:00
  • 9b8c84eb86 Add a few helper functions for later. Meep-Eep 2010-01-24 20:36:02 +00:00
  • e8bffb3d98 Removing unused function; fixes warning. Meep-Eep 2010-01-24 20:33:37 +00:00
  • 7941542c3d Fix warning. Meep-Eep 2010-01-24 20:31:52 +00:00
  • d141dccaac New .h files missing from the last commit. Meep-Eep 2010-01-23 23:44:22 +00:00
  • 398b33315f Fix warnings. Meep-Eep 2010-01-23 22:53:19 +00:00
  • 3fbcb78b99 Fix warnings. Meep-Eep 2010-01-23 22:17:08 +00:00
  • 5ef567877a Fix warnings. Meep-Eep 2010-01-23 22:14:33 +00:00
  • b6e0ed9cd3 Warnings fix. Meep-Eep 2010-01-23 22:06: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
  • b61a040e2f Fix warning (when compiling with strict warnings). Meep-Eep 2010-01-23 01:05:22 +00:00
  • 410d0c6454 Fix warning. Meep-Eep 2010-01-23 00:58:20 +00:00
  • 2670e80711 Simplify some silly expression. Meep-Eep 2010-01-23 00:55:25 +00:00
  • 40175c65c9 Cleanups and some refactoring of the SuperMelee code. Meep-Eep 2010-01-23 00:34:27 +00:00
  • f50c78ebda Fix warning. Meep-Eep 2010-01-23 00:15:44 +00:00
  • 0f04165b45 Comment on unnecessary restart menu fade avolkov 2010-01-16 22:04:03 +00:00
  • a5e0b24a06 Fixed concurrent fades regression; bug #1079 avolkov 2010-01-16 21:56:46 +00:00
  • 630748761f Make the comment grammatically correct. Meep-Eep 2010-01-01 21:49:56 +00:00
  • e205a0f0b7 Give rotating planet and lander views their own CONTEXT avolkov 2009-12-31 03:21:17 +00:00
  • 2edc0d1d55 Comment corrected avolkov 2009-12-31 03:09:40 +00:00
  • cf4f878448 Update. Meep-Eep 2009-12-30 01:13:52 +00:00
  • a1dc4777e1 Cleaned up some legacy source code files. Meep-Eep 2009-12-30 01:00:14 +00:00
  • 1c391e53dd More accurate comment. Meep-Eep 2009-12-29 20:20:27 +00:00
  • 5ec39b3f4d A bit of formatting. Meep-Eep 2009-12-29 20:20:04 +00:00
  • 3e079bc324 Fix possible sync loss bug. Meep-Eep 2009-12-29 20:18:34 +00:00
  • 3fd65530d7 typo Meep-Eep 2009-12-29 20:14:27 +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
  • 9c3a7e090c Ouch. Stupid bug. (Should be harmless though) Meep-Eep 2009-12-28 13:12:37 +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
  • ae5303ed3c Typo causing (harmless) warnings. Meep-Eep 2009-12-26 17:15:12 +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
  • a41e2837f8 Gfxlib cleanup: DISPLAY_INTERFACE removed avolkov 2009-12-24 21:35:45 +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
  • 3f203f6b72 Fix warning. Meep-Eep 2009-12-20 10:54:45 +00:00
  • 8f711e621e Fix a few warnings. Meep-Eep 2009-12-20 10:49:13 +00:00
  • c71eb8eded Fix signed/unsigned data reads in sound decoders avolkov 2009-12-20 04:20:43 +00:00
  • ee470ba555 Fix signed-unsigned comparison warning avolkov 2009-12-20 03:38:09 +00:00
  • 8096eeca2c Make the prevailing type of planet topo data signed; also gets rid of several warnings avolkov 2009-12-20 03:33:53 +00:00
  • f6959074cb Fix signed value read/writes in savegames and groups avolkov 2009-12-20 03:07:53 +00:00
  • 515f2a216c Make audio_Object properly unsigned; also dodges compiler warning avolkov 2009-12-20 02:18:01 +00:00
  • 044e59dd66 Make STRINGPTR a 'char *'; GetStringContents() removed; minor header path changes avolkov 2009-12-20 02:02:24 +00:00
  • 5b15514f18 Switch to 'char' type for core strings; this adds some new warnings which will be taken care of later avolkov 2009-12-19 23:39:40 +00:00
  • b9472023a6 Dodge MSVC 'used without having been initialized' warnings avolkov 2009-12-19 07:49:24 +00:00
  • 076b8ad3e2 One more warning that GCC produces (to match same in MSVC) avolkov 2009-12-19 04:58:10 +00:00
  • a3320a3544 Fix unreferenced parameter warning avolkov 2009-12-19 03:10:22 +00:00
  • 1a8a26faf4 Match warnings between GCC and MSVC reasonably closely avolkov 2009-12-19 03:06:37 +00:00
  • aaaa03ddfc Fix cmap.c compilation on Linux (missing include) avolkov 2009-12-19 02:18:43 +00:00
  • e2fa625bd4 Remove some unused vars to avoid warnings avolkov 2009-12-19 01:47:46 +00:00
  • 116245bbf6 Moved dcqueue.c out of SDL domain, it is not SDL-specific avolkov 2009-12-19 01:36:38 +00:00
  • d40be4b7ff Moved dcqueue.c out of SDL domain, it is not SDL-specific avolkov 2009-12-19 01:35:31 +00:00
  • e01ce2e6e4 Cleanup: long-time dead SetPalette DrawCommand removed avolkov 2009-12-18 23:57:59 +00:00
  • 569c08388d Cleanup: remove redundant casts (void* is directly convertible to struct*) avolkov 2009-12-18 23:38:54 +00:00
  • cb4a6d964c Cleanup: removed unused graphics/sdl/rndzoom.c avolkov 2009-12-18 23:20:29 +00:00
  • 08c678908c Cleanup: removed unused TFB_Image.Palette avolkov 2009-12-18 23:18:28 +00:00
  • e991a294a9 Oops, MSVC .dsp project file did not make it in r3433, and now fixed avolkov 2009-12-18 22:57:49 +00:00
  • 4fbce8572c Cleanup of DrawPlanet() scan tint processing avolkov 2009-12-17 04:54:36 +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
  • af41fd64bf Roster menu cleanup: removed MENU_STATE hacks avolkov 2009-12-13 11:42:40 +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
  • cb8909a981 typo Meep-Eep 2009-12-12 15:47:45 +00:00