Hook CalcRefdef, store punchAngles
This commit is contained in:
@@ -95,6 +95,7 @@ void hooks_restore(void);
|
||||
DECL_HOOK_EXTERN(void, CL_CreateMove, float, usercmd_t*, int);
|
||||
DECL_HOOK_EXTERN(int, HUD_Redraw, float, int);
|
||||
DECL_HOOK_EXTERN(void, StudioRenderModel, void*);
|
||||
DECL_HOOK_EXTERN(void, CalcRefdef, ref_params_t*);
|
||||
|
||||
/* OpenGL hooks */
|
||||
DECL_HOOK_EXTERN(void, glColor4f, GLfloat, GLfloat, GLfloat, GLfloat);
|
||||
|
||||
@@ -62,7 +62,7 @@ typedef struct cl_clientfuncs_s {
|
||||
void (*CL_CameraOffset)(float* ofs);
|
||||
struct kbutton_s* (*KB_Find)(const char* name);
|
||||
void (*CAM_Think)(void);
|
||||
void (*V_CalcRefdef)(struct ref_params_s* pparams);
|
||||
void (*CalcRefdef)(struct ref_params_s* pparams);
|
||||
int (*HUD_AddEntity)(int type, struct cl_entity_s* ent,
|
||||
const char* modelname);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user