2582 Commits

Author SHA1 Message Date
avolkov 581d7309b6 Do not match singular stars when given a prefix in star search; bug #1071
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3540 8092fc87-c524-0410-9efc-e669fe64eaf9
2010-05-22 19:45:39 +00:00
avolkov fb828d599c Preserve character case when editing with joystick; bug #0180
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3539 8092fc87-c524-0410-9efc-e669fe64eaf9
2010-05-22 19:14:57 +00:00
avolkov e354e5e481 Fixed uninited TEXT field in cargo display; bug #1092
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3538 8092fc87-c524-0410-9efc-e669fe64eaf9
2010-05-22 18:27:21 +00:00
Meep-Eep e4886e60ee Replaced the 'Turn' protocol by the Update' protocol.
Bumped the UQM and netplay protocol versions.
Some cleanups.



git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3537 8092fc87-c524-0410-9efc-e669fe64eaf9
2010-04-24 20:59:07 +00:00
avolkov 82b4fc7ac0 Let OpenAL pick the device on Windows (with new OpenAL version)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3535 8092fc87-c524-0410-9efc-e669fe64eaf9
2010-03-21 01:47:56 +00:00
avolkov a9ec22e2be Removed old dead test code
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3534 8092fc87-c524-0410-9efc-e669fe64eaf9
2010-03-20 23:27:57 +00:00
Meep-Eep 3a10fe65db Fix bounds checking errors relating to the fuel reserve aboard the flagship.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3530 8092fc87-c524-0410-9efc-e669fe64eaf9
2010-02-13 22:15:38 +00:00
avolkov 51c4e84b20 Properly signed math in SDL fillrect clipping; fixes a crash when filling fuel tanks over 10; bug #1082
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3529 8092fc87-c524-0410-9efc-e669fe64eaf9
2010-02-12 00:20:25 +00:00
Meep-Eep c0db95bcc9 More welfare for MSVC 6. Someone should put it out of its misery.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3527 8092fc87-c524-0410-9efc-e669fe64eaf9
2010-01-25 22:10:17 +00:00
Meep-Eep f19de46363 Fixing the problems caused by the previous commits.
Note to self: don't commit in a hurry nor while half-asleep.




git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3526 8092fc87-c524-0410-9efc-e669fe64eaf9
2010-01-25 22:06:07 +00:00
Meep-Eep 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.



git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3525 8092fc87-c524-0410-9efc-e669fe64eaf9
2010-01-25 21:49:52 +00:00
Meep-Eep fd4cf9d343 More portable syntax for referring to functions. Silences MSVC.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3522 8092fc87-c524-0410-9efc-e669fe64eaf9
2010-01-25 21:27:24 +00:00
Meep-Eep df4204b16b If SDL is not used, just don't compile those files, instead of
compiling (after preprocessing) empty files.



git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3521 8092fc87-c524-0410-9efc-e669fe64eaf9
2010-01-25 21:20:59 +00:00
Meep-Eep 6d1d492fac Fix warning.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3520 8092fc87-c524-0410-9efc-e669fe64eaf9
2010-01-25 19:16:57 +00:00
Meep-Eep 2141f0cb0d Removed obsolete functions/file.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3519 8092fc87-c524-0410-9efc-e669fe64eaf9
2010-01-25 18:58:13 +00:00
Meep-Eep 9b8c84eb86 Add a few helper functions for later.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3518 8092fc87-c524-0410-9efc-e669fe64eaf9
2010-01-24 20:36:02 +00:00
Meep-Eep e8bffb3d98 Removing unused function; fixes warning.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3517 8092fc87-c524-0410-9efc-e669fe64eaf9
2010-01-24 20:33:37 +00:00
Meep-Eep 7941542c3d Fix warning.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3516 8092fc87-c524-0410-9efc-e669fe64eaf9
2010-01-24 20:31:52 +00:00
Meep-Eep d141dccaac New .h files missing from the last commit.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3515 8092fc87-c524-0410-9efc-e669fe64eaf9
2010-01-23 23:44:22 +00:00
Meep-Eep 398b33315f Fix warnings.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3514 8092fc87-c524-0410-9efc-e669fe64eaf9
2010-01-23 22:53:19 +00:00
Meep-Eep 3fbcb78b99 Fix warnings.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3513 8092fc87-c524-0410-9efc-e669fe64eaf9
2010-01-23 22:17:08 +00:00
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 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 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
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 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