Added 2 options to the Makefiles (enable in environment, user-def.mk,

or whatever):

NAN_NO_KETSJI: when set to true, disables compilation of the game engine.
NAN_JUST_BLENDERDYNAMIC: when set to true, only dynamic executable is
build (i.e., no plugin, etc).

Note that NAN_NO_KETSJI implies NAN_JUST_BLENDERDYNAMIC.
This commit is contained in:
Chris Want
2004-03-21 19:59:51 +00:00
parent 86108b3665
commit 5b90aafbd6
5 changed files with 43 additions and 2 deletions

View File

@@ -369,6 +369,7 @@ static void restore_all_scene_cfra(LinkNode *storelist) {
void start_game(void)
{
#if GAMEBLENDER == 1
#ifndef NAN_NO_KETSJI
Scene *sc, *startscene = G.scene;
LinkNode *scene_cfra_store;
@@ -426,6 +427,7 @@ void start_game(void)
allqueue(REDRAWACTION, 0);
allspace(REMAKEIPO, 0);
allqueue(REDRAWIPO, 0);
#endif
#else
notice("Game engine is disabled in this release!");
#endif