avolkov
623e980083
Removed initializers from static globals that do not need them (for clarity); fixed others that do need to be reinited; bug #870
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2298 8092fc87-c524-0410-9efc-e669fe64eaf9
2006-03-28 04:10:25 +00:00
avolkov
c37329065f
Cleaning up SetFlashRect interface
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2297 8092fc87-c524-0410-9efc-e669fe64eaf9
2006-03-24 22:17:12 +00:00
avolkov
f98e11a3c9
Flashing modules and ships to build even with PC menus (bug #871 )
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2294 8092fc87-c524-0410-9efc-e669fe64eaf9
2006-03-24 21:59:47 +00:00
avolkov
1030ede817
Cleaner and fixed SetFlashRect interface for menu rect
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2293 8092fc87-c524-0410-9efc-e669fe64eaf9
2006-03-24 21:55:20 +00:00
avolkov
ffcfb30fd1
Fixed incorrect caption Orbit: to Tilt: in planet scan (bug #847 )
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2291 8092fc87-c524-0410-9efc-e669fe64eaf9
2006-03-24 20:49:40 +00:00
avolkov
de9ccfe5b5
Clear menu sound interface; added missing failure sounds to Outfit and Shipyard (bug #842 )
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2289 8092fc87-c524-0410-9efc-e669fe64eaf9
2006-03-24 20:38:48 +00:00
avolkov
dc09f3f8fd
Clear menu sound interface; added missing failure sounds to Cargo and Roster (bug #842 )
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2288 8092fc87-c524-0410-9efc-e669fe64eaf9
2006-03-24 20:35:20 +00:00
avolkov
1dc2801c7f
Clear menu sound interface
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2287 8092fc87-c524-0410-9efc-e669fe64eaf9
2006-03-24 20:29:14 +00:00
meep-eep
d22ae5c9e3
Remove remnants of old code.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2277 8092fc87-c524-0410-9efc-e669fe64eaf9
2006-03-17 12:45:00 +00:00
meep-eep
cb1034e06e
Crew retrieved from space after the end of an encounter will no longer set the number of crew to larger than the ship's maximum.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2274 8092fc87-c524-0410-9efc-e669fe64eaf9
2006-03-16 09:07:21 +00:00
meep-eep
59ba2270b2
Unused, incorrect file.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2272 8092fc87-c524-0410-9efc-e669fe64eaf9
2006-03-12 00:29:28 +00:00
meep-eep
154bc06dc3
Cleanups.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2271 8092fc87-c524-0410-9efc-e669fe64eaf9
2006-03-11 21:36:08 +00:00
meep-eep
e881e83a6d
Missed change of HAVE_GETOPT_H to HAVE_GETOPT_LONG.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2270 8092fc87-c524-0410-9efc-e669fe64eaf9
2006-03-11 08:22:06 +00:00
meep-eep
a5bea87313
SIS crew is handled in battle as other ships. It is no longer continuously
...
synchronised during melee, but only at the beginning and end of the battle.
This requires a change to the size of various crew_level fields, which
meant some hacks been necessary to keep the savegame format the same.
These hacks should go away when we move to a new savegame format.
Various other small cleanups.
Various documentation added.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2269 8092fc87-c524-0410-9efc-e669fe64eaf9
2006-03-11 08:11:53 +00:00
mcmartin
22e364fa4e
Added string table resource for setup menu strings.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2268 8092fc87-c524-0410-9efc-e669fe64eaf9
2006-03-10 10:35:12 +00:00
mcmartin
3d440b2d85
Report on setup stringtable resource. Does not actually load it yet.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2267 8092fc87-c524-0410-9efc-e669fe64eaf9
2006-03-10 10:34:26 +00:00
meep-eep
92a27386af
Debugging function to add crew during battle.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2266 8092fc87-c524-0410-9efc-e669fe64eaf9
2006-03-10 07:57:29 +00:00
meep-eep
5218018545
Added horror story^W^Wdocumentation.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2264 8092fc87-c524-0410-9efc-e669fe64eaf9
2006-03-08 09:52:04 +00:00
meep-eep
5e6dc143f0
Harmless original c&p bug fixed.
...
See http://uqm.stack.nl/forum/index.php?topic=2741.0
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2244 8092fc87-c524-0410-9efc-e669fe64eaf9
2006-02-02 11:13:38 +00:00
mcmartin
70db43c66d
Minor version bump
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2243 8092fc87-c524-0410-9efc-e669fe64eaf9
2006-02-02 07:37:11 +00:00
avolkov
79a6a18f78
OpenAL removed AL_DATA buffer property, and we are not using it anyway
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2242 8092fc87-c524-0410-9efc-e669fe64eaf9
2006-01-30 21:08:58 +00:00
meep-eep
8e0cd93604
Handle relative dirs in -C correctly.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2235 8092fc87-c524-0410-9efc-e669fe64eaf9
2006-01-27 00:13:20 +00:00
avolkov
d829b93fab
Removed many hardcoded strings (bug #778 , from zap)
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2233 8092fc87-c524-0410-9efc-e669fe64eaf9
2006-01-24 23:55:00 +00:00
avolkov
699b1a642c
asm/byteorder.h is a private file from Linux kernel (and barfs when included directly)
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2232 8092fc87-c524-0410-9efc-e669fe64eaf9
2006-01-24 23:54:37 +00:00
avolkov
0bcb95c561
Getting rid of 'const' warnings
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2229 8092fc87-c524-0410-9efc-e669fe64eaf9
2006-01-24 05:21:22 +00:00
avolkov
8036a0225b
Fixed a buffer overflow in comm summary with non-English translations
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2228 8092fc87-c524-0410-9efc-e669fe64eaf9
2006-01-23 21:55:26 +00:00
avolkov
f72b322d1b
Fixed captain/ship name truncated after entering
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2227 8092fc87-c524-0410-9efc-e669fe64eaf9
2006-01-23 21:01:19 +00:00
mcmartin
7137fb2366
SDL_GL_DEPTH_SIZE is z-buffer depth, not color depth. UQM uses no z-buffer.
...
Hat tip to Vorn for for the documentation search.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2226 8092fc87-c524-0410-9efc-e669fe64eaf9
2006-01-22 06:01:36 +00:00
avolkov
1a72c36d6d
At least these can be 'const'
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2225 8092fc87-c524-0410-9efc-e669fe64eaf9
2006-01-21 01:06:08 +00:00
avolkov
a20ff7cf4a
Removed workaround for bug #166 -- MikMod should work correctly now on MacOSX with DMODE_HQMIXER
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2224 8092fc87-c524-0410-9efc-e669fe64eaf9
2006-01-20 23:34:42 +00:00
avolkov
00af93d113
Remove the bug introduced by a port of SDL_mixer to MacOS classic; see UQM bug #166
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2223 8092fc87-c524-0410-9efc-e669fe64eaf9
2006-01-20 23:18:35 +00:00
mcmartin
7ca9b81e16
optMeleeZoom and optWhichIntro now set properly by SetGlobalOptions
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2222 8092fc87-c524-0410-9efc-e669fe64eaf9
2006-01-20 13:56:22 +00:00
avolkov
177fd62c8f
Rearranged the StartGame() code paths to make it cleaner and allow it to return FALSE on Quit (partially fixes #52 ); Intro now plays on New Game only, and Main menu times out into Credits
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2220 8092fc87-c524-0410-9efc-e669fe64eaf9
2006-01-20 07:49:34 +00:00
avolkov
1da9f22b75
Minor formatting change; fix for C99-challenged VC6
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2218 8092fc87-c524-0410-9efc-e669fe64eaf9
2006-01-20 07:30:07 +00:00
meep-eep
14277e9b16
More rename fixes.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2217 8092fc87-c524-0410-9efc-e669fe64eaf9
2006-01-20 06:58:13 +00:00
meep-eep
7533e6db28
Correction.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2216 8092fc87-c524-0410-9efc-e669fe64eaf9
2006-01-20 06:01:43 +00:00
meep-eep
94f5fd0abe
Handle the case where a new file is created with the read and write
...
location in a different mount.
Some more comments and a bit of cleanup (more needed).
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2214 8092fc87-c524-0410-9efc-e669fe64eaf9
2006-01-20 05:56:33 +00:00
meep-eep
3bdd7641db
Some basic error handling when load of a .mle file fails.
...
See bug #823 .
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2212 8092fc87-c524-0410-9efc-e669fe64eaf9
2006-01-20 05:54:16 +00:00
meep-eep
507a30e01b
Fixed places which expected GetStringLength() to return the amount
...
of memory used instead of the number of chars.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2211 8092fc87-c524-0410-9efc-e669fe64eaf9
2006-01-20 05:53:33 +00:00
meep-eep
8dc56b570f
Comments.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2210 8092fc87-c524-0410-9efc-e669fe64eaf9
2006-01-20 05:52:39 +00:00
meep-eep
e23427e560
Comment correction.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2209 8092fc87-c524-0410-9efc-e669fe64eaf9
2006-01-20 05:51:42 +00:00
meep-eep
545b02f711
Cleanups
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2208 8092fc87-c524-0410-9efc-e669fe64eaf9
2006-01-20 05:50:23 +00:00
meep-eep
5e7eb0b41c
Cleanups.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2207 8092fc87-c524-0410-9efc-e669fe64eaf9
2006-01-20 05:49:35 +00:00
mcmartin
361bb23c27
VControl control schema version updated
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2205 8092fc87-c524-0410-9efc-e669fe64eaf9
2006-01-20 00:51:08 +00:00
meep-eep
448c82e91a
Some comments.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2204 8092fc87-c524-0410-9efc-e669fe64eaf9
2006-01-19 23:10:30 +00:00
meep-eep
df397efcf9
Better instant-move (for debugging).
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2203 8092fc87-c524-0410-9efc-e669fe64eaf9
2006-01-19 23:09:01 +00:00
meep-eep
a8ab8facbe
Some small portability improvements.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2199 8092fc87-c524-0410-9efc-e669fe64eaf9
2006-01-19 19:13:39 +00:00
avolkov
02b7a6f413
Prevent two-week bomb install from bypassing the defeat condition; bug #757
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2197 8092fc87-c524-0410-9efc-e669fe64eaf9
2006-01-19 04:32:03 +00:00
avolkov
c878a3e224
bumped micro version
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2196 8092fc87-c524-0410-9efc-e669fe64eaf9
2006-01-19 01:44:17 +00:00
avolkov
ca3979dcec
Draw joystick cursor in star-search when matched too
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2195 8092fc87-c524-0410-9efc-e669fe64eaf9
2006-01-19 01:23:04 +00:00