#include "matrixlib.h"
#include "snd_main.h"
+#include "view.h"
// NOTE: r_stat_name[] must match this indexing
typedef enum r_stat_e
extern cvar_t qport;
void CL_KeepaliveMessage(qbool readmessages); // call this during loading of large content
-//
-// view
-//
-void V_StartPitchDrift_f(cmd_state_t *cmd);
-void V_StopPitchDrift (void);
-
-void V_Init (void);
-void V_UpdateBlends (void);
-void V_ParseDamage (void);
-
//
// cl_part
//
void CL_Beam_AddPolygons(const beam_t *b);
void CL_UpdateMoveVars(void);
void SCR_CaptureVideo_SoundFrame(const portable_sampleframe_t *paintbuffer, size_t length);
-void V_DriftPitch(void);
-void V_FadeViewFlashs(void);
-void V_CalcViewBlend(void);
-void V_CalcRefdefUsing (const matrix4x4_t *entrendermatrix, const vec3_t clviewangles, qbool teleported, qbool clonground, qbool clcmdjump, float clstatsviewheight, qbool cldead, const vec3_t clvelocity);
-void V_CalcRefdef(void);
-void V_MakeViewIsometric(void);
-void V_MakeViewIsometric(void);
-void V_StartPitchDrift(void);
void CL_Locs_Reload_f(cmd_state_t *cmd);
#endif
<ClInclude Include="timing.h" />\r
<ClInclude Include="utf8lib.h" />\r
<ClInclude Include="vid.h" />\r
+ <ClInclude Include="view.h" />\r
<ClInclude Include="wad.h" />\r
<ClInclude Include="world.h" />\r
<ClInclude Include="zone.h" />\r
<ClInclude Include="timing.h" />\r
<ClInclude Include="utf8lib.h" />\r
<ClInclude Include="vid.h" />\r
+ <ClInclude Include="view.h" />\r
<ClInclude Include="wad.h" />\r
<ClInclude Include="world.h" />\r
<ClInclude Include="zone.h" />\r
--- /dev/null
+#ifndef VIEW_H
+#define VIEW_H
+
+#include "qtypes.h"
+#include "matrixlib.h"
+#include "cmd.h"
+
+void V_Init (void);
+void V_UpdateBlends (void);
+void V_ParseDamage (void);
+void V_DriftPitch(void);
+void V_FadeViewFlashs(void);
+void V_CalcViewBlend(void);
+void V_CalcRefdefUsing (const matrix4x4_t *entrendermatrix, const vec3_t clviewangles, qbool teleported, qbool clonground, qbool clcmdjump, float clstatsviewheight, qbool cldead, const vec3_t clvelocity);
+void V_CalcRefdef(void);
+void V_MakeViewIsometric(void);
+void V_StartPitchDrift(void);
+void V_StopPitchDrift (void);
+void V_StartPitchDrift_f(cmd_state_t *cmd);
+
+#endif