mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-14 04:03:46 +00:00
Phase 1: Add a #define test
This commit is contained in:
parent
35d649b57e
commit
1c2effd7fa
6 changed files with 36 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue