torque Torque Game Engine Documentation
TGE Version 1.5.2

engine/game/gameBase.h File Reference

#include "sim/sceneObject.h"
#include "core/resManager.h"
#include "dgl/gTexManager.h"

Data Structures

struct  GameBaseData
 Scriptable, demo-able datablock. More...
class  GameBase
 Base class for game objects which use datablocks, networking, are editable, and need to process ticks. More...
struct  GameBase::Link
class  ProcessList
 List to keep track of GameBases to process. More...

Defines

#define TickShift   5
#define TickMs   (1 << TickShift)
#define TickSec   (F32(TickMs) / 1000.0f)
#define TickMask   (TickMs - 1)

Functions

bool UNPACK_DB_ID (BitStream *, U32 &id)
bool PACK_DB_ID (BitStream *, U32 id)
bool PRELOAD_DB (U32 &id, SimDataBlock **, bool server, const char *clientMissing=NULL, const char *serverMissing=NULL)

Variables

ProcessList gClientProcessList
ProcessList gServerProcessList


Define Documentation

#define TickShift   5

#define TickMs   (1 << TickShift)

#define TickSec   (F32(TickMs) / 1000.0f)

#define TickMask   (TickMs - 1)


Function Documentation

bool UNPACK_DB_ID ( BitStream ,
U32 id 
)

bool PACK_DB_ID ( BitStream ,
U32  id 
)

bool PRELOAD_DB ( U32 id,
SimDataBlock **  ,
bool  server,
const char *  clientMissing = NULL,
const char *  serverMissing = NULL 
)


Variable Documentation




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