4014 Commits

Author SHA1 Message Date
gewlitys f5578c4de4 Fix warnings about unused variables
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1023 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-07-05 22:58:35 +00:00
mcmartin 7ca04c4784 Fixed a double-sound error in when selecting "Starbase Commander"
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1022 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-07-05 22:45:01 +00:00
gewlitys 791d9ced6c Added support for positional (stereo) sound effects, currently works only with OpenAL
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1021 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-07-05 22:33:48 +00:00
mcmartin 3e5d59a614 Shortened some too-long words
The text renderer doesn't like it if a word is too long to display on one
line of the conversation.  So "AIEEEEEEEEE!!!!!........." has been
shortened, and it's been encouraged to split "SUB-COMMANDER!" after the
hyphen.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1020 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-07-05 21:14:30 +00:00
mcmartin dc1001dccf Forces crossfade (instead of requesting it); seems to handle homeworlds
better


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1019 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-07-05 21:05:09 +00:00
mcmartin 50b558bcc8 Homeworld conversations now request a crossfade (Bug #348)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1018 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-07-05 09:50:35 +00:00
gewlitys d5ba66cad5 Fixed Fwiffo join_us_refusals initialization (bug #405)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1017 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-07-04 23:44:51 +00:00
gewlitys b8577cba42 Fix Druuge transactions to not elevate crew costs baselessly (bug #235),
from ghakko


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1016 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-07-04 15:46:32 +00:00
gewlitys a7ec62b023 Aliens no longer talk while deciding whether or not to quit (fixes #403)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1015 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-07-04 09:37:12 +00:00
mcmartin ebd940d2c7 Checks abort in SpewPhrases; resolves #402
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1014 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-07-04 08:43:27 +00:00
mcmartin a8f20ffa21 Resets GameExiting at main menu (solves #395)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1013 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-07-04 08:26:43 +00:00
mcmartin 4b6574d7c7 Pressing F10 at main menu only tries to exit as long as you hold the
key down now (addresses #396)


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1012 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-07-04 08:24:06 +00:00
gewlitys a5e67bc686 Fixed rest of bug #26 (old menu icon glitch)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1011 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-07-03 02:57:45 +00:00
gewlitys e787c7a9a3 Fixed small graphics glitch and NULL Stamp draw attempt in menu code
(part of bug #26, problem was slayne's old glitch fix which isn't needed
anymore)


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1010 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-07-03 01:26:42 +00:00
gewlitys cc2345a29d Better fix for #309, now handles the case of missing only some voice
oggs but not all


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1009 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-07-02 21:48:02 +00:00
gewlitys 878e7691ce Absence of voice files is now automatically detected (bug #309)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1008 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-07-02 20:23:07 +00:00
gewlitys 36bbaa1465 Fixed Commander Hayes mouth movement before radioactives are given (bug
#343)


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1007 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-07-02 17:56:29 +00:00
gewlitys 802de4aef7 Fix glitches in slylandro probe animation (bugs #398, #399), from Paxtez
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1006 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-07-01 21:33:49 +00:00
gewlitys 26c1e7d198 Added code for debugging clipping (guarded with #ifdef CLIPDEBUG)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1005 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-07-01 21:11:37 +00:00
gewlitys 53631819f4 Quit confirmation dialog no longer drains all cpu; fixes #394
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1004 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-06-30 15:58:06 +00:00
mcmartin c7d27b11d8 New quit confirmation dialog
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1003 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-06-30 06:23:16 +00:00
mcmartin 29c68384fd Fixed sticky pause and exit keys in main menu - resolves #385
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1002 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-06-29 20:52:27 +00:00
mcmartin 862a0001fc Fixed a buffer overflow in the name entry; fixes #377
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1001 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-06-29 20:36:58 +00:00
mcmartin aaa705bc60 Fix for #379
This might generalize to other cases where WaitForNoInput is called, I'm
not sure.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1000 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-06-29 20:10:53 +00:00
meep-eep 1433d66456 Some little changes I still had lying around.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@999 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-06-28 16:51:51 +00:00
mcmartin 2e5645f7ad Starbase commander will always tell you about needing radioactives
fixes #366, from Nic


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@998 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-06-27 13:28:37 +00:00
mcmartin 5a130e97b7 Gestalt acceleration is now continuous (matches PC input in starmap)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@997 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-06-27 07:34:59 +00:00
mcmartin 91918bf120 More false key cancels removed
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@996 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-06-27 06:47:58 +00:00
gewlitys 4f2b546bfb Fixed signed/unsigned warning
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@995 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-06-23 00:53:24 +00:00
gewlitys d97f6edf41 Version number is now 0.23
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@994 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-06-22 22:28:57 +00:00
gewlitys 2a01521e80 Better fix for volatile warning
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@993 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-06-22 22:19:30 +00:00
gewlitys b95c4cf857 Removed about 50 warnings in VC7
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@992 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-06-22 21:54:06 +00:00
gewlitys 366f3eab36 Fixed MSVC warning C4197 (top-level volatile in cast is ignored)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@991 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-06-22 20:21:56 +00:00
gewlitys f53a47497d Fixed warning in VC7
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@990 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-06-22 18:53:53 +00:00
mcmartin dc85bbc081 Cleaned up almost every warning left according to GCC.
The only remaining warnings are signed/unsigned compares, warnings inside
the doomed w_memlib.c, and a couple of mysterious (and probably meaningful)
bugs regarding a pair of LockElement macros.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@989 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-06-22 01:47:06 +00:00
mcmartin 9142a7119b Final "missing initializer" slipped past gcc
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@988 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-06-22 01:01:37 +00:00
mcmartin 6a4491c760 Removed a bunch of warnings.
If I misplaced any of the BlockMask initializers, this will make some of
the animations either freeze or go wild; report them as such on BugZilla.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@987 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-06-22 00:56:01 +00:00
mcmartin 2e1f53e7d7 Removed some cruft
This was left over from a previous attempt at fixing 381.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@986 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-06-19 07:06:27 +00:00
mcmartin 21b7107f1a Added "gestalt mode" for key-acceleration; fixes #381
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@985 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-06-19 06:59:50 +00:00
mcmartin 921f9f637e Fixed some cases where keys react too quickly across contexts
(introduced by previous fix).


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@984 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-06-19 05:58:59 +00:00
mcmartin b8d5ce1988 DoInput now selectively clears the input state.
Addresses bugs #378 and #379.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@983 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-06-19 05:28:45 +00:00
meep-eep c894d8cc76 The last fixed argument to varargs function and the variable arguments are not
allowed to have widable types according to the C standard. It worked
nevertheless on most platforms, but QNX choked on it.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@982 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-06-18 23:32:44 +00:00
gewlitys 79d461a0db Variable ch is now initialized, fixing runtime error with VC7
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@981 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-06-16 15:24:35 +00:00
mcmartin 6c8922b4df Fully softcoded the key defaults.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@980 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-06-16 02:53:58 +00:00
mcmartin 1fd2db3614 Fixed the default keys to match the old default keys.
Also provided some interim pointers in the manual for how to edit the
configuration to taste.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@979 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-06-16 02:09:31 +00:00
mcmartin 8a6ad0ddba Completely reworked the input system.
The 3DO-controller model has been replaced with a general "game-control"
listener that checks for values like menu-left or p1-thrust.  Key
configuration is completely different now; see starcon.key for ways to
control it, or delete your old keys.cfg and let it automatically
generate a default.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@978 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-06-16 01:26:10 +00:00
meep-eep 0f5ff09da6 Added some lines for QNX.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@977 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-06-13 12:20:05 +00:00
meep-eep 530aa3d000 Change for more portability.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@976 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-06-12 12:10:32 +00:00
meep-eep 0e0435be76 Little correction.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@975 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-06-12 11:37:23 +00:00
gewlitys 1b6ae67e38 Fix some trivial errors (bug #369), from paxtez
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@974 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-05-30 22:38:00 +00:00