4014 Commits

Author SHA1 Message Date
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 d0dcf67ac6 Resource information is now centralized in resources.csv.
The old scripts that trolled content/ and src/ for information
have been retired, and the new script reads the CSV file and
generates the resource files directly.

Future changes to the resource indices or content should be
done by modifying resources.csv and regenerating the data.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2925 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-02-24 22:06:03 +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
mcmartin 23f3b90978 Updated resources map with the files that describe the resource
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2922 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-02-23 08:02:48 +00:00
mcmartin d083b37d92 Added a master list of the currently used resources
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2921 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-02-08 03:42:52 +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 674d784d49 Collect any extra values that have not been covered in the indexing
phase for report.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2913 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-01-25 02:14:59 +00:00
mcmartin c836af4a46 Scanner for header files to correlate #defines with RESOURCEs.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2912 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-01-22 08:57:29 +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 9502d845c7 Added a script to tag .rmp file entries with types
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2908 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-01-17 08:04:12 +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
avolkov 8199596810 Fixed some trivial missing #includes
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2900 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-01-09 08:00:27 +00:00
mcmartin 40839c88ec Separated RESOURCEs from the resources they specify
in ship and comm structures.



git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2899 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-01-08 09:43:44 +00:00
mcmartin fc18e36c64 Bringing the history up to date
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2898 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-01-08 02:07:00 +00:00
mcmartin 720f1ddd76 starcon2.c should not include strintrn.h, even indirectly
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2897 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-01-07 21:40:25 +00:00
mcmartin b414fd7c76 gcc doesn't like multiple typedefs
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2896 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-01-07 12:36:40 +00:00
mcmartin 50891df161 Refactored STRING to operate more like FRAME.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2895 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-01-07 12:22:10 +00:00
Meep-Eep 5e14d3d955 Added bug number
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2894 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-01-05 20:16:27 +00:00
Meep-Eep 98488b97e4 Prevent overflow for planet weight when scanning a planet.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2893 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-01-05 19:27:48 +00:00
Meep-Eep 7a82c28524 Don't set _POSIX_THREAD_SAFE_FUNCTIONS. It does not mean "I want thread-safe
functions", it is set by the system to mean "you've got thread-safe functions".



git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2892 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-01-05 18:40:17 +00:00
mcmartin b66d240412 DRAWABLE and STRING_TABLE turned into flat memory references.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2891 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-01-02 22:54:33 +00:00
mcmartin 91e0374f9e First steps towards consistent use of HMalloc.
DRAWABLE, FONT, and a few others which mix memory handles with flags still remain; this patch catches the low-hanging fruit.

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2890 8092fc87-c524-0410-9efc-e669fe64eaf9
2007-12-31 00:42:33 +00:00
Meep-Eep c804dcfce7 correction
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2889 8092fc87-c524-0410-9efc-e669fe64eaf9
2007-12-24 00:26:27 +00:00
Meep-Eep 6360807951 Typo
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2888 8092fc87-c524-0410-9efc-e669fe64eaf9
2007-12-23 15:11:32 +00:00
Meep-Eep aa4afdade5 Added a "cegcc" target.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2887 8092fc87-c524-0410-9efc-e669fe64eaf9
2007-12-23 06:34:12 +00:00
Meep-Eep 99cefbb5d3 Make the logfile unbuffered by default on Windows CE.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2886 8092fc87-c524-0410-9efc-e669fe64eaf9
2007-12-23 06:11:46 +00:00
Meep-Eep ccfcddd719 Fix for Windows CE.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2885 8092fc87-c524-0410-9efc-e669fe64eaf9
2007-12-23 05:41:21 +00:00
Meep-Eep 02ef0c439e Windows CE support.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2884 8092fc87-c524-0410-9efc-e669fe64eaf9
2007-12-23 05:26:44 +00:00
Meep-Eep 1a818a91a9 Old typo in #define.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2883 8092fc87-c524-0410-9efc-e669fe64eaf9
2007-12-23 05:03:18 +00:00
Meep-Eep c1bafdfc45 Correction.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2882 8092fc87-c524-0410-9efc-e669fe64eaf9
2007-12-23 04:54:41 +00:00
Meep-Eep 23c74b2b63 Added support to the unix build system for explicitely specifying the name of
the define to set to show when a symbol is found.
Also a fix for when 'strcasecmp' is #define'd by the system.



git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2881 8092fc87-c524-0410-9efc-e669fe64eaf9
2007-12-23 04:41:19 +00:00
Meep-Eep 27bc2ea336 Removed "By Serge van den Boom"; this code has been changed from all sides by ev
eryone.



git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2880 8092fc87-c524-0410-9efc-e669fe64eaf9
2007-12-23 01:02:50 +00:00
Meep-Eep 49798abdc8 Removed "By Serge van den Boom"; this code has been changed from all sides by everyone.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2879 8092fc87-c524-0410-9efc-e669fe64eaf9
2007-12-23 01:00:42 +00:00
mcmartin 73c82ef1ca Cut unused components of the memory library.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2878 8092fc87-c524-0410-9efc-e669fe64eaf9
2007-12-21 00:48:43 +00:00