4014 Commits

Author SHA1 Message Date
mcmartin 82b1aa60b4 Fixed copy-paste error in GetStringTimeStamp.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2977 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-05-18 13:17:38 +00:00
Meep-Eep c952996ad7 Replaced stricmp() by strcasecmp().
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2976 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-05-17 10:54:10 +00:00
mcmartin b2a268e2d7 Put all declarations at top of function, as ANSI C demands
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2975 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-05-16 04:25:04 +00:00
mcmartin ded11e540e Split STRTAB further into STRTAB and CONVERSATION
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2974 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-05-15 07:17:32 +00:00
mcmartin 38b00505d5 Made the INT32 and BOOLEAN resource types more type-sane.
This has required reworking the way load methods work slightly.



git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2973 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-05-15 03:15:27 +00:00
mcmartin f183008374 Basic, non-typesafe implementation of primitive resource types.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2972 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-05-14 22:34:06 +00:00
mcmartin 47a7575e97 Full support for "zero-file" resources UNKNOWNRES and SHIP.
The CODE resource file type has been retired, replaced by SHIP.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2971 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-05-14 06:05:58 +00:00
mcmartin 2ddc969faf Resource loader now descriptor-based, not filestream-based.
This will allow for non-file resources, and eventual merging of
configuration and other data into the resource system.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2970 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-05-14 03:15:29 +00:00
mcmartin ffd50ee6fd Fold the ResourceHandlers vtable into the ResourceDesc directly.
The vtables themselves are stored in the main resource map under
the "sys." branch instead of in their own side array.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2969 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-05-11 03:29:14 +00:00
mcmartin 245cbce1a0 Split STRTAB into two resource types instead of differentiating on suffix
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2968 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-05-08 07:30:22 +00:00
mcmartin fa346b9d6d Refactored the ResourceIndex type to fit UQM's standard for opaque types
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2967 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-05-07 01:07:13 +00:00
avolkov aed8e93d6a Updated project file with latest res-sys changes
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2966 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-04-10 23:28:00 +00:00
avolkov fe995a2f7f _M_AMD64 is deprecated in favor of _M_X64; newer includes may need it later
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2965 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-04-10 22:55:55 +00:00
mcmartin 0ea5d1c361 Removed the defunct KEY_CONFIG and RES_INDEX resource types.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2964 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-04-09 18:51:33 +00:00
mcmartin 4e1d971af5 Ancillary files
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2963 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-04-09 06:34:01 +00:00
mcmartin 7cead51fb3 Major revamp of the resource system. Only RMP files remain.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2962 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-04-09 05:54:22 +00:00
mcmartin 206bebd6bd New header file for cons_res.c, mistakenly not committed
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2961 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-04-06 10:33:12 +00:00
mcmartin 37f0bcf5e6 Moved all resource ID construction into its own file for easy replacement
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2960 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-04-06 07:53:42 +00:00
mcmartin 7f65c19044 Fixed intermittent crash if conversing with music disabled
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2959 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-04-06 07:50:42 +00:00
mcmartin 32940bb214 Moved code resources into starcon.ls2 as well.
SetResourceIndex is no longer used after main program init,
and RES_INDEX is for all practical purposes defunct.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2958 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-04-06 00:52:14 +00:00
mcmartin 356a2106e9 Moved all non-CODE resources to starcon.ls2.
At this point, only loading ships ever changes the resource index.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2957 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-04-05 10:16:22 +00:00
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