gtkradiant/SConscript.q3map2.urt
Mateos81 58a263dbe4 Make NULL models rendered as a box, and selectable (were already editable)
TODO:
- Handle the case "Model not found".
- Add relevant console prints.
- Fix glitchy-looking selected box.

Alignments in code.

More texture suffix checks for DarkPlaces effect texture names.

PicoModel Backport: Fixed compilation.

Update .gitignore

Added more exclusions, most of them Windows/Visual Studio related.

Aligment.

Fix compilation on OS X. How is this working elsewhere?

This generates a different warning now, and is just wrong anyway.

Fix a handful of compiler warnings.

Fix for potentially using uninitialized variable

Fix gcc warning shdr may be used uninitialized

Fix gcc warning i may be used uninitialized

tweak previous pull with an assert

remove unused tex_palette

Fix gcc warning item may be used uninitialized in this function

read source file lists from .vcxproj files for SCons build

remove the old .vcproj

m4_submat modification

Fix gcc warning sizeof on array function parameter src will return size of float (*)[3]

Rollback on alignments.
2017-05-05 23:23:06 +02:00

26 lines
912 B
Python

# -*- mode: python -*-
# GtkRadiant build scripts
# TTimo <ttimo@ttimo.net>
# http://scons.org/
import os
Import( [ 'utils', 'config', 'settings', 'lib_objects' ] )
env = Environment( ENV = os.environ )
settings.SetupEnvironment( env, config['name'] )
env.Prepend( CPPPATH = [ '#tools/quake3/common', ] )
env.Append( LIBS = [ 'm', 'pthread', 'png', 'jpeg' ] )
proj = utils.vcxproj( os.path.join( GetLaunchDir(), 'tools/urt/tools/quake3/q3map2/q3map2_urt.vcxproj' ) )
objects = lib_objects
def keep_file( n ):
for skip in [ 'cmdlib.c', 'imagelib.c', 'inout.c', 'vfs.c', 'mutex.c', 'polylib.c', 'scriplib.c', 'threads.c', 'unzip.c' ]:
if ( n.find( skip ) != -1 ):
return False
return True
objects += filter( keep_file, [ os.path.join( 'tools/urt/tools/quake3/q3map2', i ) for i in proj.getSourceFiles() ] )
q3map2_urt = env.Program( 'q3map2_urt', objects )
Return( 'q3map2_urt' )