meep-eep
90dc0352fe
More restructuring, cleanups.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1480 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-01-22 21:40:47 +00:00
meep-eep
e6879b8ae1
Big patch with header file restructuring, cleanups, and some added comments.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1479 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-01-22 01:08:12 +00:00
mcmartin
837dbd7892
Introduces a new DrawCommand to be used for res/driver changes
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1478 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-01-21 19:27:27 +00:00
avolkov
7e80ee001d
Added new commands for animations - BATCH and UNBATCH
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1476 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-01-21 18:22:48 +00:00
meep-eep
d77b299a9f
More verbose error reporting.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1474 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-01-21 17:25:12 +00:00
avolkov
13ac0109c2
Added -i to usage
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1471 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-01-20 17:33:18 +00:00
avolkov
a45b8d389a
2 new presentation commands: CLS and CALL
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1469 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-01-20 02:04:18 +00:00
avolkov
775849ea3d
Fix clipped cross-fade in OpenGL mode with complex scalers (bug #674 )
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1466 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-01-19 07:49:40 +00:00
meep-eep
f8732fa1bc
Comments & Cleanups.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1465 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-01-18 19:08:37 +00:00
meep-eep
c202440076
Fixed original misplaced bracket, which happened to work out ok.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1464 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-01-18 15:55:10 +00:00
meep-eep
c5d3165d0b
Another bug.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1463 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-01-18 14:32:33 +00:00
meep-eep
be79b5f76a
Bug confirmed.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1462 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-01-18 14:24:30 +00:00
meep-eep
eab28e5a78
Some documentation.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1461 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-01-18 14:17:30 +00:00
meep-eep
f32d6ed055
Turned some macros into static inline functions.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1460 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-01-18 11:55:24 +00:00
meep-eep
d51c0c4252
Some documentation.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1459 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-01-18 11:49:08 +00:00
meep-eep
f7d74f57f1
Some cleanups.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1458 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-01-18 11:47:26 +00:00
meep-eep
49f337538a
Cleanups, docs, header file dependancy removal.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1457 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-01-18 11:37:38 +00:00
meep-eep
5e8b839aec
Reducing dependencies, one step at a time.
...
Also some added comments which I didn't commit yet.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1456 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-01-18 10:47:59 +00:00
meep-eep
1f34d4e5cf
More compatible handling of alloca.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1455 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-01-18 09:04:06 +00:00
meep-eep
169e7986b3
Use the right _readdir() version on Solaris.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1454 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-01-17 21:22:11 +00:00
meep-eep
569f3a326b
NAME_MAX for Solaris
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1453 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-01-17 21:20:46 +00:00
avolkov
4ab169325e
Presentation (slides) player; 2nd edition
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1452 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-01-17 20:35:06 +00:00
meep-eep
3f51b805d6
Get rid of alloca() warning for Solaris
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1450 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-01-17 20:14:38 +00:00
meep-eep
3d6ac76629
NAME_MAX for Solaris
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1449 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-01-17 19:19:28 +00:00
avolkov
23ec21feea
Removed extra CRs from every line; Added a couple missing files
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1446 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-01-12 06:07:36 +00:00
meep-eep
6880c5c257
Do not allow the "Symbionts, how interesting!" until the Supox mention
...
they are symbionts. (bug #528 )
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1443 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-01-10 16:15:59 +00:00
meep-eep
d3f5a7f343
Made DoResponsePhrase() a whole lot more readable.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1442 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-01-10 11:38:45 +00:00
meep-eep
1935316a12
Moved -h/-? handling to preParseOptions().
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1441 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-01-10 08:49:05 +00:00
meep-eep
06a3e566c2
Version to 0.33
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1440 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-01-09 11:13:08 +00:00
avolkov
53a4e8858b
Fix for exit confirmation in video player (bug #665 )
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1438 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-01-07 23:22:25 +00:00
avolkov
db30708f7e
Video player fix (related to #668 )
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1437 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-01-07 23:03:58 +00:00
avolkov
2581032bf9
Game clock counter overflow fix ( #668 )
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1435 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-01-07 22:32:48 +00:00
meep-eep
3ca9dc5344
Cocoa hooks.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1434 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-01-06 08:19:25 +00:00
meep-eep
2fa71c9337
Cocoa hooks for MacOS X.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1433 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-01-05 10:08:37 +00:00
meep-eep
be85c3917f
Correct number for combat energy in "Outfit Starship".
...
it used to divide by wait_delay, but in practice wait_delay + 1 is used.
Unfortunately, this means if you want integer numbers, you'd have to
multiply everything by gcd(5, 7, 9, 11), instead of gcd(4, 6, 8, 10).
This would be too big, so I had to use rounded numbers.
The number displayed now is the amount of energy gained per second.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1432 8092fc87-c524-0410-9efc-e669fe64eaf9
2004-12-22 20:27:03 +00:00
meep-eep
423ccea449
Dumping info for planets.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1431 8092fc87-c524-0410-9efc-e669fe64eaf9
2004-12-10 04:11:44 +00:00
meep-eep
076d0e8662
Added include which appears to be necessary only for Windows.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1430 8092fc87-c524-0410-9efc-e669fe64eaf9
2004-12-10 03:30:31 +00:00
meep-eep
d99369d32f
Added code to dump planet types.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1429 8092fc87-c524-0410-9efc-e669fe64eaf9
2004-12-10 01:16:31 +00:00
meep-eep
5ff79b1444
Fix file.h only included once.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1428 8092fc87-c524-0410-9efc-e669fe64eaf9
2004-12-04 19:21:32 +00:00
meep-eep
a5728f990d
Look for language.txt for locale, from Zap.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1427 8092fc87-c524-0410-9efc-e669fe64eaf9
2004-12-04 19:04:57 +00:00
meep-eep
934a450290
Do not use isalpha() for drive letters. That doesn't necessarilly work
...
for all locales.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1426 8092fc87-c524-0410-9efc-e669fe64eaf9
2004-12-04 18:51:09 +00:00
meep-eep
e0e900049e
Windows users do NOT have setenv()...
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1425 8092fc87-c524-0410-9efc-e669fe64eaf9
2004-11-24 01:13:59 +00:00
meep-eep
1a42d65a63
Some fixes, enhancements for environment handling.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1424 8092fc87-c524-0410-9efc-e669fe64eaf9
2004-11-23 23:53:15 +00:00
meep-eep
a3eda1d6cd
Make user config dir configurable on the command line (bug #645 ).
...
Also, the environment variables UQM_CONFIG_DIR, UQM_SAVE_DIR, UQM_MELEE_DIR,
are checked for default values. This may not be a good idea permanently,
but it was the easiest way to make it possible to have UQM_SAVE_DIR and
UQM_MELEE_DIR depend on UQM_CONFIG_DIR. It will probably change with the new
resource system.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1421 8092fc87-c524-0410-9efc-e669fe64eaf9
2004-11-23 00:25:46 +00:00
meep-eep
67f6c31908
Fixed a bug where a value past the end of an array could be read
...
(though it would never be used).
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1417 8092fc87-c524-0410-9efc-e669fe64eaf9
2004-10-15 12:19:29 +00:00
mcmartin
a18a2c9674
Conditioned out buggy scaler-change code (Bug
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1415 8092fc87-c524-0410-9efc-e669fe64eaf9
2004-10-09 08:15:39 +00:00
mcmartin
27c966d8c2
Easily tweakable options may now be tweaked in the setup menu.
...
Two that "should have been easy but aren't" have skeleton code
implemented, but the user cannot effect them. Changing the scaler
interacts poorly with OpenGL, and switching between PC and 3DO music
is inconsistent.
GfxFlags has been moved out of sdl_common into gfx_common, as these are
now truly global properties.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1410 8092fc87-c524-0410-9efc-e669fe64eaf9
2004-09-06 13:10:25 +00:00
meep-eep
892291c7a5
Used var unitialised.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1407 8092fc87-c524-0410-9efc-e669fe64eaf9
2004-08-12 22:43:47 +00:00
meep-eep
27d524f758
No longer chdir() to the content dir (bug #564 )
...
Also, ~ and environment variables are interpreted in the supplied
content path now.
There's no longer a hardcoded fallback for CONTENTDIR in starcon2.c, as it
should always be defined in config.h.
Don't look for content in the default directories if an explicitely
supplied path failed. It would only confuse users.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1406 8092fc87-c524-0410-9efc-e669fe64eaf9
2004-08-09 03:15:40 +00:00
gewlitys
c9fdd4e3a5
Removed misplaced line which messed some things
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1405 8092fc87-c524-0410-9efc-e669fe64eaf9
2004-08-09 00:16:41 +00:00