doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Functions | Variables
GuiScript.cpp File Reference
#include "../idlib/precompiled.h"
#include "Window.h"
#include "Winvar.h"
#include "GuiScript.h"
#include "UserInterfaceLocal.h"

Go to the source code of this file.

Classes

struct  guiCommandDef_t
 

Functions

void Script_Set (idWindow *window, idList< idGSWinVar > *src)
 
void Script_SetFocus (idWindow *window, idList< idGSWinVar > *src)
 
void Script_ShowCursor (idWindow *window, idList< idGSWinVar > *src)
 
void Script_RunScript (idWindow *window, idList< idGSWinVar > *src)
 
void Script_LocalSound (idWindow *window, idList< idGSWinVar > *src)
 
void Script_EvalRegs (idWindow *window, idList< idGSWinVar > *src)
 
void Script_EndGame (idWindow *window, idList< idGSWinVar > *src)
 
void Script_ResetTime (idWindow *window, idList< idGSWinVar > *src)
 
void Script_ResetCinematics (idWindow *window, idList< idGSWinVar > *src)
 
void Script_Transition (idWindow *window, idList< idGSWinVar > *src)
 

Variables

guiCommandDef_t commandList []
 
int scriptCommandCount = sizeof(commandList) / sizeof(guiCommandDef_t)
 

Function Documentation

void Script_EndGame ( idWindow window,
idList< idGSWinVar > *  src 
)

Definition at line 144 of file GuiScript.cpp.

void Script_EvalRegs ( idWindow window,
idList< idGSWinVar > *  src 
)

Definition at line 135 of file GuiScript.cpp.

void Script_LocalSound ( idWindow window,
idList< idGSWinVar > *  src 
)

Definition at line 123 of file GuiScript.cpp.

void Script_ResetCinematics ( idWindow window,
idList< idGSWinVar > *  src 
)

Definition at line 175 of file GuiScript.cpp.

void Script_ResetTime ( idWindow window,
idList< idGSWinVar > *  src 
)

Definition at line 154 of file GuiScript.cpp.

void Script_RunScript ( idWindow window,
idList< idGSWinVar > *  src 
)

Definition at line 108 of file GuiScript.cpp.

void Script_Set ( idWindow window,
idList< idGSWinVar > *  src 
)

Definition at line 43 of file GuiScript.cpp.

void Script_SetFocus ( idWindow window,
idList< idGSWinVar > *  src 
)

Definition at line 75 of file GuiScript.cpp.

void Script_ShowCursor ( idWindow window,
idList< idGSWinVar > *  src 
)

Definition at line 90 of file GuiScript.cpp.

void Script_Transition ( idWindow window,
idList< idGSWinVar > *  src 
)

Definition at line 184 of file GuiScript.cpp.

Variable Documentation

guiCommandDef_t commandList[]
Initial value:
= {
{ "set", Script_Set, 2, 999 },
{ "setFocus", Script_SetFocus, 1, 1 },
{ "endGame", Script_EndGame, 0, 0 },
{ "resetTime", Script_ResetTime, 0, 2 },
{ "showCursor", Script_ShowCursor, 1, 1 },
{ "resetCinematics", Script_ResetCinematics, 0, 2 },
{ "transition", Script_Transition, 4, 6 },
{ "localSound", Script_LocalSound, 1, 1 },
{ "runScript", Script_RunScript, 1, 1 },
{ "evalRegs", Script_EvalRegs, 0, 0 }
}
void Script_SetFocus(idWindow *window, idList< idGSWinVar > *src)
Definition: GuiScript.cpp:75
void Script_EvalRegs(idWindow *window, idList< idGSWinVar > *src)
Definition: GuiScript.cpp:135
void Script_Transition(idWindow *window, idList< idGSWinVar > *src)
Definition: GuiScript.cpp:184
void Script_LocalSound(idWindow *window, idList< idGSWinVar > *src)
Definition: GuiScript.cpp:123
void Script_Set(idWindow *window, idList< idGSWinVar > *src)
Definition: GuiScript.cpp:43
void Script_ShowCursor(idWindow *window, idList< idGSWinVar > *src)
Definition: GuiScript.cpp:90
void Script_RunScript(idWindow *window, idList< idGSWinVar > *src)
Definition: GuiScript.cpp:108
void Script_ResetCinematics(idWindow *window, idList< idGSWinVar > *src)
Definition: GuiScript.cpp:175
void Script_EndGame(idWindow *window, idList< idGSWinVar > *src)
Definition: GuiScript.cpp:144
void Script_ResetTime(idWindow *window, idList< idGSWinVar > *src)
Definition: GuiScript.cpp:154

Definition at line 247 of file GuiScript.cpp.

int scriptCommandCount = sizeof(commandList) / sizeof(guiCommandDef_t)

Definition at line 260 of file GuiScript.cpp.