3883 Commits

Author SHA1 Message Date
mcmartin d34c7118f2 Add Escape as another alternative for menu.cancel
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3565 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-02-16 07:02:49 +00:00
Meep-Eep 59449bc7b8 Forgot to commit this one.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3564 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-02-15 20:30:05 +00:00
avolkov 8da280022a Re-add config.h to dsp
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3563 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-02-15 18:06:42 +00:00
avolkov a7e52dfccd Correct the include guard in config_vc6.h to reflect its actual name
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3562 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-02-15 17:56:10 +00:00
avolkov 5c3c641e1a Fix broken link to config.h and change to actual config_vc6.h while at it
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3561 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-02-15 17:49:41 +00:00
avolkov 1f3c4c0a55 Give fades an own mutex instead of sharing one with colormap xforms; decreases console spam during Slylandro comm
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3560 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-02-15 14:15:07 +00:00
avolkov 0870178bb7 Fix melee.cfg loading: correct check for file size, calc fleet value after loading; bug #1099
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3559 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-02-15 13:05:00 +00:00
avolkov 6ff079b8e8 Change ReadResFile/WriteResFile interface to take size_t args; removes 64KB size limitation on key-value files; bug #1112
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3558 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-02-15 12:04:28 +00:00
mcmartin 19e4587288 Fix Win32 installer for UAC integration on Vista/7 and for the new download paths.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3557 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-02-14 08:00:27 +00:00
Meep-Eep 38e317e75d Generalise recursing through the source tree.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3556 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-02-13 18:05:57 +00:00
Meep-Eep 1532693fd0 Remove some leftover from some test.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3555 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-02-13 11:56:55 +00:00
Meep-Eep 236bacbe2d Correct comment.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3554 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-02-13 11:55:43 +00:00
mcmartin 14d8bdad31 Update content version to 0.7. Update install scripts to match.
Strip PPC support from Mac build, since this is no longer a configuration we can test.

Fix some bugs in the build uqm install sequence on Mac.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3553 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-02-13 04:37:18 +00:00
Meep-Eep fc88f86cba Fixed compilation with Netplay disabled (bug #1091), from Sze Howe Koh.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3552 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-02-12 21:29:10 +00:00
avolkov 3fe05b2562 Fixed ship picking order after a simultaneous destruction: a dead winner (e.g. Shofixti) is kept alive longer than its dead opponent; in a tie, readyForBattleEnd() is called once per frame for the first ship found dead (currentDeadSide guard removed); fixes bugs #1087, #1088
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3551 8092fc87-c524-0410-9efc-e669fe64eaf9
2010-07-11 00:22:27 +00:00
avolkov 822a8b2ea2 Split new_ship() into three functions for better readability
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3549 8092fc87-c524-0410-9efc-e669fe64eaf9
2010-07-02 16:43:11 +00:00
avolkov eaaaa90178 Removed turn_wait hack that is now unnecessary (will cause desync with prior revisions)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3548 8092fc87-c524-0410-9efc-e669fe64eaf9
2010-07-01 19:11:21 +00:00
avolkov 81d98c6b2e Fix a crash when saving a game from Hyperspace encounter screen
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3547 8092fc87-c524-0410-9efc-e669fe64eaf9
2010-06-02 21:11:00 +00:00
avolkov a9d2bb1613 Use ditty-specific functions for playing and testing for (PLRPlaying() is not enough); fixes bug #1003
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3546 8092fc87-c524-0410-9efc-e669fe64eaf9
2010-06-02 20:59:33 +00:00
avolkov 0ef4f37660 Reset input delay upon leaving Supermelee; bug #1022
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3545 8092fc87-c524-0410-9efc-e669fe64eaf9
2010-06-02 18:26:41 +00:00
avolkov 454aa02f78 Fixed small memory leak in BattleInputBuffers
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3544 8092fc87-c524-0410-9efc-e669fe64eaf9
2010-06-02 18:21:21 +00:00
avolkov 1402590807 Account for ship death in Supermelee early to keep the scores correct after a simultaneous destruction of last ships in each fleet; some ship selection refactoring; bug #437
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3543 8092fc87-c524-0410-9efc-e669fe64eaf9
2010-06-01 18:44:44 +00:00
avolkov 9de766e368 Shofixti glory device processing comments
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3542 8092fc87-c524-0410-9efc-e669fe64eaf9
2010-05-23 19:22:52 +00:00
Meep-Eep d6354ba4f6 Fix uninitialised variable.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3541 8092fc87-c524-0410-9efc-e669fe64eaf9
2010-05-23 14:04:22 +00:00
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
mcmartin 0cf53407d4 Fixes to the build system for Snow Leopard, and for 0.7 content packaging.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3532 8092fc87-c524-0410-9efc-e669fe64eaf9
2010-03-15 04:39:40 +00:00
Meep-Eep ce534168c0 Updated
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3531 8092fc87-c524-0410-9efc-e669fe64eaf9
2010-02-13 22:17:14 +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
avolkov 1df8a12111 MSVC project file fix for r3502
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3528 8092fc87-c524-0410-9efc-e669fe64eaf9
2010-01-26 21:30:13 +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 ac0f4b0eef Getting rid of GFXMODULE_SDL and SNDMODULE_SDL defines, as we don't need
them any more.



git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3524 8092fc87-c524-0410-9efc-e669fe64eaf9
2010-01-25 21:43:40 +00:00
Meep-Eep b66ec8066b Forgot to commit this one.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3523 8092fc87-c524-0410-9efc-e669fe64eaf9
2010-01-25 21:41:09 +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