makes bullet independant from gameengine for cmake, introduces esc-key during sim, disables collisions when no bullet there

This commit is contained in:
Daniel Genrich
2008-01-29 23:13:31 +00:00
parent 2e697f3b93
commit 7a7a52226f
9 changed files with 55 additions and 19 deletions

View File

@@ -392,6 +392,8 @@ class BlenderEnvironment(SConsEnvironment):
lenv.Append(CPPDEFINES=defines)
if lenv['WITH_BF_GAMEENGINE']:
lenv.Append(CPPDEFINES=['GAMEBLENDER=1'])
if lenv['WITH_BF_BULLET']:
lenv.Append(CPPDEFINES=['WITH_BULLET=1'])
# debug or not
# CXXFLAGS defaults to CCFLAGS, therefore
# we Replace() rather than Append() to CXXFLAGS the first time