]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
client: Add cl_parse.h and move cl_parse prototypes to it
authorcloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 29 Sep 2020 19:19:05 +0000 (19:19 +0000)
committercloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 29 Sep 2020 19:19:05 +0000 (19:19 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12970 d7cf8633-e32d-0410-b094-e92efae38249

cl_parse.h [new file with mode: 0644]
client.h
darkplaces-sdl2-vs2017.vcxproj
darkplaces-sdl2-vs2019.vcxproj

diff --git a/cl_parse.h b/cl_parse.h
new file mode 100644 (file)
index 0000000..f9ae8b6
--- /dev/null
@@ -0,0 +1,17 @@
+#ifndef CL_PARSE_H
+#define CL_PARSE_H
+
+#include "qtypes.h"
+#include "cvar.h"
+
+extern cvar_t qport;
+
+void CL_Parse_Init(void);
+void CL_Parse_Shutdown(void);
+void CL_ParseServerMessage(void);
+void CL_Parse_DumpPacket(void);
+void CL_Parse_ErrorCleanUp(void);
+void QW_CL_StartUpload(unsigned char *data, int size);
+void CL_KeepaliveMessage(qbool readmessages); // call this during loading of large content
+
+#endif
index 9f5d4f2d768075c6c1a60445ec94b83e38320db9..769f57e9d34485cec2c12d6c6f27ca088ce21f8e 100644 (file)
--- a/client.h
+++ b/client.h
@@ -26,6 +26,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 #include "snd_main.h"
 #include "view.h"
 #include "cap.h"
+#include "cl_parse.h"
 
 // NOTE: r_stat_name[] must match this indexing
 typedef enum r_stat_e
@@ -1572,17 +1573,6 @@ void CL_TimeDemo_f(cmd_state_t *cmd);
 
 void CL_Demo_Init(void);
 
-//
-// cl_parse.c
-//
-void CL_Parse_Init(void);
-void CL_Parse_Shutdown(void);
-void CL_ParseServerMessage(void);
-void CL_Parse_DumpPacket(void);
-void CL_Parse_ErrorCleanUp(void);
-void QW_CL_StartUpload(unsigned char *data, int size);
-extern cvar_t qport;
-void CL_KeepaliveMessage(qbool readmessages); // call this during loading of large content
 
 //
 // cl_part
index 9e639574d4ad03f4b5377647ccb8c828f5746d96..87cd0335fbf9859b67d6aca79160e89947747999 100644 (file)
     <ClInclude Include="cdaudio.h" />\r
     <ClInclude Include="cl_collision.h" />\r
     <ClInclude Include="cl_gecko.h" />\r
+       <ClInclude Include="cl_parse.h" />\r
     <ClInclude Include="cl_screen.h" />\r
     <ClInclude Include="cl_video.h" />\r
     <ClInclude Include="cl_video_libavw.h" />\r
index 0c89882b9078158dc1b8eb1a8c428d7e9829f26f..5265e7c6310642e8e341f5f22fed90f379e5d3d0 100644 (file)
     <ClInclude Include="cdaudio.h" />\r
     <ClInclude Include="cl_collision.h" />\r
     <ClInclude Include="cl_gecko.h" />\r
+       <ClInclude Include="cl_parse.h" />\r
     <ClInclude Include="cl_screen.h" />\r
     <ClInclude Include="cl_video.h" />\r
     <ClInclude Include="cl_video_libavw.h" />\r