mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 06:15:37 +03:00
Fixed silly link errors in MSVC
This commit is contained in:
parent
66d7d39bee
commit
1073a42409
@ -2,53 +2,53 @@
|
|||||||
#define HOOK_Call_H
|
#define HOOK_Call_H
|
||||||
|
|
||||||
|
|
||||||
int Call_Void_Void(AMX *amx, cell *params);
|
cell Call_Void_Void(AMX *amx, cell *params);
|
||||||
|
|
||||||
int Call_Int_Void(AMX *amx, cell *params);
|
cell Call_Int_Void(AMX *amx, cell *params);
|
||||||
|
|
||||||
int Call_Void_Entvar(AMX *amx, cell *params);
|
cell Call_Void_Entvar(AMX *amx, cell *params);
|
||||||
|
|
||||||
int Call_Void_Cbase(AMX *amx, cell *params);
|
cell Call_Void_Cbase(AMX *amx, cell *params);
|
||||||
|
|
||||||
int Call_Int_Float_Int(AMX *amx, cell *params);
|
cell Call_Int_Float_Int(AMX *amx, cell *params);
|
||||||
|
|
||||||
int Call_Void_Entvar_Int(AMX *amx, cell *params);
|
cell Call_Void_Entvar_Int(AMX *amx, cell *params);
|
||||||
|
|
||||||
int Call_Int_Cbase(AMX *amx, cell *params);
|
cell Call_Int_Cbase(AMX *amx, cell *params);
|
||||||
|
|
||||||
int Call_Void_Int_Int(AMX *amx, cell *params);
|
cell Call_Void_Int_Int(AMX *amx, cell *params);
|
||||||
|
|
||||||
int Call_Int_Int_Str_Int(AMX *amx, cell *params);
|
cell Call_Int_Int_Str_Int(AMX *amx, cell *params);
|
||||||
|
|
||||||
int Call_Int_Int(AMX *amx, cell *params);
|
cell Call_Int_Int(AMX *amx, cell *params);
|
||||||
|
|
||||||
int Call_Int_Entvar(AMX *amx, cell *params);
|
cell Call_Int_Entvar(AMX *amx, cell *params);
|
||||||
|
|
||||||
int Call_Int_Entvar_Entvar_Float_Int(AMX *amx, cell *params);
|
cell Call_Int_Entvar_Entvar_Float_Int(AMX *amx, cell *params);
|
||||||
|
|
||||||
int Call_Void_Int(AMX *amx, cell *params);
|
cell Call_Void_Int(AMX *amx, cell *params);
|
||||||
|
|
||||||
int Call_Void_Cbase_Cbase_Int_Float(AMX *amx, cell *params);
|
cell Call_Void_Cbase_Cbase_Int_Float(AMX *amx, cell *params);
|
||||||
|
|
||||||
int Call_Void_Entvar_Float_Vector_Trace_Int(AMX *amx, cell *params);
|
cell Call_Void_Entvar_Float_Vector_Trace_Int(AMX *amx, cell *params);
|
||||||
|
|
||||||
int Call_Void_Float_Vector_TraceResult_Int(AMX *amx, cell *params);
|
cell Call_Void_Float_Vector_TraceResult_Int(AMX *amx, cell *params);
|
||||||
|
|
||||||
int Call_Str_Void(AMX *amx, cell *params);
|
cell Call_Str_Void(AMX *amx, cell *params);
|
||||||
|
|
||||||
int Call_Cbase_Void(AMX *amx, cell *params);
|
cell Call_Cbase_Void(AMX *amx, cell *params);
|
||||||
|
|
||||||
int Call_Vector_Void(AMX *amx, cell *params);
|
cell Call_Vector_Void(AMX *amx, cell *params);
|
||||||
|
|
||||||
int Call_Vector_pVector(AMX *amx, cell *params);
|
cell Call_Vector_pVector(AMX *amx, cell *params);
|
||||||
|
|
||||||
int Call_Int_pVector(AMX *amx, cell *params);
|
cell Call_Int_pVector(AMX *amx, cell *params);
|
||||||
|
|
||||||
int Call_Void_Entvar_Float_Float(AMX *amx, cell *params);
|
cell Call_Void_Entvar_Float_Float(AMX *amx, cell *params);
|
||||||
|
|
||||||
int Call_Int_pFloat_pFloat(AMX *amx, cell *params);
|
cell Call_Int_pFloat_pFloat(AMX *amx, cell *params);
|
||||||
|
|
||||||
int Call_Void_Entvar_Float(AMX *amx, cell *params);
|
cell Call_Void_Entvar_Float(AMX *amx, cell *params);
|
||||||
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -2,53 +2,53 @@
|
|||||||
#define HOOK_ECALL_H
|
#define HOOK_ECALL_H
|
||||||
|
|
||||||
|
|
||||||
int eCall_Void_Void(AMX *amx, cell *params);
|
cell eCall_Void_Void(AMX *amx, cell *params);
|
||||||
|
|
||||||
int eCall_Int_Void(AMX *amx, cell *params);
|
cell eCall_Int_Void(AMX *amx, cell *params);
|
||||||
|
|
||||||
int eCall_Void_Entvar(AMX *amx, cell *params);
|
cell eCall_Void_Entvar(AMX *amx, cell *params);
|
||||||
|
|
||||||
int eCall_Void_Cbase(AMX *amx, cell *params);
|
cell eCall_Void_Cbase(AMX *amx, cell *params);
|
||||||
|
|
||||||
int eCall_Int_Float_Int(AMX *amx, cell *params);
|
cell eCall_Int_Float_Int(AMX *amx, cell *params);
|
||||||
|
|
||||||
int eCall_Void_Entvar_Int(AMX *amx, cell *params);
|
cell eCall_Void_Entvar_Int(AMX *amx, cell *params);
|
||||||
|
|
||||||
int eCall_Int_Cbase(AMX *amx, cell *params);
|
cell eCall_Int_Cbase(AMX *amx, cell *params);
|
||||||
|
|
||||||
int eCall_Void_Int_Int(AMX *amx, cell *params);
|
cell eCall_Void_Int_Int(AMX *amx, cell *params);
|
||||||
|
|
||||||
int eCall_Int_Int_Str_Int(AMX *amx, cell *params);
|
cell eCall_Int_Int_Str_Int(AMX *amx, cell *params);
|
||||||
|
|
||||||
int eCall_Int_Int(AMX *amx, cell *params);
|
cell eCall_Int_Int(AMX *amx, cell *params);
|
||||||
|
|
||||||
int eCall_Int_Entvar(AMX *amx, cell *params);
|
cell eCall_Int_Entvar(AMX *amx, cell *params);
|
||||||
|
|
||||||
int eCall_Int_Entvar_Entvar_Float_Int(AMX *amx, cell *params);
|
cell eCall_Int_Entvar_Entvar_Float_Int(AMX *amx, cell *params);
|
||||||
|
|
||||||
int eCall_Void_Int(AMX *amx, cell *params);
|
cell eCall_Void_Int(AMX *amx, cell *params);
|
||||||
|
|
||||||
int eCall_Void_Cbase_Cbase_Int_Float(AMX *amx, cell *params);
|
cell eCall_Void_Cbase_Cbase_Int_Float(AMX *amx, cell *params);
|
||||||
|
|
||||||
int eCall_Void_Entvar_Float_Vector_Trace_Int(AMX *amx, cell *params);
|
cell eCall_Void_Entvar_Float_Vector_Trace_Int(AMX *amx, cell *params);
|
||||||
|
|
||||||
int eCall_Void_Float_Vector_TraceResult_Int(AMX *amx, cell *params);
|
cell eCall_Void_Float_Vector_TraceResult_Int(AMX *amx, cell *params);
|
||||||
|
|
||||||
int eCall_Str_Void(AMX *amx, cell *params);
|
cell eCall_Str_Void(AMX *amx, cell *params);
|
||||||
|
|
||||||
int eCall_Cbase_Void(AMX *amx, cell *params);
|
cell eCall_Cbase_Void(AMX *amx, cell *params);
|
||||||
|
|
||||||
int eCall_Vector_Void(AMX *amx, cell *params);
|
cell eCall_Vector_Void(AMX *amx, cell *params);
|
||||||
|
|
||||||
int eCall_Vector_pVector(AMX *amx, cell *params);
|
cell eCall_Vector_pVector(AMX *amx, cell *params);
|
||||||
|
|
||||||
int eCall_Int_pVector(AMX *amx, cell *params);
|
cell eCall_Int_pVector(AMX *amx, cell *params);
|
||||||
|
|
||||||
int eCall_Void_Entvar_Float_Float(AMX *amx, cell *params);
|
cell eCall_Void_Entvar_Float_Float(AMX *amx, cell *params);
|
||||||
|
|
||||||
int eCall_Int_pFloat_pFloat(AMX *amx, cell *params);
|
cell eCall_Int_pFloat_pFloat(AMX *amx, cell *params);
|
||||||
|
|
||||||
int eCall_Void_Entvar_Float(AMX *amx, cell *params);
|
cell eCall_Void_Entvar_Float(AMX *amx, cell *params);
|
||||||
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -10,8 +10,8 @@ typedef struct hook_s
|
|||||||
int paramcount; // how many parameters are in the func
|
int paramcount; // how many parameters are in the func
|
||||||
void *targetfunc; // the target hook
|
void *targetfunc; // the target hook
|
||||||
int (*makefunc)(AMX *, const char*); // function that creates forwards
|
int (*makefunc)(AMX *, const char*); // function that creates forwards
|
||||||
int (*call)(AMX *, cell*); // function to call the vcall
|
cell (*call)(AMX *, cell*); // function to call the vcall
|
||||||
int (*ecall)(AMX *, cell*); // function to ecall the vcall
|
cell (*ecall)(AMX *, cell*); // function to ecall the vcall
|
||||||
} hook_t;
|
} hook_t;
|
||||||
|
|
||||||
extern hook_t hooklist[];
|
extern hook_t hooklist[];
|
||||||
|
Loading…
Reference in New Issue
Block a user