mcmartin
9a526084ec
Fixed errors and warnings when compiling without HAVE_JOYSTICK
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2956 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-04-05 07:59:26 +00:00
Meep-Eep
dddfcdfd9f
Fix compilation with netplay disabled.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2955 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-03-20 19:27:38 +00:00
Meep-Eep
fb780f8b1c
Fix informational message.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2954 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-03-15 22:32:39 +00:00
Meep-Eep
3689bdaaf7
Use the same definition of 'bool' as in uio.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2953 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-03-14 20:31:17 +00:00
Meep-Eep
76ba833da4
Added endian-aware integer read functions to uio
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2952 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-03-12 22:38:13 +00:00
Meep-Eep
2d15dc4501
Fix cyborg control in the full game.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2951 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-03-11 00:21:44 +00:00
Meep-Eep
bb6b4df88e
File creation.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2950 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-03-10 22:40:29 +00:00
Meep-Eep
f9b0a5c680
Introduce the concept of an "InputContext".
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2949 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-03-08 23:00:57 +00:00
Meep-Eep
244eec1c77
Typo.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2948 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-03-08 21:12:16 +00:00
Meep-Eep
93731f2dd7
Correction.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2947 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-03-02 23:14:41 +00:00
Meep-Eep
d3ca93c5f9
Banished alloca().
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2946 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-03-02 20:52:36 +00:00
Meep-Eep
785c67bdf9
Cleanups.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2945 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-03-01 22:25:31 +00:00
Meep-Eep
7d84a332f9
Cleanup.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2944 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-03-01 22:15:18 +00:00
Meep-Eep
a37c2dad7b
Cleanups.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2943 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-03-01 22:08:47 +00:00
Meep-Eep
922b5f5f28
Even better description.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2942 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-03-01 21:57:13 +00:00
Meep-Eep
80b971bd51
"Battle groups", not "battle group"
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2941 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-03-01 21:46:05 +00:00
Meep-Eep
d662b44e5f
Replace PlayerOne/PlayerTwo by PlayerControls[0]/PlayerControls[1].
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2940 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-03-01 21:36:11 +00:00
Meep-Eep
2231724cf0
Replace PlayerOne/PlayerTwo by PlayerControls[0]/PlayerControls[1].
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2939 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-03-01 21:32:43 +00:00
Meep-Eep
8adcf44ba4
Second fire button was supposed to be the main ENTER, not the keypad ENTER.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2938 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-03-01 21:28:45 +00:00
Meep-Eep
5e13669045
Better comment.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2937 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-03-01 21:02:18 +00:00
Meep-Eep
bcfb97dfff
Whitespace
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2936 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-03-01 20:15:16 +00:00
Meep-Eep
a014449dde
Some comments.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2935 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-03-01 20:06:22 +00:00
Meep-Eep
75e5e3246f
s/cvs/Subversion/
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2934 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-03-01 19:58:21 +00:00
Meep-Eep
bdf7f57b49
whitespace
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2933 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-03-01 19:49:33 +00:00
Meep-Eep
6094bbcd75
typo
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2932 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-03-01 19:48:26 +00:00
Meep-Eep
516fd79832
update
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2931 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-03-01 19:48:12 +00:00
Meep-Eep
46f758f012
Adding "sounds" to the description of "content".
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2930 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-03-01 19:42:22 +00:00
Meep-Eep
8fa8807cc5
Formatting, comments.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2929 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-03-01 19:40:53 +00:00
Meep-Eep
67035d8b33
Give the player some escort ships when the debug button is pressed.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2928 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-03-01 19:29:06 +00:00
mcmartin
b3dcf06737
Communications resource information has been folded into starcon.ls2.
...
The comm/*.ls2 files have been retired.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2927 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-02-25 05:19:49 +00:00
mcmartin
9f577a4abe
Repackaged all non-code ship and comm data.
...
Every resource that isn't of type CODE now has a resource ID that
will not conflict with any other resource, even without switchable
resource indices.
CODE-type resources currently rely on the ability to switch out
such values, and so have been left alone for now.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2926 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-02-25 00:44:49 +00:00
mcmartin
9d914998b9
Removed a bizarre, incorrect constant that should never have been
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2924 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-02-24 21:46:49 +00:00
mcmartin
70a4d5732a
Draft of OS X install instructions.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2923 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-02-24 05:58:34 +00:00
Meep-Eep
f82c0251f5
Fixed bug.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2920 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-02-07 09:06:56 +00:00
Meep-Eep
de203d2f6c
On MacOS X, search for the content in the application bundle, from Nic.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2919 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-02-07 00:01:07 +00:00
mcmartin
58b9361927
Final preparation for the replacement of integer-based resources.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2918 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-02-06 10:08:57 +00:00
mcmartin
d0bd867fe7
Planetary .ct/.xlt files uniformly indexed
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2917 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-02-04 06:45:27 +00:00
mcmartin
87f07f944f
Normalized names for planetary life forms.
...
Note that the filenames and the resource names are out of synch
this tracks the original but is being cleaned out of the .ls2 files.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2916 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-02-04 02:22:54 +00:00
mcmartin
4c3e4cf122
Properly handle cleanup of the Eta Vulpeculae II stringtable (Bug 1028)
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2915 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-02-01 08:09:07 +00:00
mcmartin
f579d17430
Normalize resource names for communications, ships, and planet graphics.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2914 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-02-01 02:51:39 +00:00
mcmartin
003667289c
Normalized resource naming across subindices.
...
Each .ls2 file has a consistent name given its resources and the code
that controls it. All resources within a subsidiary .ls2 all have a
consistent prefix.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2911 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-01-21 04:53:17 +00:00
mcmartin
7293c26b96
Removed the package preloading.
...
Anything that might have depended on this is long gone and the only
possible result of it now is more memory leaks.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2910 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-01-21 00:43:02 +00:00
mcmartin
ca7212d789
Shifted type information from .ls2 to .rmp files
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2909 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-01-17 18:58:31 +00:00
mcmartin
1cdd7012db
Minor cleanups, reformatting to fit code style and removing dead code
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2907 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-01-14 15:46:57 +00:00
mcmartin
6c1d59fef6
Joystick threshold defaults to 10000, not 0
...
Fixes Bug #1046 . Ideally, one could configure the threshold, but in
practice if 10000 doesn't work it's an SDL bug.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2906 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-01-14 15:24:48 +00:00
mcmartin
8187d2cf74
Fixed some misaligned function signatures.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2905 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-01-12 06:44:12 +00:00
mcmartin
4e90ff83e9
Fixed the multiple typedef of DRAWABLE_DESC.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2904 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-01-12 06:21:42 +00:00
mcmartin
456dcabfa0
Replaced the memlib with malloc and free.
...
The old behavior may be reinstated by defining LEGACY_HANDLE_ALLOCATOR.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2903 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-01-12 06:19:37 +00:00
mcmartin
1ed8351af1
Fixed a rare race condition triggered when a thread is dequeued while another is having its name checked
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2902 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-01-12 06:18:05 +00:00
mcmartin
4acc058c4f
Finished memory refactoring.
...
MEM_HANDLE and friends are no longer visible to the main code at all, which now treats everything as pointers.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2901 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-01-12 05:21:49 +00:00