#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <dlfcn.h>
#include <stdarg.h>
#include "config.hpp"
#include "functions.hpp"
#include "gsc_player.hpp"
#include "gsc_astar.hpp"
#include "gsc_mysql.hpp"
#include "gsc_memory.hpp"
#include "gsc_car.hpp"
#include "gsc_tcc.hpp"
#include "gsc_utils.hpp"
#include "gsc_math.hpp"
#include "cracking.hpp"
Go to the source code of this file.
|
int | getStack () |
|
int | stackNew () |
|
int | stackPushUndefined () |
|
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 | stackGetParamType (int param) |
|
char * | stackGetParamTypeAsString (int param) |
|
int | stackGetParams (char *params,...) |
|
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 | stackPushArray () |
|
int | stackPushArrayLast () |
|
int | stackCallScriptFunction (int self, int scriptFunction, int numberOfArgs) |
|
int | stackSetKeyInArray (int precachedStringOffset) |
|
int | cdecl_injected_closer () |
|
int | cdecl_injected_closer_stack_debug () |
|
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) |
|
Scr_FunctionCall | Scr_GetCustomFunction (const char **fname, int *fdev) |
|
Scr_MethodCall | Scr_GetCustomMethod (const char **fname, int *fdev) |
|
#define COD2_MAX_STRINGLENGTH 1024 |
#define COD2_VERSION_1_0 0 |
#define COD2_VERSION_1_2 2 |
#define COD2_VERSION_1_3 3 |
typedef void(* Scr_FunctionCall) () |
typedef void(* Scr_MethodCall) (int) |
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 |
( |
| ) |
|
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 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_8101B40 |
( |
int |
self, |
|
|
int |
eInflictor, |
|
|
int |
eAttacker, |
|
|
float * |
vDir, |
|
|
float * |
vPoint, |
|
|
int |
iDamage, |
|
|
int |
iDFlags, |
|
|
int |
iMeansOfDeath, |
|
|
int |
iHitLoc, |
|
|
int |
psOffsetTime |
|
) |
| |