789 Commits

Author SHA1 Message Date
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 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 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 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
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
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 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 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 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 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 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
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 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
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 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
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 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
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 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 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 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
Meep-Eep 05bf5119fa Added match_matchPatternOnce().
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2844 8092fc87-c524-0410-9efc-e669fe64eaf9
2007-08-20 15:43:54 +00:00
avolkov f143da84ad info tweak
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2843 8092fc87-c524-0410-9efc-e669fe64eaf9
2007-08-15 09:05:53 +00:00
avolkov 08de686615 Fixed trilinear scaling so that it does not use stamp-filled mipmap image; fixes bug #929
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2842 8092fc87-c524-0410-9efc-e669fe64eaf9
2007-08-15 08:48:53 +00:00
Meep-Eep 00780e5378 Added TFB_Canvas_Lock(), TFB_Canvas_Unlock() and TFB_Canvas_GetStride().
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2836 8092fc87-c524-0410-9efc-e669fe64eaf9
2007-08-10 20:41:21 +00:00
avolkov 8669bbaf99 Image scaling wrt hotspot; re-added bilinear; minor gfx refactoring
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2827 8092fc87-c524-0410-9efc-e669fe64eaf9
2007-08-01 03:25:08 +00:00
gewlitys ca2f82e40f Added --keepaspectratio option to keep correct aspect ratio with custom resolutions
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2825 8092fc87-c524-0410-9efc-e669fe64eaf9
2007-07-29 19:18:14 +00:00
Meep-Eep c82e1fa430 Add /var/tmp as possible location for temporary files. Don't try /tmp and /var/tmp at all on MS Windows (Cygwin excepted)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2824 8092fc87-c524-0410-9efc-e669fe64eaf9
2007-07-28 16:41:56 +00:00
gewlitys dd9395e65d added fullscreen/windowed toggle key F11
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2821 8092fc87-c524-0410-9efc-e669fe64eaf9
2007-07-27 23:19:40 +00:00
Meep-Eep 67d6df6545 Allow building without ogg vorbis.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2818 8092fc87-c524-0410-9efc-e669fe64eaf9
2007-07-25 19:34:31 +00:00
Meep-Eep 01992b3f88 Reworked SuperMelee loading; new files loadmele.[ch].
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2817 8092fc87-c524-0410-9efc-e669fe64eaf9
2007-07-25 02:04:01 +00:00
avolkov 0631074f67 Fixed bug 996 - ships recrewed in HyperSpace
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2810 8092fc87-c524-0410-9efc-e669fe64eaf9
2007-07-16 21:57:39 +00:00
Meep-Eep 85972d9485 removed mouse_err.c and move its contents (one line) elsewhere.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2809 8092fc87-c524-0410-9efc-e669fe64eaf9
2007-07-15 15:14:32 +00:00
Meep-Eep 9e60ced31a Fixed instant-move towards the current location.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2808 8092fc87-c524-0410-9efc-e669fe64eaf9
2007-07-13 16:34:35 +00:00
avolkov 1d6776ce8f bug 1001
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2807 8092fc87-c524-0410-9efc-e669fe64eaf9
2007-07-12 04:16:17 +00:00
avolkov 2153b304e2 Ship struct cleanup finished
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2801 8092fc87-c524-0410-9efc-e669fe64eaf9
2007-07-09 19:43:40 +00:00
mcmartin 5c475db9f7 Fixed quit-during-intro-fadeout hang (Bug #987)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2796 8092fc87-c524-0410-9efc-e669fe64eaf9
2007-07-08 02:08:37 +00:00
avolkov fde47c9869 Fixed audio track seek truncation; scope supports higher rates for speech; bug 999
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2794 8092fc87-c524-0410-9efc-e669fe64eaf9
2007-07-03 21:24:12 +00:00
mcmartin 2e2d793569 Basic support for .ani based ship spins.
At the moment there are no pauseframes or annotations.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2764 8092fc87-c524-0410-9efc-e669fe64eaf9
2007-05-26 09:02:50 +00:00
avolkov 34805c6bf4 Fixed some Melnorme history info timestamps
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2763 8092fc87-c524-0410-9efc-e669fe64eaf9
2007-05-22 08:32:24 +00:00
avolkov 9bf793ca62 bug 988
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2762 8092fc87-c524-0410-9efc-e669fe64eaf9
2007-05-22 05:14:00 +00:00