mcmartin
81855180d0
Added support for "clear selected ship" in Super-Melee
...
Delete or Keypad-. are the default keys for this.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1025 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-07-06 00:09:06 +00:00
mcmartin
dfe0f8a599
Added several keys to the new input system
...
This allows the player to use "down" keys for selecting ships in melee,
even though there is no "down" in battle. Infrastructure for several
later enhancements is also in this patch.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1024 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-07-05 23:15:18 +00:00
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
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
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
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
gewlitys
3e90be56fc
endtakes now work properly if used with --nosubtitles
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@973 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-05-30 14:37:40 +00:00
mcmartin
2a7ee945aa
Renamed endian.h to endian_uqm.h to resolve name conflicts involving
...
some ctype.h implementations
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@972 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-05-22 15:36:17 +00:00
mcmartin
58679ba93c
Renamed endian.h to avoid a secret name conflict with some ctype.h
...
implementations
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@971 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-05-22 15:35:22 +00:00
mcmartin
faa0695384
Summary text doesn't set the CharCount to be "as long as necessary"
...
producing fragile code that doesn't work when it's changed around.
(This surfaced while I was reworking the input libraries.)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@970 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-05-22 10:42:12 +00:00
gewlitys
e5191f22be
Added PC version outtakes (part of bug #46 ), from chmmravatar
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@967 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-05-21 01:49:33 +00:00