doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Macros | Typedefs | Enumerations | Variables
Script_Program.h File Reference

Go to the source code of this file.

Classes

class  function_t
 
union  eval_s
 
class  idTypeDef
 
class  idScriptObject
 
class  idScriptVariable< type, etype, returnType >
 
class  idCompileError
 
union  varEval_s
 
class  idVarDef
 
class  idVarDefName
 
struct  statement_s
 
class  idProgram
 

Macros

#define MAX_STRING_LEN   128
 
#define MAX_GLOBALS   196608
 
#define MAX_STRINGS   1024
 
#define MAX_FUNCS   3072
 
#define MAX_STATEMENTS   81920
 

Typedefs

typedef union eval_s eval_t
 
typedef idScriptVariable< int,
ev_boolean, int
idScriptBool
 
typedef idScriptVariable
< float, ev_float, float
idScriptFloat
 
typedef idScriptVariable
< float, ev_float, int
idScriptInt
 
typedef idScriptVariable
< idVec3, ev_vector, idVec3
idScriptVector
 
typedef idScriptVariable
< idStr, ev_string, const char * > 
idScriptString
 
typedef union varEval_s varEval_t
 
typedef struct statement_s statement_t
 

Enumerations

enum  etype_t {
  ev_error = -1, ev_void, ev_scriptevent, ev_namespace,
  ev_string, ev_float, ev_vector, ev_entity,
  ev_field, ev_function, ev_virtualfunction, ev_pointer,
  ev_object, ev_jumpoffset, ev_argsize, ev_boolean
}
 

Variables

idTypeDef type_void
 
idTypeDef type_scriptevent
 
idTypeDef type_namespace
 
idTypeDef type_string
 
idTypeDef type_float
 
idTypeDef type_vector
 
idTypeDef type_entity
 
idTypeDef type_field
 
idTypeDef type_function
 
idTypeDef type_virtualfunction
 
idTypeDef type_pointer
 
idTypeDef type_object
 
idTypeDef type_jumpoffset
 
idTypeDef type_argsize
 
idTypeDef type_boolean
 
idVarDef def_void
 
idVarDef def_scriptevent
 
idVarDef def_namespace
 
idVarDef def_string
 
idVarDef def_float
 
idVarDef def_vector
 
idVarDef def_entity
 
idVarDef def_field
 
idVarDef def_function
 
idVarDef def_virtualfunction
 
idVarDef def_pointer
 
idVarDef def_object
 
idVarDef def_jumpoffset
 
idVarDef def_argsize
 
idVarDef def_boolean
 

Macro Definition Documentation

#define MAX_FUNCS   3072

Definition at line 52 of file Script_Program.h.

#define MAX_GLOBALS   196608

Definition at line 45 of file Script_Program.h.

#define MAX_STATEMENTS   81920

Definition at line 58 of file Script_Program.h.

#define MAX_STRING_LEN   128

Definition at line 41 of file Script_Program.h.

#define MAX_STRINGS   1024

Definition at line 47 of file Script_Program.h.

Typedef Documentation

typedef union eval_s eval_t

Definition at line 277 of file Script_Program.h.

Definition at line 278 of file Script_Program.h.

Definition at line 279 of file Script_Program.h.

Definition at line 281 of file Script_Program.h.

Definition at line 280 of file Script_Program.h.

typedef struct statement_s statement_t
typedef union varEval_s varEval_t

Enumeration Type Documentation

enum etype_t
Enumerator
ev_error 
ev_void 
ev_scriptevent 
ev_namespace 
ev_string 
ev_float 
ev_vector 
ev_entity 
ev_field 
ev_function 
ev_virtualfunction 
ev_pointer 
ev_object 
ev_jumpoffset 
ev_argsize 
ev_boolean 

Definition at line 61 of file Script_Program.h.

Variable Documentation

idVarDef def_argsize
idVarDef def_boolean
idVarDef def_entity
idVarDef def_field
idVarDef def_float
idVarDef def_function
idVarDef def_jumpoffset
idVarDef def_namespace
idVarDef def_object
idVarDef def_pointer
idVarDef def_scriptevent
idVarDef def_string
idVarDef def_vector
idVarDef def_virtualfunction
idVarDef def_void
idTypeDef type_argsize

Definition at line 64 of file Script_Program.cpp.

idTypeDef type_boolean

Definition at line 65 of file Script_Program.cpp.

idTypeDef type_entity

Definition at line 57 of file Script_Program.cpp.

idTypeDef type_field

Definition at line 58 of file Script_Program.cpp.

idTypeDef type_float

Definition at line 55 of file Script_Program.cpp.

idTypeDef type_function

Definition at line 59 of file Script_Program.cpp.

idTypeDef type_jumpoffset

Definition at line 63 of file Script_Program.cpp.

idTypeDef type_namespace

Definition at line 53 of file Script_Program.cpp.

idTypeDef type_object

Definition at line 62 of file Script_Program.cpp.

idTypeDef type_pointer

Definition at line 61 of file Script_Program.cpp.

idTypeDef type_scriptevent

Definition at line 52 of file Script_Program.cpp.

idTypeDef type_string

Definition at line 54 of file Script_Program.cpp.

idTypeDef type_vector

Definition at line 56 of file Script_Program.cpp.

idTypeDef type_virtualfunction

Definition at line 60 of file Script_Program.cpp.

idTypeDef type_void

Definition at line 51 of file Script_Program.cpp.