From 11512e8d2be442369391b98afdb019d7a75af729 Mon Sep 17 00:00:00 2001 From: cloudwalk Date: Tue, 29 Sep 2020 19:19:05 +0000 Subject: [PATCH] client: Move SCR prototype to screen.h git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12969 d7cf8633-e32d-0410-b094-e92efae38249 --- client.h | 1 - screen.h | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/client.h b/client.h index 5de21ca8..9f5d4f2d 100644 --- 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 diff --git a/screen.h b/screen.h index b2ad2990..d8ed7244 100644 --- 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 #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; -- 2.39.2