mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-12 19:31:41 +00:00
core -- heartbeat call to arcaneFX::advanceTime() from within clientProcess().
misc -- various other function references
This commit is contained in:
parent
ace877b409
commit
9391fcad4e
4 changed files with 100 additions and 0 deletions
|
|
@ -20,6 +20,11 @@
|
|||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
|
||||
// Arcane-FX for MIT Licensed Open Source version of Torque 3D from GarageGames
|
||||
// Copyright (C) 2015 Faust Logic, Inc.
|
||||
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
|
||||
|
||||
#include "platform/platform.h"
|
||||
#include "platform/platformInput.h"
|
||||
|
||||
|
|
@ -49,6 +54,8 @@
|
|||
#include "gfx/gfxTextureManager.h"
|
||||
#include "sfx/sfxSystem.h"
|
||||
|
||||
// Including this header provides access to certain system-level AFX methods.
|
||||
#include "afx/arcaneFX.h"
|
||||
#ifdef TORQUE_PLAYER
|
||||
// See matching #ifdef in editor/editor.cpp
|
||||
bool gEditingMission = false;
|
||||
|
|
@ -235,6 +242,9 @@ ConsoleFunctionGroupEnd(Platform);
|
|||
|
||||
bool clientProcess(U32 timeDelta)
|
||||
{
|
||||
// Required heartbeat call on the client side which must come
|
||||
// before the advanceTime() calls are made to the scene objects.
|
||||
arcaneFX::advanceTime(timeDelta);
|
||||
bool ret = true;
|
||||
|
||||
#ifndef TORQUE_TGB_ONLY
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue