3883 Commits

Author SHA1 Message Date
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
Meep-Eep f7392e1399 Reverting; even our own builds have to ship with a different version of SDL from the one they were compiled with (for the time being).
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2877 8092fc87-c524-0410-9efc-e669fe64eaf9
2007-12-20 18:16:18 +00:00
Meep-Eep 76ed6bdfca Warning if runtime SDL version doesn't match compile-time version.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2876 8092fc87-c524-0410-9efc-e669fe64eaf9
2007-12-20 06:09:35 +00:00
mcmartin f582896f5d Removed the now-redundant alist files.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2875 8092fc87-c524-0410-9efc-e669fe64eaf9
2007-12-20 00:34:35 +00:00
mcmartin 43293018bf Replaced A-Lists with CharHashTables.
The StringBank is still necessary, and the rmp/cfg parser has been moved from alist.c over to mapres.c.

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2874 8092fc87-c524-0410-9efc-e669fe64eaf9
2007-12-20 00:32:11 +00:00
mcmartin ef5eab442e Added support for activating the remix packs from the setup menu.
This should simplify remix installation, as well as allow the remixes to be easily activated when the 3do music is not.

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2873 8092fc87-c524-0410-9efc-e669fe64eaf9
2007-12-19 00:28:14 +00:00
mcmartin 95365e688f Fixed an off-by-one error in StringBank_AddString.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2872 8092fc87-c524-0410-9efc-e669fe64eaf9
2007-12-16 00:44:52 +00:00
mcmartin acbff37448 Addon zips can now live directly in content/addons.
The zips will need to provide their own subdirectory for the addon to 
register as such.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2871 8092fc87-c524-0410-9efc-e669fe64eaf9
2007-12-15 09:48:59 +00:00
mcmartin 52c333a850 Moved the 3DO music into an addon pack '3domusic'.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2870 8092fc87-c524-0410-9efc-e669fe64eaf9
2007-12-10 03:42:38 +00:00
mcmartin 36fcc8b206 Major reworking of how addon packs work.
Addon packs now provide additional files instead of overriding UIO. They 
must provide .rmp files to do the necessary overrides.  The addons 
directory has also been moved outside of packages/ and into content/ 
directly.



git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2869 8092fc87-c524-0410-9efc-e669fe64eaf9
2007-12-09 15:38:05 +00:00
mcmartin 25b4267902 Reworking of the resource system.
Resource indices (.ls2) now refer to string identifiers which are mapped 
to files by a global resource map (uqm.rmp).

This meets Milestone 3 of the Resource System Phase 2 plan.



git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2868 8092fc87-c524-0410-9efc-e669fe64eaf9
2007-11-28 08:09:57 +00:00
Meep-Eep 839ccbaf1f A few comments, cleanups.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2861 8092fc87-c524-0410-9efc-e669fe64eaf9
2007-11-24 22:22:33 +00:00
Meep-Eep 78972b912e Removed unnecessary _ALIGNED_ON macro usage.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2860 8092fc87-c524-0410-9efc-e669fe64eaf9
2007-10-30 14:10:17 +00:00
Meep-Eep b270214597 More exact crediting (ffmpeg is mplayer's codec lib).
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2859 8092fc87-c524-0410-9efc-e669fe64eaf9
2007-10-04 23:56:27 +00:00
Meep-Eep 35f2a40d9c Cleanups, comments.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2858 8092fc87-c524-0410-9efc-e669fe64eaf9
2007-09-22 19:55:47 +00:00
Meep-Eep dd6baea996 Fix bug 256, instead of the symptom.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2857 8092fc87-c524-0410-9efc-e669fe64eaf9
2007-09-22 17:56:40 +00:00
Meep-Eep e802b489b8 Made uio "bool" compatible with the main uqm "bool";
introduced C99 compatible booleans.



git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2856 8092fc87-c524-0410-9efc-e669fe64eaf9
2007-09-18 14:48:17 +00:00
Meep-Eep 85b9898d53 Allow 'bool' to be used in combination with <stdbool.h>, take 2.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2855 8092fc87-c524-0410-9efc-e669fe64eaf9
2007-09-16 15:37:20 +00:00
Meep-Eep c69569e928 Fix resync.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2854 8092fc87-c524-0410-9efc-e669fe64eaf9
2007-09-16 15:32:00 +00:00
Meep-Eep 3505a9a35e Allow 'bool' to be used in combination with files which include <stdbool.h>.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2853 8092fc87-c524-0410-9efc-e669fe64eaf9
2007-09-16 15:26:03 +00:00
Meep-Eep 3bfa09ec11 Content is looked for in the current dir now as intended.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2852 8092fc87-c524-0410-9efc-e669fe64eaf9
2007-09-09 00:03:03 +00:00
mcmartin 7c544a9f91 First usable datasheets: Mycon, Druuge, Androsynth
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2851 8092fc87-c524-0410-9efc-e669fe64eaf9
2007-09-08 03:07:31 +00:00
avolkov ab2633dca6 Allow multiple FONTs to be used in presentations at the same time
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2850 8092fc87-c524-0410-9efc-e669fe64eaf9
2007-09-08 01:52:03 +00:00
mcmartin 00dad6a7b0 Shift the PC Ship "spins" to use Presentations.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2849 8092fc87-c524-0410-9efc-e669fe64eaf9
2007-09-07 15:34:51 +00:00
avolkov 431a6186f1 Added presentation commands TEXT, TE, MOVIE
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2848 8092fc87-c524-0410-9efc-e669fe64eaf9
2007-09-06 08:35:59 +00:00
avolkov 1209d2cd85 Increased the size of the display queue (disp_q)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2847 8092fc87-c524-0410-9efc-e669fe64eaf9
2007-09-06 08:33:21 +00:00
mcmartin 14dad53337 Added the LINE command to presentations.
Format:
LINE x1 y1 x2 y2
It treats TC as the desired color to use.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2846 8092fc87-c524-0410-9efc-e669fe64eaf9
2007-09-03 07:14:14 +00:00
mcmartin a6d90b4dfe Have presentations request their own full-screen clears
This will let custom ship spins use Presentations to
display data over themselves without wiping out the
underlyin image.

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2845 8092fc87-c524-0410-9efc-e669fe64eaf9
2007-09-02 01:10:42 +00:00