Phase 1: Add a #define test

This commit is contained in:
Marc Chapman 2018-01-23 20:24:35 +00:00
parent 35d649b57e
commit 1c2effd7fa
6 changed files with 36 additions and 3 deletions

View file

@ -54,8 +54,10 @@
#include "gfx/gfxTextureManager.h"
#include "sfx/sfxSystem.h"
// Including this header provides access to certain system-level AFX methods.
#ifdef TORQUE_AFX_ENABLED
#include "afx/arcaneFX.h"
#endif
#ifdef TORQUE_PLAYER
// See matching #ifdef in editor/editor.cpp
bool gEditingMission = false;
@ -242,9 +244,11 @@ ConsoleFunctionGroupEnd(Platform);
bool clientProcess(U32 timeDelta)
{
#ifdef TORQUE_AFX_ENABLED
// Required heartbeat call on the client side which must come
// before the advanceTime() calls are made to the scene objects.
arcaneFX::advanceTime(timeDelta);
#endif
bool ret = true;
#ifndef TORQUE_TGB_ONLY