doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
idThread Class Reference

#include <Script_Thread.h>

Inheritance diagram for idThread:
idClass

Public Member Functions

 CLASS_PROTOTYPE (idThread)
 
 idThread ()
 
 idThread (idEntity *self, const function_t *func)
 
 idThread (const function_t *func)
 
 idThread (idInterpreter *source, const function_t *func, int args)
 
 idThread (idInterpreter *source, idEntity *self, const function_t *func, int args)
 
virtual ~idThread ()
 
void ManualDelete (void)
 
void Save (idSaveGame *savefile) const
 
void Restore (idRestoreGame *savefile)
 
void EnableDebugInfo (void)
 
void DisableDebugInfo (void)
 
void WaitMS (int time)
 
void WaitSec (float time)
 
void WaitFrame (void)
 
void CallFunction (const function_t *func, bool clearStack)
 
void CallFunction (idEntity *obj, const function_t *func, bool clearStack)
 
void DisplayInfo ()
 
bool IsDoneProcessing (void)
 
bool IsDying (void)
 
void End (void)
 
bool Execute (void)
 
void ManualControl (void)
 
void DoneProcessing (void)
 
void ContinueProcessing (void)
 
bool ThreadDying (void)
 
void EndThread (void)
 
bool IsWaiting (void)
 
void ClearWaitFor (void)
 
bool IsWaitingFor (idEntity *obj)
 
void ObjectMoveDone (idEntity *obj)
 
void ThreadCallback (idThread *thread)
 
void DelayedStart (int delay)
 
bool Start (void)
 
idThreadWaitingOnThread (void)
 
void SetThreadNum (int num)
 
int GetThreadNum (void)
 
void SetThreadName (const char *name)
 
const char * GetThreadName (void)
 
