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
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
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
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
- 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@1379 8092fc87-c524-0410-9efc-e669fe64eaf9
- 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@1378 8092fc87-c524-0410-9efc-e669fe64eaf9
- 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@1377 8092fc87-c524-0410-9efc-e669fe64eaf9
- 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