|
libcod
|
#include "gsc.hpp"Data Structures | |
| struct | aStack |
Macros | |
| #define | TOSTRING2(str) #str |
| #define | TOSTRING1(str) TOSTRING2(str) |
| #define | AT __FILE__ ":" TOSTRING1(__LINE__) |
| #define | LEVEL_SPACE do { for (int i=0; i<level; i++) printf(" "); }while(0); |
| #define | MAX_OSPATH 256 |
| #define | MAX_ZPATH 256 |
| #define | MAX_SEARCH_PATHS 4096 |
| #define | MAX_FILEHASH_SIZE 1024 |
Functions | |
| char * | stackGetParamTypeAsString (int param) |
| int | stackPrintParam (int param) |
| void | gsc_utils_printf () |
| void | gsc_utils_printfline () |
| void | gsc_utils_com_printf () |
| void | gsc_utils_redirectprintf () |
| Scr_FunctionCall | Scr_GetCustomFunction (const char **fname, int *fdev) |
| void | gsc_player_printf (int id) |
| Scr_MethodCall | Scr_GetCustomMethod (const char **fname, int *fdev) |
| int | getStack () |
| int | stackGetParamType (int param) |
| int | stackGetParams (char *params,...) |
| int | getNumberOfParams () |
| int | stackGetParamInt (int param, int *value) |
| int | stackGetParamString (int param, char **value) |
| int | stackGetParamVector (int param, float value[3]) |
| int | stackGetParamFloat (int param, float *value) |
| int | stackGetNumberOfParams () |
| int | cdecl_injected_closer_stack_debug () |
| int | stackNew () |
| int | stackPushUndefined () |
| int | stackReturnInt (int ret) |
| int | stackPushInt (int ret) |
| int | stackReturnVector (float *ret) |
| int | stackPushVector (float *ret) |
| int | stackPushFloat (float ret) |
| int | stackPushString (char *toPush) |
| int | stackPushEntity (int arg) |
| int | stackCallScriptFunction (int self, int scriptFunction, int numberOfArgs) |
| int | stackPushArray () |
| int | stackSetKeyInArray (int precachedStringOffset) |
| int | stackPushArrayLast () |
| int | sub_807BCA8 () |
| int | sub_807AB64 (void *offsetData, int key, int a_plus_b_mod_fffd_plus_1) |
| void | print_aStack (aStack *stack) |
| int | sub_807B064 (void *offsetData, int key, int a_plus_b_mod_fffd_plus_1) |
| int | sub_807B1E6 (void *offsetData, int key) |
| int | sub_807C71C (void *offsetData, int key) |
| int | sub_807CB12 (int v2, aStackElement *stackElement) |
| int | sub_80853B6 (int key) |
| int | cdecl_injected_closer () |
| int | sub_8101B40 (int self, int eInflictor, int eAttacker, float *vDir, float *vPoint, int iDamage, int iDFlags, int iMeansOfDeath, int iHitLoc, int psOffsetTime) |
| int | cdecl_cod2_player_damage_new (int self, int eInflictor, int eAttacker, float *vDir, float *vPoint, int iDamage, int iDFlags, int iMeansOfDeath, int iHitLoc, int psOffsetTime) |
Variables | |
| Scr_GetFunction_t | Scr_GetFunction = (Scr_GetFunction_t)NULL |
| Scr_GetMethod_t | Scr_GetMethod = (Scr_GetMethod_t)NULL |
| Scr_Function | scriptFunctions [] |
| Scr_Method | scriptMethods [] |
| int | stackCallbackPlayerDamage = 0x0884D718 |
| int | level = 0 |
| #define AT __FILE__ ":" TOSTRING1(__LINE__) |
| #define LEVEL_SPACE do { for (int i=0; i<level; i++) printf(" "); }while(0); |
| #define MAX_FILEHASH_SIZE 1024 |
| #define MAX_OSPATH 256 |
| #define MAX_SEARCH_PATHS 4096 |
| #define MAX_ZPATH 256 |
| #define TOSTRING1 | ( | str | ) | TOSTRING2(str) |
| #define TOSTRING2 | ( | str | ) | #str |
| int cdecl_cod2_player_damage_new | ( | int | self, |
| int | eInflictor, | ||
| int | eAttacker, | ||
| float * | vDir, | ||
| float * | vPoint, | ||
| int | iDamage, | ||
| int | iDFlags, | ||
| int | iMeansOfDeath, | ||
| int | iHitLoc, | ||
| int | psOffsetTime | ||
| ) |
| int cdecl_injected_closer | ( | ) |
| int cdecl_injected_closer_stack_debug | ( | ) |
| int getNumberOfParams | ( | ) |
| int getStack | ( | ) |
| void gsc_player_printf | ( | int | id | ) |
| void gsc_utils_com_printf | ( | ) |
| void gsc_utils_printf | ( | ) |
| void gsc_utils_printfline | ( | ) |
| void gsc_utils_redirectprintf | ( | ) |
| void print_aStack | ( | aStack * | stack | ) |
| Scr_FunctionCall Scr_GetCustomFunction | ( | const char ** | fname, |
| int * | fdev | ||
| ) |
| Scr_MethodCall Scr_GetCustomMethod | ( | const char ** | fname, |
| int * | fdev | ||
| ) |
| int stackCallScriptFunction | ( | int | self, |
| int | scriptFunction, | ||
| int | numberOfArgs | ||
| ) |
| int stackGetNumberOfParams | ( | ) |
| int stackGetParamFloat | ( | int | param, |
| float * | value | ||
| ) |
| int stackGetParamInt | ( | int | param, |
| int * | value | ||
| ) |
| int stackGetParams | ( | char * | params, |
| ... | |||
| ) |
| int stackGetParamString | ( | int | param, |
| char ** | value | ||
| ) |
| int stackGetParamType | ( | int | param | ) |
| char* stackGetParamTypeAsString | ( | int | param | ) |
| int stackGetParamVector | ( | int | param, |
| float | value[3] | ||
| ) |
| int stackNew | ( | ) |
| int stackPrintParam | ( | int | param | ) |
| int stackPushArray | ( | ) |
| int stackPushArrayLast | ( | ) |
| int stackPushEntity | ( | int | arg | ) |
| int stackPushFloat | ( | float | ret | ) |
| int stackPushInt | ( | int | ret | ) |
| int stackPushString | ( | char * | toPush | ) |
| int stackPushUndefined | ( | ) |
| int stackPushVector | ( | float * | ret | ) |
| int stackReturnInt | ( | int | ret | ) |
| int stackReturnVector | ( | float * | ret | ) |
| int stackSetKeyInArray | ( | int | precachedStringOffset | ) |
| int sub_807AB64 | ( | void * | offsetData, |
| int | key, | ||
| int | a_plus_b_mod_fffd_plus_1 | ||
| ) |
| int sub_807B064 | ( | void * | offsetData, |
| int | key, | ||
| int | a_plus_b_mod_fffd_plus_1 | ||
| ) |
| int sub_807B1E6 | ( | void * | offsetData, |
| int | key | ||
| ) |
| int sub_807BCA8 | ( | ) |
| int sub_807C71C | ( | void * | offsetData, |
| int | key | ||
| ) |
| int sub_807CB12 | ( | int | v2, |
| aStackElement * | stackElement | ||
| ) |
| int sub_80853B6 | ( | int | key | ) |
| int sub_8101B40 | ( | int | self, |
| int | eInflictor, | ||
| int | eAttacker, | ||
| float * | vDir, | ||
| float * | vPoint, | ||
| int | iDamage, | ||
| int | iDFlags, | ||
| int | iMeansOfDeath, | ||
| int | iHitLoc, | ||
| int | psOffsetTime | ||
| ) |
| int level = 0 |
| Scr_GetFunction_t Scr_GetFunction = (Scr_GetFunction_t)NULL |
| Scr_GetMethod_t Scr_GetMethod = (Scr_GetMethod_t)NULL |
| Scr_Function scriptFunctions[] |
| Scr_Method scriptMethods[] |
| int stackCallbackPlayerDamage = 0x0884D718 |