]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
client: Move SCR prototype to screen.h
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@12969 d7cf8633-e32d-0410-b094-e92efae38249

client.h
screen.h

index 5de21ca84b66f3e40c42ebae369859aee42da6e2..9f5d4f2d768075c6c1a60445ec94b83e38320db9 100644 (file)
--- a/client.h
+++ b/client.h
@@ -1736,7 +1736,6 @@ void CL_FindNonSolidLocation(const vec3_t in, vec3_t out, vec_t radius);
 void CL_RelinkLightFlashes(void);
 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 CL_Locs_Reload_f(cmd_state_t *cmd);
 
 #endif
index b2ad29905972e9eab07cf1e618d6c6c7d895ae3c..d8ed724429a25fda28a84190095dbfe01bd0c10f 100644 (file)
--- a/screen.h
+++ b/screen.h
@@ -22,8 +22,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 #ifndef SCREEN_H
 #define SCREEN_H
 
+#include <stddef.h>
 #include "qtypes.h"
 #include "cvar.h"
+#include "snd_main.h"
 
 void CL_Screen_Init (void);
 void CL_UpdateScreen (void);
@@ -41,6 +43,8 @@ void SCR_PushLoadingScreen (const char *msg, float len_in_parent);
 void SCR_PopLoadingScreen (qbool redraw);
 void SCR_ClearLoadingScreen (qbool redraw);
 
+void SCR_CaptureVideo_SoundFrame(const portable_sampleframe_t *paintbuffer, size_t length);
+
 extern float scr_con_current; // current height of displayed console
 
 extern int sb_lines;