189 Commits

Author SHA1 Message Date
meep-eep f090ae624b Add 'exec' so that the sh process is no longer in memory when the game
is started.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1420 8092fc87-c524-0410-9efc-e669fe64eaf9
2004-11-14 15:26:03 +00:00
meep-eep 1673aa70d3 Made the unix build scripts more portable. It will be necessary to
rerun './build.sh config' as build.vars.in has been modified.
Also fixed some small bugs in the redirection of text to /dev/null.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1413 8092fc87-c524-0410-9efc-e669fe64eaf9
2004-10-02 08:41:04 +00:00
meep-eep 22bdca4e4b Changes for SunOS compatibility.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1412 8092fc87-c524-0410-9efc-e669fe64eaf9
2004-10-01 05:49:10 +00:00
meep-eep 7dc88a9385 Define DEBUG in 'Debug info + strict compile checks' mode too.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1396 8092fc87-c524-0410-9efc-e669fe64eaf9
2004-06-28 01:03:44 +00:00
meep-eep 1bc0106e6d Custom detection for SDL_mixer (and SDL_image) as done with SDL.
For Darwin.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1394 8092fc87-c524-0410-9efc-e669fe64eaf9
2004-06-24 16:48:59 +00:00
meep-eep a8ef5a61c8 The unix build script should now be able to detect SDL on Darwin (bug #358)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1387 8092fc87-c524-0410-9efc-e669fe64eaf9
2004-06-16 23:22:19 +00:00
meep-eep 87edd5faa0 Cleaned up use of the DEBUG define:
- renamed the DEBUG define for debugging specific code. In the top of
  the relevant files there is an commented out define to activate
  debugging for that file.
- removed entire DEBUG sections where it is no longer relevant
- compile with DEBUG defined when building a debugging binary
Code that produces general warnings is kept in DEBUG blocks.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1376 8092fc87-c524-0410-9efc-e669fe64eaf9
2004-06-10 04:49:02 +00:00
meep-eep ba04f8ac18 Correct location for uqm.r.
Also some whitespace corrections.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1358 8092fc87-c524-0410-9efc-e669fe64eaf9
2004-04-12 05:14:59 +00:00
meep-eep 848aa115b4 Automatically add an icon for Darwin, from Nic.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1355 8092fc87-c524-0410-9efc-e669fe64eaf9
2004-04-07 06:13:31 +00:00
meep-eep 1950ea1cfb Half finished attempt to make the source scripts handle spaces in path names
(for instance for $BUILD_WORK).
Unfortunately, it probably won't be completely finished as long
as we keep using GNU make. It's just too far gone.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1346 8092fc87-c524-0410-9efc-e669fe64eaf9
2004-03-06 00:38:56 +00:00
meep-eep f47d103fa6 Another fix.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1340 8092fc87-c524-0410-9efc-e669fe64eaf9
2004-02-29 01:46:35 +00:00
meep-eep 6f829438bf Some little fixes.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1339 8092fc87-c524-0410-9efc-e669fe64eaf9
2004-02-29 01:33:49 +00:00
meep-eep ec6fc4867e Restructuring of the unix build scripts.
Also, interrupted dependency builds are now detected.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1338 8092fc87-c524-0410-9efc-e669fe64eaf9
2004-02-29 00:04:18 +00:00
meep-eep 7a21deb2cd Fixed bug in build.sh.
Also: little typographical change in Makefile.build.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1337 8092fc87-c524-0410-9efc-e669fe64eaf9
2004-02-28 15:38:26 +00:00
meep-eep 2990805c14 Allow compilation in an other directory on unix, keeping the source tree
clean, by setting the BUILD_WORK environment variable.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1333 8092fc87-c524-0410-9efc-e669fe64eaf9
2004-02-27 14:09:13 +00:00
mcmartin eea57e89d5 Threadlib refactoring, phase 1
All constructs, save Mutexes, can carry names.  (Mutexes will carry them
once HMalloc doesn't require a Mutex.)

All constructs are now opaque to the game logic.  Some limited upcalls
will be added in phase 2 so that the game logic can initialize some
thread-local data in a backend-independent way.

DEBUG_TRACK_SEM is gone.  In its place are NAMED_SYNCHRO (which names
synchronization constructs) and TRACK_CONTENTION (which reports when
threads go to sleep because of synchronization constructs.)  Again,
Mutexes are immune.

A lot of conditionally compiled code in the threadlib was collated,
dramatically reducing the number of preprocessing directives.

The exposed (threadlib.h) and backend (sdlthreads.h) APIs match one
another more closely now, further reducing the level of preprocessor
work required.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1255 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-09-21 09:21:23 +00:00
meep-eep e5660ebd3f Don't use '--' with chmod and chown. The FreeBSD versions don't accept it,
and we don't need it anyhow, as we're not installing files or dirs that
start with a '-'.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1206 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-09-06 15:14:19 +00:00
meep-eep 8aadcc77db Added '(internal)' after the menu choice for MixSDL, so that people won't
try to download MixSDL libraries.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1205 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-09-06 15:08:49 +00:00
meep-eep 8c3af8ca01 Added support for installing files to ${prefix}/share/ and put the content
there by default.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1095 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-08-10 17:58:47 +00:00
meep-eep 8eb9d67850 Some more documentation.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1094 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-08-10 17:39:05 +00:00
meep-eep faa5b83345 Fix + OSX support.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1053 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-07-15 18:29:34 +00:00
meep-eep f7c97f2ba7 New io/packaging system.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1035 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-07-08 18:17:40 +00:00
meep-eep 1433d66456 Some little changes I still had lying around.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@999 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-06-28 16:51:51 +00:00
meep-eep 0f5ff09da6 Added some lines for QNX.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@977 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-06-13 12:20:05 +00:00
meep-eep 530aa3d000 Change for more portability.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@976 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-06-12 12:10:32 +00:00
meep-eep 0e0435be76 Little correction.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@975 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-06-12 11:37:23 +00:00
meep-eep 3545df4287 Fixed the main() argument types for test prog.
Fixed typo.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@969 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-05-21 10:03:57 +00:00
meep-eep 940396fa54 './build.sh uqm <nonsense>' gives a decent message now.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@899 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-03-19 08:22:43 +00:00
mcmartin a7f4654e3b "most strict" checking is less so, since -Wshadow is silly and -Werror isn't
usable yet


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@844 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-03-03 02:04:02 +00:00
meep-eep 769646b1e3 Fixed typos that sneaked in there.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@843 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-03-03 01:57:06 +00:00
meep-eep 6693e0a874 Installation permission bugs fixed.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@842 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-03-03 01:41:54 +00:00
meep-eep 52c1da310f Removed debug output line.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@811 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-24 03:40:09 +00:00
meep-eep 619640d01c Improved install program.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@802 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-23 22:28:08 +00:00
meep-eep a2e54e5f32 Added support for 'check boxes' to the menu system.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@801 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-22 22:42:24 +00:00
meep-eep 787a334a39 'local' is more common than 'typeset' after all... reverting.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@796 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-21 17:19:30 +00:00
meep-eep 721298ca72 More flexible for various platforms.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@795 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-21 17:10:21 +00:00
meep-eep 9f52d1580a Keep permissions when generating files from .in files.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@790 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-20 16:07:41 +00:00
meep-eep 2ff6ef2f57 Keep file permissions when generating files from .in files.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@786 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-20 00:41:33 +00:00
meep-eep 03b6d952b5 Some improvements on installation from source.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@785 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-19 21:17:10 +00:00