torque Torque Game Engine Documentation
TGE Version 1.5.2

ProcessList Class Reference

#include <gameBase.h>


Detailed Description

List to keep track of GameBases to process.


Public Member Functions

SimTime getLastTime ()
 ProcessList (bool isServer)
void markDirty ()
bool isDirty ()
void addObject (GameBase *obj)
F32 getLastInterpDelta ()
Advancing Time
The advance time functions return true if a tick was processed.

These functions go through either gServerProcessList or gClientProcessList and call each GameBase's processTick().

bool advanceServerTime (SimTime timeDelta)
bool advanceClientTime (SimTime timeDelta)

Private Member Functions

void orderList ()
void advanceObjects ()

Private Attributes

GameBase head
U32 mCurrentTag
SimTime mLastTick
SimTime mLastTime
SimTime mLastDelta
bool mIsServer
bool mDirty

Static Private Attributes

static bool mDebugControlSync


Constructor & Destructor Documentation

ProcessList::ProcessList ( bool  isServer  ) 


Member Function Documentation

void ProcessList::orderList (  )  [private]

void ProcessList::advanceObjects (  )  [private]

SimTime ProcessList::getLastTime (  )  [inline]

void ProcessList::markDirty (  )  [inline]

bool ProcessList::isDirty (  )  [inline]

void ProcessList::addObject ( GameBase obj  )  [inline]

F32 ProcessList::getLastInterpDelta (  )  [inline]

bool ProcessList::advanceServerTime ( SimTime  timeDelta  ) 

bool ProcessList::advanceClientTime ( SimTime  timeDelta  ) 


Field Documentation

bool ProcessList::mIsServer [private]

bool ProcessList::mDirty [private]

bool ProcessList::mDebugControlSync [static, private]




All Rights Reserved GarageGames.com, Inc. 1999-2005
Auto-magically Generated with Doxygen