3883 Commits

Author SHA1 Message Date
Meep-Eep b34e03b393 Only define driveLetterExists() when we need it, as _getdrives() is not
always available.



git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3059 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-08-30 18:59:58 +00:00
Meep-Eep b9e29cd104 Define readdir_r() on Symbian.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3058 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-08-30 18:46:43 +00:00
Meep-Eep ace60da23b Handle paths of the form "d:foo/bar" on platforms which don't have a current working directory per drive.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3057 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-08-30 18:25:41 +00:00
gewlitys e663bc4564 Some includes added to avoid calling functions w/o prototypes.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3056 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-08-30 14:08:02 +00:00
Meep-Eep a4fc0fc7ef Set the correct names of the generated executable files on Symbian and Windows.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3054 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-08-23 20:15:21 +00:00
Meep-Eep 6aeb1e5ab1 Fix library and program detection.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3053 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-08-23 19:30:04 +00:00
Meep-Eep 1db1146a85 Relative paths are resolved from the current working dir.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3052 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-08-23 14:42:29 +00:00
Meep-Eep ce4aaa18d7 Split off build tools specific definitions from Makefile.build.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3051 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-08-23 12:06:16 +00:00
Meep-Eep c08905fa36 Correct capitalisation for "CodeWarrior".
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3050 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-08-23 11:55:16 +00:00
Meep-Eep 03fe5f24f3 Some defines for Symbian. From Gwl.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3049 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-08-23 11:13:02 +00:00
Meep-Eep c198f73fa4 Defines for Symbian. From Gwl.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3048 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-08-23 11:05:43 +00:00
Meep-Eep 9ea6346e3b Some defines for Symbian compilers. From Gwl.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3047 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-08-23 11:00:16 +00:00
avolkov 079526298c Define THREADLIB_SDL for the project
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3046 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-08-23 00:44:29 +00:00
Meep-Eep eea348180a Support drive letters and UNC paths on some non-Windows platforms.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3045 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-08-22 20:50:38 +00:00
Meep-Eep ad25f17f1e No UNC paths on Symbian.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3044 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-08-22 20:04:48 +00:00
Meep-Eep 5ed92e6942 Support drive letters and UNC paths on some non-Windows platforms.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3043 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-08-22 19:57:35 +00:00
Meep-Eep 3ec51c7c0f Replace alloca() by the more portable malloc().
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3042 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-08-22 19:04:26 +00:00
Meep-Eep aa02a78da5 Pthread support from Gwl.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3041 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-08-21 20:03:54 +00:00
Meep-Eep f726de4474 Remove old code for static linking.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3040 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-08-21 18:58:48 +00:00
Meep-Eep 6b76050542 More portable parameter passing.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3039 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-08-21 18:55:47 +00:00
Meep-Eep 990fae0411 strcasecmp() is in strings.h according to POSIX
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3038 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-08-21 18:52:48 +00:00
Meep-Eep 15f9f50779 Some corrections and simplifications.
Note that 'int main(void)' is correct C, see ISO C99 5.1.2.2.1 (probably
older versions too, but I can't verify that.)



git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3037 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-08-21 18:33:05 +00:00
gewlitys f0d9b3b143 Loading voices now works properly also when ogg support is disabled.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3036 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-08-16 22:46:41 +00:00
Meep-Eep 27e0dd8258 Bug fix. (Would only be triggered if QUEUE_TABLE is undefined)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3035 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-08-15 08:16:45 +00:00
Meep-Eep 7372224df5 Function to give the player all devices.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3034 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-08-11 21:34:37 +00:00
mcmartin 62d6bae2e1 Generated a 3DO-specific subtitle file for the Starbase, as
the PC and 3DO versions cannot be reconciled (Bug 1036)


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3033 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-08-09 20:30:26 +00:00
Meep-Eep c6a6f630fb Make it compile.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3032 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-08-09 20:26:40 +00:00
Meep-Eep 61d0e0e93a Added dumpStrings() to help debugging incongruities between the source file gamestr.h and the content file gamestrings.txt.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3031 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-08-07 22:02:24 +00:00
mcmartin 0b2d248008 Typo fixes (bugs 1037, 1038).
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3030 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-07-31 21:43:08 +00:00
Meep-Eep c109ac33c7 Fix some declarations.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3029 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-06-23 11:01:01 +00:00
Meep-Eep feee84315f Fix declarations.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3028 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-06-23 10:54:04 +00:00
Meep-Eep 4827b9743d Fix for a type error. (Harmless if the compiler is stupid enough. Otherwise
it just won't compile.)



git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3027 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-06-22 23:30:20 +00:00
mcmartin e8ba104f3a Normalized the names of the BINTAB resources.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3026 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-06-17 01:15:01 +00:00
mcmartin 9f7364c955 A new script for easing custom content moves.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3025 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-06-17 01:05:03 +00:00
mcmartin bab2323019 Relegation of integer-based resources to history.
Documentation has been updated and header files have been re-sorted as a 
result of this.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3024 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-06-06 13:08:47 +00:00
avolkov 971ac395f2 Renaming races to full names; final working revision for comm
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3021 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-05-30 23:40:04 +00:00
avolkov dfe3fedfb2 Renaming race dirs to full names (revision non-functional)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3020 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-05-30 23:32:41 +00:00
avolkov 2e8fffb668 Renaming race dirs to full names (revision non-functional)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3019 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-05-30 23:31:07 +00:00
avolkov 53db2339b8 Renaming race dirs to full names (revision non-functional)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3018 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-05-30 23:30:40 +00:00
avolkov 612f0cb770 Renaming race dirs to full names (revision non-functional)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3017 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-05-30 23:30:11 +00:00
avolkov e8f1b99775 Renaming race dirs to full names (revision non-functional)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3016 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-05-30 23:29:50 +00:00
avolkov 6a458ee6b4 Renaming race dirs to full names (revision non-functional)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3015 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-05-30 23:29:20 +00:00
avolkov e73449adac Renaming race dirs to full names (revision non-functional)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3014 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-05-30 23:28:55 +00:00
avolkov ec05044e85 Renaming race dirs to full names (revision non-functional)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3013 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-05-30 22:58:52 +00:00
avolkov 57bffd8772 Renaming race dirs to full names (revision non-functional)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3012 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-05-30 22:58:27 +00:00
Meep-Eep dbf34f4042 A few comments.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3011 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-05-30 22:56:40 +00:00
avolkov ea2ae46298 Renaming race dirs to full names (revision non-functional)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3010 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-05-30 22:53:10 +00:00
avolkov effb4c51b5 Renaming race dirs to full names (revision non-functional)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3009 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-05-30 22:52:44 +00:00
avolkov f1c853d07c Renaming race dirs to full names (revision non-functional)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3008 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-05-30 22:52:08 +00:00
avolkov 3a0325bb91 Renaming race dirs to full names (revision non-functional)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3007 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-05-30 22:51:40 +00:00