]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_video.c
Rename qboolean to qbool
[xonotic/darkplaces.git] / cl_video.c
index db97d1cd3ab69cc1255d589470a3eb724ef84dcc..b90738478eb493a0885f5fef7e225e294e6ab3ea 100644 (file)
@@ -46,7 +46,7 @@ static clvideo_t *FindUnusedVid( void )
        return NULL;
 }
 
-static qboolean OpenStream( clvideo_t * video )
+static qbool OpenStream( clvideo_t * video )
 {
        const char *errorstring;
 
@@ -104,7 +104,7 @@ static void SuspendVideo( clvideo_t * video )
        }
 }
 
-static qboolean WakeVideo( clvideo_t * video )
+static qbool WakeVideo( clvideo_t * video )
 {
        if( !video->suspended )
                return true;
@@ -444,7 +444,7 @@ static float CL_DrawVideo_WordWidthFunc(void *passthrough, const char *w, size_t
                return 0;
 }
 
-static int CL_DrawVideo_DisplaySubtitleLine(void *passthrough, const char *line, size_t length, float width, qboolean isContinuation)
+static int CL_DrawVideo_DisplaySubtitleLine(void *passthrough, const char *line, size_t length, float width, qbool isContinuation)
 {
        cl_video_subtitle_info_t *si = (cl_video_subtitle_info_t *) passthrough;
 
@@ -593,7 +593,7 @@ void CL_VideoStart(char *filename, const char *subtitlesfile)
        CL_RestartVideo( cl_videos );
 }
 
-void CL_Video_KeyEvent( int key, int ascii, qboolean down ) 
+void CL_Video_KeyEvent( int key, int ascii, qbool down ) 
 {
        // only react to up events, to allow the user to delay the abortion point if it suddenly becomes interesting..
        if( !down ) {