void Error (const char *fmt,...) const id_attribute((format(printf
 
void void Warning (const char *fmt,...) const id_attribute((format(printf
 
- Public Member Functions inherited from idClass
 ABSTRACT_PROTOTYPE (idClass)
 
voidoperator new (size_t)
 
voidoperator new (size_t s, int, int, char *, int)
 
void operator delete (void *)
 
void operator delete (void *, int, int, char *, int)
 
virtual ~idClass ()
 
void Spawn (void)
 
void CallSpawn (void)
 
bool IsType (const idTypeInfo &c) const
 
const char * GetClassname (void) const
 
const char * GetSuperclass (void) const
 
void FindUninitializedMemory (void)
 
void Save (idSaveGame *savefile) const
 
void Restore (idRestoreGame *savefile)
 
bool RespondsTo (const idEventDef &ev) const
 
bool PostEventMS (const idEventDef *ev, int time)
 
bool PostEventMS (const idEventDef *ev, int time, idEventArg arg1)
 
bool PostEventMS (const idEventDef *ev, int time, idEventArg arg1, idEventArg arg2)
 
bool PostEventMS (const idEventDef *ev, int time, idEventArg arg1, idEventArg arg2, idEventArg arg3)
 
bool PostEventMS (const idEventDef *ev, int time, idEventArg arg1, idEventArg arg2, idEventArg arg3, idEventArg arg4)
 
bool PostEventMS (const idEventDef *ev, int time, idEventArg arg1, idEventArg arg2, idEventArg arg3, idEventArg arg4, idEventArg arg5)
 
bool PostEventMS (const idEventDef *ev, int time, idEventArg arg1, idEventArg arg2, idEventArg arg3, idEventArg arg4, idEventArg arg5, idEventArg arg6)
 
bool PostEventMS (const idEventDef *ev, int time, idEventArg arg1, idEventArg arg2, idEventArg arg3, idEventArg arg4, idEventArg arg5, idEventArg arg6, idEventArg arg7)
 
bool PostEventMS (const idEventDef *ev, int time, idEventArg arg1, idEventArg arg2, idEventArg arg3, idEventArg arg4, idEventArg arg5, idEventArg arg6, idEventArg arg7, idEventArg arg8)
 
bool PostEventSec (const idEventDef *ev, float time)
 
bool PostEventSec (const idEventDef *ev, float time, idEventArg arg1)
 
bool PostEventSec (const idEventDef *ev, float time, idEventArg arg1, idEventArg arg2)
 
bool PostEventSec (const idEventDef *ev, float time, idEventArg arg1, idEventArg arg2, idEventArg arg3)
 
bool PostEventSec (const idEventDef *ev, float time, idEventArg arg1, idEventArg arg2, idEventArg arg3, idEventArg arg4)
 
bool PostEventSec (const idEventDef *ev, float time, idEventArg arg1, idEventArg arg2, idEventArg arg3, idEventArg arg4, idEventArg arg5)
 
bool PostEventSec (const idEventDef *ev, float time, idEventArg arg1, idEventArg arg2, idEventArg arg3, idEventArg arg4, idEventArg arg5, idEventArg arg6)
 
bool PostEventSec (const idEventDef *ev, float time, idEventArg arg1, idEventArg arg2, idEventArg arg3, idEventArg arg4, idEventArg arg5, idEventArg arg6, idEventArg arg7)
 
bool PostEventSec (const idEventDef *ev, float time, idEventArg arg1, idEventArg arg2, idEventArg arg3, idEventArg arg4, idEventArg arg5, idEventArg arg6, idEventArg arg7, idEventArg arg8)
 
bool ProcessEvent (const idEventDef *ev)
 
bool ProcessEvent (const idEventDef *ev, idEventArg arg1)
 
bool ProcessEvent (const idEventDef *ev, idEventArg arg1, idEventArg arg2)
 
bool ProcessEvent (const idEventDef *ev, idEventArg arg1, idEventArg arg2, idEventArg arg3)
 
bool ProcessEvent (const idEventDef *ev, idEventArg arg1, idEventArg arg2, idEventArg arg3, idEventArg arg4)
 
bool ProcessEvent (const idEventDef *ev, idEventArg arg1, idEventArg arg2, idEventArg arg3, idEventArg arg4, idEventArg arg5)
 
bool ProcessEvent (const idEventDef *ev, idEventArg arg1, idEventArg arg2, idEventArg arg3, idEventArg arg4, idEventArg arg5, idEventArg arg6)
 
bool ProcessEvent (const idEventDef *ev, idEventArg arg1, idEventArg arg2, idEventArg arg3, idEventArg arg4, idEventArg arg5, idEventArg arg6, idEventArg arg7)
 
bool ProcessEvent (const idEventDef *ev, idEventArg arg1, idEventArg arg2, idEventArg arg3, idEventArg arg4, idEventArg arg5, idEventArg arg6, idEventArg arg7, idEventArg arg8)
 
bool ProcessEventArgPtr (const idEventDef *ev, int *data)
 
void CancelEvents (const idEventDef *ev)
 
void Event_Remove (void)
 

Static Public Member Functions

static idThreadGetThread (int num)
 
static void ListThreads_f (const idCmdArgs &args)
 
static void Restart (void)
 
static void ObjectMoveDone (int threadnum, idEntity *obj)
 
static idList< idThread * > & GetThreads (void)
 
static void KillThread (const char *name)
 
static void KillThread (int num)
 
void void static idThreadCurrentThread (void)
 
static int CurrentThreadNum (void)
 
static bool BeginMultiFrameEvent (idEntity *ent, const idEventDef *event)
 
static void EndMultiFrameEvent (idEntity *ent, const idEventDef *event)
 
static void ReturnString (const char *text)
 
static void ReturnFloat (float value)
 
static void ReturnInt (int value)
 
static void ReturnVector (idVec3 const &vec)
 
static void ReturnEntity (idEntity *ent)
 
- Static Public Member Functions inherited from idClass
static void Init (void)
 
static void Shutdown (void)
 
static idTypeInfoGetClass (const char *name)
 
static void DisplayInfo_f (const idCmdArgs &args)
 
static void ListClasses_f (const idCmdArgs &args)
 
static idClassCreateInstance (const char *name)
 
static int GetNumTypes (void)
 
static int GetTypeNumBits (void)
 
static idTypeInfoGetType (int num)
 

Private Member Functions

void Init (void)
 
void Pause (void)
 
void Event_Execute (void)
 
void Event_SetThreadName (const char *name)
 
void Event_TerminateThread (int num)
 
void Event_Pause (void)
 
void Event_Wait (float time)
 
void Event_WaitFrame (void)
 
void Event_WaitFor (idEntity *ent)
 
void Event_WaitForThread (int num)
 
void Event_Print (const char *text)
 
void Event_PrintLn (const char *text)
 
void Event_Say (const char *text)
 
void Event_Assert (float value)
 
void Event_Trigger (idEntity *ent)
 
void Event_SetCvar (const char *name, const char *value) const
 
void Event_GetCvar (const char *name) const
 
void Event_Random (float range) const
 
void Event_GetTime (void)
 
void Event_KillThread (const char *name)
 
void Event_GetEntity (const char *name)
 
void Event_Spawn (const char *classname)
 
void Event_CopySpawnArgs (idEntity *ent)
 
void Event_SetSpawnArg (const char *key, const char *value)
 
void Event_SpawnString (const char *key, const char *defaultvalue)
 
void Event_SpawnFloat (const char *key, float defaultvalue)
 
void Event_SpawnVector (const char *key, idVec3 &defaultvalue)
 
void Event_ClearPersistantArgs (void)
 
void Event_SetPersistantArg (const char *key, const char *value)
 
void Event_GetPersistantString (const char *key)
 
void Event_GetPersistantFloat (const char *key)
 
void Event_GetPersistantVector (const char *key)
 
void Event_AngToForward (idAngles &ang)
 
void Event_AngToRight (idAngles &ang)
 
void Event_AngToUp (idAngles &ang)
 
void Event_GetSine (float angle)
 
void Event_GetCosine (float angle)
 
void Event_GetSquareRoot (float theSquare)
 
void Event_VecNormalize (idVec3 &vec)
 
void Event_VecLength (idVec3 &vec)
 
void Event_VecDotProduct (idVec3 &vec1, idVec3 &vec2)
 
void Event_VecCrossProduct (idVec3 &vec1, idVec3 &vec2)
 
void Event_VecToAngles (idVec3 &vec)
 
void Event_OnSignal (int signal, idEntity *ent, const char *func)
 
void Event_ClearSignalThread (int signal, idEntity *ent)
 
void Event_SetCamera (idEntity *ent)
 
void Event_FirstPerson (void)
 
void Event_Trace (const idVec3 &start, const idVec3 &end, const idVec3 &mins, const idVec3 &maxs, int contents_mask, idEntity *passEntity)
 
void Event_TracePoint (const idVec3 &start, const idVec3 &end, int contents_mask, idEntity *passEntity)
 
void Event_GetTraceFraction (void)
 
void Event_GetTraceEndPos (void)
 
void Event_GetTraceNormal (void)
 
void Event_GetTraceEntity (void)
 
void Event_GetTraceJoint (void)
 
void Event_GetTraceBody (void)
 
void Event_FadeIn (idVec3 &color, float time)
 
void Event_FadeOut (idVec3 &color, float time)
 
void Event_FadeTo (idVec3 &color, float alpha, float time)
 
void Event_SetShaderParm (int parmnum, float value)
 
void Event_StartMusic (const char *name)
 
void Event_Warning (const char *text)
 
void Event_Error (const char *text)
 
void Event_StrLen (const char *string)
 
void Event_StrLeft (const char *string, int num)
 
void Event_StrRight (const char *string, int num)
 
void Event_StrSkip (const char *string, int num)
 
void Event_StrMid (const char *string, int start, int num)
 
void Event_StrToFloat (const char *string)
 
void Event_RadiusDamage (const idVec3 &origin, idEntity *inflictor, idEntity *attacker, idEntity *ignore, const char *damageDefName, float dmgPower)
 
void Event_IsClient (void)
 
void Event_IsMultiplayer (void)
 
void Event_GetFrameTime (void)
 
void Event_GetTicsPerSecond (void)
 
void Event_CacheSoundShader (const char *soundName)
 
void Event_DebugLine (const idVec3 &color, const idVec3 &start, const idVec3 &end, const float lifetime)
 
void Event_DebugArrow (const idVec3 &color, const idVec3 &start, const idVec3 &end, const int size, const float lifetime)
 
void Event_DebugCircle (const idVec3 &color, const idVec3 &origin, const idVec3 &dir, const float radius, const int numSteps, const float lifetime)
 
void Event_DebugBounds (const idVec3 &color, const idVec3 &mins, const idVec3 &maxs, const float lifetime)
 
void Event_DrawText (const char *text, const idVec3 &origin, float scale, const idVec3 &color, const int align, const float lifetime)
 
void Event_InfluenceActive (void)
 

Private Attributes

idThreadwaitingForThread
 
int waitingFor
 
int waitingUntil
 
idInterpreter interpreter
 
idDict spawnArgs
 
int threadNum
 
idStr threadName
 
int lastExecuteTime
 
int creationTime
 
bool manualControl
 

Static Private Attributes

static idThreadcurrentThread = NULL
 
static int threadIndex = 0
 
static idList< idThread * > threadList
 
static trace_t trace
 

Detailed Description

Definition at line 77 of file Script_Thread.h.

Constructor & Destructor Documentation

idThread::idThread ( )

Definition at line 273 of file Script_Thread.cpp.

idThread::idThread ( idEntity self,
const function_t func 
)

Definition at line 286 of file Script_Thread.cpp.

idThread::idThread ( const function_t func)

Definition at line 302 of file Script_Thread.cpp.

idThread::idThread ( idInterpreter source,
const function_t func,
int  args 
)

Definition at line 318 of file Script_Thread.cpp.

idThread::idThread ( idInterpreter source,
idEntity self,
const function_t func,
int  args 
)

Definition at line 331 of file Script_Thread.cpp.

idThread::~idThread ( )
virtual

Definition at line 347 of file Script_Thread.cpp.

Member Function Documentation

bool idThread::BeginMultiFrameEvent ( idEntity ent,
const idEventDef event 
)
static

Definition at line 249 of file Script_Thread.cpp.

void idThread::CallFunction ( const function_t func,
bool  clearStack 
)

Definition at line 726 of file Script_Thread.cpp.

void idThread::CallFunction ( idEntity obj,
const function_t func,
bool  clearStack 
)

Definition at line 738 of file Script_Thread.cpp.

idThread::CLASS_PROTOTYPE ( idThread  )
void idThread::ClearWaitFor ( void  )

Definition at line 749 of file Script_Thread.cpp.

void idThread::ContinueProcessing ( void  )
inline

Definition at line 246 of file Script_Thread.h.

idThread * idThread::CurrentThread ( void  )
static

Definition at line 227 of file Script_Thread.cpp.

int idThread::CurrentThreadNum ( void  )
static

Definition at line 236 of file Script_Thread.cpp.

void idThread::DelayedStart ( int  delay)

Definition at line 558 of file Script_Thread.cpp.

void idThread::DisableDebugInfo ( void  )
inline

Definition at line 217 of file Script_Thread.h.

void idThread::DisplayInfo ( void  )

Definition at line 479 of file Script_Thread.cpp.

void idThread::DoneProcessing ( void  )
inline

Definition at line 245 of file Script_Thread.h.

void idThread::EnableDebugInfo ( void  )
inline

Definition at line 216 of file Script_Thread.h.

void idThread::End ( void  )

Definition at line 612 of file Script_Thread.cpp.

void idThread::EndMultiFrameEvent ( idEntity ent,
const idEventDef event 
)
static

Definition at line 261 of file Script_Thread.cpp.

void idThread::EndThread ( void  )
inline

Definition at line 248 of file Script_Thread.h.

void idThread::Error ( const char *  fmt,
  ... 
) const

Definition at line 809 of file Script_Thread.cpp.

void idThread::Event_AngToForward ( idAngles ang)
private

Definition at line 1274 of file Script_Thread.cpp.

void idThread::Event_AngToRight ( idAngles ang)
private

Definition at line 1283 of file Script_Thread.cpp.

void idThread::Event_AngToUp ( idAngles ang)
private

Definition at line 1295 of file Script_Thread.cpp.

void idThread::Event_Assert ( float  value)
private

Definition at line 1048 of file Script_Thread.cpp.

void idThread::Event_CacheSoundShader ( const char *  soundName)
private

Definition at line 1860 of file Script_Thread.cpp.

void idThread::Event_ClearPersistantArgs ( void  )
private

Definition at line 1219 of file Script_Thread.cpp.

void idThread::Event_ClearSignalThread ( int  signal,
idEntity ent 
)
private

Definition at line 1458 of file Script_Thread.cpp.

void idThread::Event_CopySpawnArgs ( idEntity ent)
private

Definition at line 1165 of file Script_Thread.cpp.

void idThread::Event_DebugArrow ( const idVec3 color,
const idVec3 start,
const idVec3 end,
const int  size,
const float  lifetime 
)
private

Definition at line 1878 of file Script_Thread.cpp.

void idThread::Event_DebugBounds ( const idVec3 color,
const idVec3 mins,
const idVec3 maxs,
const float  lifetime 
)
private

Definition at line 1896 of file Script_Thread.cpp.

void idThread::Event_DebugCircle ( const idVec3 color,
const idVec3 origin,
const idVec3 dir,
const float  radius,
const int  numSteps,
const float  lifetime 
)
private

Definition at line 1887 of file Script_Thread.cpp.

void idThread::Event_DebugLine ( const idVec3 color,
const idVec3 start,
const idVec3 end,
const float  lifetime 
)
private

Definition at line 1869 of file Script_Thread.cpp.

void idThread::Event_DrawText ( const char *  text,
const idVec3 origin,
float  scale,
const idVec3 color,
const int  align,
const float  lifetime 
)
private

Definition at line 1905 of file Script_Thread.cpp.

void idThread::Event_Error ( const char *  text)
private

Definition at line 1686 of file Script_Thread.cpp.

void idThread::Event_Execute ( void  )
private

Definition at line 888 of file Script_Thread.cpp.

void idThread::Event_FadeIn ( idVec3 color,
float  time 
)
private

Definition at line 1607 of file Script_Thread.cpp.

void idThread::Event_FadeOut ( idVec3 color,
float  time 
)
private

Definition at line 1623 of file Script_Thread.cpp.

void idThread::Event_FadeTo ( idVec3 color,
float  alpha,
float  time 
)
private

Definition at line 1639 of file Script_Thread.cpp.

void idThread::Event_FirstPerson ( void  )
private

Definition at line 1494 of file Script_Thread.cpp.

void idThread::Event_GetCosine ( float  angle)
private

Definition at line 1316 of file Script_Thread.cpp.

void idThread::Event_GetCvar ( const char *  name) const
private

Definition at line 1079 of file Script_Thread.cpp.

void idThread::Event_GetEntity ( const char *  name)
private

Definition at line 1128 of file Script_Thread.cpp.

void idThread::Event_GetFrameTime ( void  )
private

Definition at line 1842 of file Script_Thread.cpp.

void idThread::Event_GetPersistantFloat ( const char *  key)
private

Definition at line 1250 of file Script_Thread.cpp.

void idThread::Event_GetPersistantString ( const char *  key)
private

Definition at line 1238 of file Script_Thread.cpp.

void idThread::Event_GetPersistantVector ( const char *  key)
private

Definition at line 1262 of file Script_Thread.cpp.

void idThread::Event_GetSine ( float  angle)
private

Definition at line 1307 of file Script_Thread.cpp.

void idThread::Event_GetSquareRoot ( float  theSquare)
private

Definition at line 1345 of file Script_Thread.cpp.

void idThread::Event_GetTicsPerSecond ( void  )
private

Definition at line 1851 of file Script_Thread.cpp.

void idThread::Event_GetTime ( void  )
private

Definition at line 1110 of file Script_Thread.cpp.

void idThread::Event_GetTraceBody ( void  )
private

Definition at line 1587 of file Script_Thread.cpp.

void idThread::Event_GetTraceEndPos ( void  )
private

Definition at line 1536 of file Script_Thread.cpp.

void idThread::Event_GetTraceEntity ( void  )
private

Definition at line 1558 of file Script_Thread.cpp.

void idThread::Event_GetTraceFraction ( void  )
private

Definition at line 1527 of file Script_Thread.cpp.

void idThread::Event_GetTraceJoint ( void  )
private

Definition at line 1571 of file Script_Thread.cpp.

void idThread::Event_GetTraceNormal ( void  )
private

Definition at line 1545 of file Script_Thread.cpp.

void idThread::Event_InfluenceActive ( void  )
private

Definition at line 1914 of file Script_Thread.cpp.

void idThread::Event_IsClient ( void  )
private

Definition at line 1824 of file Script_Thread.cpp.

void idThread::Event_IsMultiplayer ( void  )
private

Definition at line 1833 of file Script_Thread.cpp.

void idThread::Event_KillThread ( const char *  name)
private

Definition at line 1119 of file Script_Thread.cpp.

void idThread::Event_OnSignal ( int  signal,
idEntity ent,
const char *  func 
)
private

Definition at line 1432 of file Script_Thread.cpp.

void idThread::Event_Pause ( void  )
private

Definition at line 959 of file Script_Thread.cpp.

void idThread::Event_Print ( const char *  text)
private

Definition at line 1021 of file Script_Thread.cpp.

void idThread::Event_PrintLn ( const char *  text)
private

Definition at line 1030 of file Script_Thread.cpp.

void idThread::Event_RadiusDamage ( const idVec3 origin,
idEntity inflictor,
idEntity attacker,
idEntity ignore,
const char *  damageDefName,
float  dmgPower 
)
private

Definition at line 1815 of file Script_Thread.cpp.

void idThread::Event_Random ( float  range) const
private

Definition at line 1088 of file Script_Thread.cpp.

void idThread::Event_Say ( const char *  text)
private

Definition at line 1039 of file Script_Thread.cpp.

void idThread::Event_SetCamera ( idEntity ent)
private

Definition at line 1475 of file Script_Thread.cpp.

void idThread::Event_SetCvar ( const char *  name,
const char *  value 
) const
private

Definition at line 1070 of file Script_Thread.cpp.

void idThread::Event_SetPersistantArg ( const char *  key,
const char *  value 
)
private

Definition at line 1229 of file Script_Thread.cpp.

void idThread::Event_SetShaderParm ( int  parmnum,
float  value 
)
private

Definition at line 1655 of file Script_Thread.cpp.

void idThread::Event_SetSpawnArg ( const char *  key,
const char *  value 
)
private

Definition at line 1174 of file Script_Thread.cpp.

void idThread::Event_SetThreadName ( const char *  name)
private

Definition at line 800 of file Script_Thread.cpp.

void idThread::Event_Spawn ( const char *  classname)
private

Definition at line 1151 of file Script_Thread.cpp.

void idThread::Event_SpawnFloat ( const char *  key,
float  defaultvalue 
)
private

Definition at line 1195 of file Script_Thread.cpp.

void idThread::Event_SpawnString ( const char *  key,
const char *  defaultvalue 
)
private

Definition at line 1183 of file Script_Thread.cpp.

void idThread::Event_SpawnVector ( const char *  key,
idVec3 defaultvalue 
)
private

Definition at line 1207 of file Script_Thread.cpp.

void idThread::Event_StartMusic ( const char *  name)
private

Definition at line 1668 of file Script_Thread.cpp.

void idThread::Event_StrLeft ( const char *  string,
int  num 
)
private

Definition at line 1707 of file Script_Thread.cpp.

void idThread::Event_StrLen ( const char *  string)
private

Definition at line 1695 of file Script_Thread.cpp.

void idThread::Event_StrMid ( const char *  string,
int  start,
int  num 
)
private

Definition at line 1774 of file Script_Thread.cpp.

void idThread::Event_StrRight ( const char *  string,
int  num 
)
private

Definition at line 1730 of file Script_Thread.cpp.

void idThread::Event_StrSkip ( const char *  string,
int  num 
)
private

Definition at line 1752 of file Script_Thread.cpp.

void idThread::Event_StrToFloat ( const char *  string)
private

Definition at line 1803 of file Script_Thread.cpp.

void idThread::Event_TerminateThread ( int  num)
private

Definition at line 947 of file Script_Thread.cpp.

void idThread::Event_Trace ( const idVec3 start,
const idVec3 end,
const idVec3 mins,
const idVec3 maxs,
int  contents_mask,
idEntity passEntity 
)
private

Definition at line 1503 of file Script_Thread.cpp.

void idThread::Event_TracePoint ( const idVec3 start,
const idVec3 end,
int  contents_mask,
idEntity passEntity 
)
private

Definition at line 1517 of file Script_Thread.cpp.

void idThread::Event_Trigger ( idEntity ent)
private

Definition at line 1057 of file Script_Thread.cpp.

void idThread::Event_VecCrossProduct ( idVec3 vec1,
idVec3 vec2 
)
private

Definition at line 1385 of file Script_Thread.cpp.

void idThread::Event_VecDotProduct ( idVec3 vec1,
idVec3 vec2 
)
private

Definition at line 1376 of file Script_Thread.cpp.

void idThread::Event_VecLength ( idVec3 vec)
private

Definition at line 1367 of file Script_Thread.cpp.

void idThread::Event_VecNormalize ( idVec3 vec)
private

Definition at line 1354 of file Script_Thread.cpp.

void idThread::Event_VecToAngles ( idVec3 vec)
private

Definition at line 1394 of file Script_Thread.cpp.

void idThread::Event_Wait ( float  time)
private

Definition at line 968 of file Script_Thread.cpp.

void idThread::Event_WaitFor ( idEntity ent)
private

Definition at line 986 of file Script_Thread.cpp.

void idThread::Event_WaitForThread ( int  num)
private

Definition at line 1001 of file Script_Thread.cpp.

void idThread::Event_WaitFrame ( void  )
private

Definition at line 977 of file Script_Thread.cpp.

void idThread::Event_Warning ( const char *  text)
private

Definition at line 1677 of file Script_Thread.cpp.

bool idThread::Execute ( void  )

Definition at line 668 of file Script_Thread.cpp.

idThread * idThread::GetThread ( int  num)
static

Definition at line 458 of file Script_Thread.cpp.

ID_INLINE const char * idThread::GetThreadName ( void  )

Definition at line 309 of file Script_Thread.h.

ID_INLINE int idThread::GetThreadNum ( void  )

Definition at line 300 of file Script_Thread.h.

ID_INLINE idList< idThread * > & idThread::GetThreads ( void  )
static

Definition at line 318 of file Script_Thread.h.

void idThread::Init ( void  )
private

Definition at line 432 of file Script_Thread.cpp.

ID_INLINE bool idThread::IsDoneProcessing ( void  )

Definition at line 327 of file Script_Thread.h.

ID_INLINE bool idThread::IsDying ( void  )

Definition at line 336 of file Script_Thread.h.

bool idThread::IsWaiting ( void  )

Definition at line 707 of file Script_Thread.cpp.

bool idThread::IsWaitingFor ( idEntity obj)

Definition at line 760 of file Script_Thread.cpp.

void idThread::KillThread ( const char *  name)
static

Definition at line 623 of file Script_Thread.cpp.

void idThread::KillThread ( int  num)
static

Definition at line 653 of file Script_Thread.cpp.

void idThread::ListThreads_f ( const idCmdArgs args)
static

Definition at line 518 of file Script_Thread.cpp.

void idThread::ManualControl ( void  )
inline

Definition at line 244 of file Script_Thread.h.

void idThread::ManualDelete ( void  )

Definition at line 374 of file Script_Thread.cpp.

void idThread::ObjectMoveDone ( int  threadnum,
idEntity obj 
)
static

Definition at line 594 of file Script_Thread.cpp.

void idThread::ObjectMoveDone ( idEntity obj)

Definition at line 770 of file Script_Thread.cpp.

void idThread::Pause ( void  )
private

Definition at line 897 of file Script_Thread.cpp.

void idThread::Restart ( void  )
static

Definition at line 535 of file Script_Thread.cpp.

void idThread::Restore ( idRestoreGame savefile)

Definition at line 409 of file Script_Thread.cpp.

void idThread::ReturnEntity ( idEntity ent)
static

Definition at line 879 of file Script_Thread.cpp.

void idThread::ReturnFloat ( float  value)
static

Definition at line 850 of file Script_Thread.cpp.

void idThread::ReturnInt ( int  value)
static

Definition at line 859 of file Script_Thread.cpp.

void idThread::ReturnString ( const char *  text)
static

Definition at line 841 of file Script_Thread.cpp.

void idThread::ReturnVector ( idVec3 const vec)
static

Definition at line 870 of file Script_Thread.cpp.

void idThread::Save ( idSaveGame savefile) const

Definition at line 383 of file Script_Thread.cpp.

void idThread::SetThreadName ( const char *  name)

Definition at line 585 of file Script_Thread.cpp.

ID_INLINE void idThread::SetThreadNum ( int  num)

Definition at line 291 of file Script_Thread.h.

bool idThread::Start ( void  )

Definition at line 571 of file Script_Thread.cpp.

void idThread::ThreadCallback ( idThread thread)

Definition at line 784 of file Script_Thread.cpp.

bool idThread::ThreadDying ( void  )
inline

Definition at line 247 of file Script_Thread.h.

void idThread::WaitFrame ( void  )

Definition at line 926 of file Script_Thread.cpp.

ID_INLINE idThread * idThread::WaitingOnThread ( void  )

Definition at line 282 of file Script_Thread.h.

void idThread::WaitMS ( int  time)

Definition at line 907 of file Script_Thread.cpp.

void idThread::WaitSec ( float  time)

Definition at line 917 of file Script_Thread.cpp.

void idThread::Warning ( const char *  fmt,
  ... 
) const

Definition at line 825 of file Script_Thread.cpp.

Member Data Documentation

int idThread::creationTime
private

Definition at line 92 of file Script_Thread.h.

END_CLASS idThread * idThread::currentThread = NULL
staticprivate

Definition at line 79 of file Script_Thread.h.

idInterpreter idThread::interpreter
private

Definition at line 84 of file Script_Thread.h.

int idThread::lastExecuteTime
private

Definition at line 91 of file Script_Thread.h.

bool idThread::manualControl
private

Definition at line 94 of file Script_Thread.h.

idDict idThread::spawnArgs
private

Definition at line 86 of file Script_Thread.h.

int idThread::threadIndex = 0
staticprivate

Definition at line 96 of file Script_Thread.h.

idList< idThread * > idThread::threadList
staticprivate

Definition at line 97 of file Script_Thread.h.

idStr idThread::threadName
private

Definition at line 89 of file Script_Thread.h.

int idThread::threadNum
private

Definition at line 88 of file Script_Thread.h.

trace_t idThread::trace
staticprivate

Definition at line 99 of file Script_Thread.h.

int idThread::waitingFor
private

Definition at line 82 of file Script_Thread.h.

idThread* idThread::waitingForThread
private

Definition at line 81 of file Script_Thread.h.

int idThread::waitingUntil
private

Definition at line 83 of file Script_Thread.h.


The documentation for this class was generated from the following files: