3883 Commits

Author SHA1 Message Date
Meep-Eep 5ef567877a Fix warnings.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3512 8092fc87-c524-0410-9efc-e669fe64eaf9
2010-01-23 22:14:33 +00:00
Meep-Eep b6e0ed9cd3 Warnings fix.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3511 8092fc87-c524-0410-9efc-e669fe64eaf9
2010-01-23 22:06:59 +00:00
Meep-Eep 1d5caebb1c Remove two more obsolete files.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3510 8092fc87-c524-0410-9efc-e669fe64eaf9
2010-01-23 20:36:00 +00:00
Meep-Eep 9ba95e68e0 Move netplay/ to supermelee/.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3509 8092fc87-c524-0410-9efc-e669fe64eaf9
2010-01-23 20:30:31 +00:00
Meep-Eep 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.



git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3508 8092fc87-c524-0410-9efc-e669fe64eaf9
2010-01-23 20:13:26 +00:00
Meep-Eep 0b847e188e Some cleanups.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3507 8092fc87-c524-0410-9efc-e669fe64eaf9
2010-01-23 01:33:10 +00:00
Meep-Eep 080aa7a838 Fix used uninitialised variable.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3506 8092fc87-c524-0410-9efc-e669fe64eaf9
2010-01-23 01:11:35 +00:00
Meep-Eep b61a040e2f Fix warning (when compiling with strict warnings).
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3505 8092fc87-c524-0410-9efc-e669fe64eaf9
2010-01-23 01:05:22 +00:00
Meep-Eep 410d0c6454 Fix warning.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3504 8092fc87-c524-0410-9efc-e669fe64eaf9
2010-01-23 00:58:20 +00:00
Meep-Eep 2670e80711 Simplify some silly expression.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3503 8092fc87-c524-0410-9efc-e669fe64eaf9
2010-01-23 00:55:25 +00:00
Meep-Eep 40175c65c9 Cleanups and some refactoring of the SuperMelee code.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3502 8092fc87-c524-0410-9efc-e669fe64eaf9
2010-01-23 00:34:27 +00:00
Meep-Eep f50c78ebda Fix warning.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3501 8092fc87-c524-0410-9efc-e669fe64eaf9
2010-01-23 00:15:44 +00:00
avolkov 0f04165b45 Comment on unnecessary restart menu fade
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3500 8092fc87-c524-0410-9efc-e669fe64eaf9
2010-01-16 22:04:03 +00:00
avolkov a5e0b24a06 Fixed concurrent fades regression; bug #1079
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3499 8092fc87-c524-0410-9efc-e669fe64eaf9
2010-01-16 21:56:46 +00:00
Meep-Eep 630748761f Make the comment grammatically correct.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3498 8092fc87-c524-0410-9efc-e669fe64eaf9
2010-01-01 21:49:56 +00:00
avolkov e205a0f0b7 Give rotating planet and lander views their own CONTEXT
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3497 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-31 03:21:17 +00:00
avolkov 2edc0d1d55 Comment corrected
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3496 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-31 03:09:40 +00:00
Meep-Eep cf4f878448 Update.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3495 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-30 01:13:52 +00:00
Meep-Eep a1dc4777e1 Cleaned up some legacy source code files.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3494 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-30 01:00:14 +00:00
Meep-Eep 1c391e53dd More accurate comment.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3493 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-29 20:20:27 +00:00
Meep-Eep 5ec39b3f4d A bit of formatting.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3492 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-29 20:20:04 +00:00
Meep-Eep 3e079bc324 Fix possible sync loss bug.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3491 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-29 20:18:34 +00:00
Meep-Eep 3fd65530d7 typo
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3490 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-29 20:14:27 +00:00
avolkov 7a4d7a209e Use CopyContextRect() where appropriate
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3489 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-29 15:42:36 +00:00
avolkov 05bb27d9ae Add CopyContextRect() gfxlib call, which should eventually replace direct LoadDisplayPixmap() calls; this also scratches off a FlashContext to-do
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3488 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-29 15:27:22 +00:00
avolkov 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
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3487 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-29 14:36:30 +00:00
avolkov 4b0f227bd0 Migrate FlashContext to the new drawing modes; also remove FlashContext.parent; drawing to off-screen CONTEXTs is incomplete
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3486 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-28 17:26:54 +00:00
avolkov 218e623b39 Update MSVC project for moved melee files in r3484
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3485 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-28 16:49:09 +00:00
Meep-Eep d3070d9fa7 Put SuperMelee source files in separate subdirectory.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3484 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-28 16:24:23 +00:00
Meep-Eep 0535bb5c11 Define NDEBUG in release build.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3483 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-28 13:33:10 +00:00
Meep-Eep 9c3a7e090c Ouch. Stupid bug. (Should be harmless though)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3482 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-28 13:12:37 +00:00
avolkov aa3932bd5f Get rid of signed/unsigned comparison warning in assert
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3481 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-28 12:53:13 +00:00
avolkov 80f101bc9e Migrate context debugging graphics to new drawing modes
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3480 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-27 10:32:16 +00:00
avolkov 8d6dcb5568 Fix a crash when asking for a cliprect for a CONTEXT having no foreground FRAME; broken by CONTEXT cliprect semantics change
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3479 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-27 09:11:29 +00:00
avolkov edcccdb75f Migrate flash-rect task to new drawing modes
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3478 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-27 08:59:47 +00:00
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