2582 Commits

Author SHA1 Message Date
avolkov 812d98449d Audio drivers have no business setting channel volumes from user settings
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3636 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-07-08 22:23:28 +00:00
avolkov 9acf723bd9 Whitespace fix
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3635 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-07-08 20:49:41 +00:00
avolkov e175e54577 Version 0.7.0
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3628 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-07-04 16:44:22 +00:00
avolkov 96aebd36ba *nix wants abs() in stdlib.h
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3623 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-06-01 18:55:48 +00:00
avolkov 13978584ed v0.7.0 Release Candidate 2
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3617 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-05-18 22:01:31 +00:00
avolkov 36fb4559e5 Fix alien comm flickers when using number speech and other spliced pieces
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3615 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-05-17 18:58:06 +00:00
avolkov 6f75c5c1f1 Update a Melnorme number speech call missed in r3610
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3614 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-05-17 18:45:21 +00:00
avolkov 52bf49abe3 Added spoken Slylandro probe coordinates; bug #732
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3610 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-05-15 20:45:07 +00:00
avolkov b995951b3f Syreen comm: disable both player phrases which produce identical responses when uttering one of them
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3606 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-05-13 16:50:50 +00:00
avolkov 9febcd9f18 Fix the reachable Hyperspace coordinates regression introduced by rounding error correction in r3162; also remove the ?: operator from the affected constants to keep it clean, since we will never invert the axes
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3601 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-05-08 19:52:58 +00:00
avolkov 227ab8ec10 Do not reset Syreen HELLO stack when discovering the vault; fixes bug #891
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3600 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-05-08 00:49:48 +00:00
avolkov 92b94a6104 Added an alternate Umgah Caster lander report for when Spathi do not slave-shield selves; bug #1122
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3598 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-05-07 17:40:45 +00:00
avolkov ede7d2a545 Prevent unnecessary 'Trying to get null resource' console warnings while loading ship data; bug #1123
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3595 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-04-27 08:44:39 +00:00
avolkov de631ed548 Unused function Logo() removed. We've never had a pre-splash logo and probably never will
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3594 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-04-27 08:12:49 +00:00
avolkov 3084dfc463 Disable the Talking Pet exchanges regarding the Taalo shield which make no sense when the player has none; bug #822
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3593 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-04-27 08:01:47 +00:00
avolkov e4700f7ca8 Added text stub for the missing discovery report of Ultron in Supox ruins
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3592 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-04-26 06:06:25 +00:00
avolkov 10c49ffdcb Obsolete resource package include removed
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3590 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-04-26 04:26:05 +00:00
avolkov cd536a8467 Scratch off todos completed in previous revision
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3588 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-04-26 02:24:55 +00:00
avolkov 7d4dfaf48c Generation code refactoring: split off pickupXxx() from generateXxx(), make generateXxx() return the count and take non-pointer
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3587 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-04-26 02:21:34 +00:00
avolkov 3178ac72a2 Cannot communicate with Ilwrath via caster when they are dead (bug #850); some pOrbitalDesc usage cleanup
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3586 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-04-24 19:47:22 +00:00
Meep-Eep 18692267fb Potential crasher fix. (Never triggered in UQM atm)
Also a small optimisation.



git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3585 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-04-24 14:01:34 +00:00
avolkov fe993fd752 Energy and some bio generation code refactoring: generation funcs perform all action neccessary upon energy node pickup, Fwiffo hacks removed, duplicated code made into funcs; fixes bugs 1118/1028
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3583 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-04-23 20:59:25 +00:00
avolkov c74faa3b1c Uniform energy and life generation conditions and algorithms
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3582 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-04-22 18:25:51 +00:00
avolkov 717a49ff6c Use isNodeRetrieved(), setNodeRetrieved(), and setNodeNotRetrieved()
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3581 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-04-21 21:27:18 +00:00
avolkov 9cdd69fe46 Get rid of dual identical counters in generation code and reformat the loops
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3580 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-04-21 14:33:32 +00:00
avolkov 396f280130 Removed a moot test for node retrieval status from generation funcs (never called this way for retrieved nodes); some readability { }
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3579 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-04-21 00:18:18 +00:00
avolkov 55b6245500 Added the rest of lander upgrades to debug code
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3578 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-04-21 00:05:24 +00:00
avolkov 258b34d274 Removed SOLARSYS_STATE.CurNode; uniform usage of callGenerateForScanType()
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3577 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-04-20 18:54:27 +00:00
avolkov 25f0f3c903 Removed obsolete call to generation funcs from ScanPlanet()
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3576 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-04-20 18:23:17 +00:00
avolkov 7820f52fd1 v0.7.0 Release Candidate 1
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3574 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-02-28 20:08:09 +00:00
avolkov b2e16129e9 Update (C) years (has it really been 4 years since last release?!)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3573 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-02-28 20:04:09 +00:00
avolkov a12d306b8b Basic content sanity checks and exit w/o crashing on check failure
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3572 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-02-28 20:02:38 +00:00
avolkov 431acfc39d Build fleet queues and name captains in the same exact order on both net sides; fixes bugs 1081 and 989
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3570 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-02-21 14:41:18 +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 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
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
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