UFO: Alien Invasion
Loading...
Searching...
No Matches
cl_screen.h
Go to the documentation of this file.
1
5
6/*
7All original material Copyright (C) 2002-2025 UFO: Alien Invasion.
8
9Original file from Quake 2 v3.21: quake2-2.31/client/screen.h
10Copyright (C) 1997-2001 Id Software, Inc.
11
12This program is free software; you can redistribute it and/or
13modify it under the terms of the GNU General Public License
14as published by the Free Software Foundation; either version 2
15of the License, or (at your option) any later version.
16
17This program is distributed in the hope that it will be useful,
18but WITHOUT ANY WARRANTY; without even the implied warranty of
19MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
20
21See the GNU General Public License for more details.
22
23You should have received a copy of the GNU General Public License
24along with this program; if not, write to the Free Software
25Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
26
27*/
28
29#pragma once
30
31void SCR_Init(void);
32void SCR_Shutdown(void);
33void SCR_ChangeCursor(int cursor);
34void SCR_UpdateScreen(void);
35void SCR_DrawLoading(int percent);
36void SCR_BeginLoadingPlaque(void);
37void SCR_EndLoadingPlaque(void);
38void SCR_RunConsole(void);
39void SCR_DrawLoadingScreen(bool string, int percent);
void SCR_Init(void)
void SCR_DrawLoading(int percent)
Draws the current loading pic of the map from base/pics/maps/loading.
void SCR_DrawLoadingScreen(bool string, int percent)
Precache and loading screen at startup.
void SCR_EndLoadingPlaque(void)
void SCR_UpdateScreen(void)
This is called every frame, and can also be called explicitly to flush text to the screen.
void SCR_ChangeCursor(int cursor)
void SCR_RunConsole(void)
Scroll it up or down.
void SCR_BeginLoadingPlaque(void)
void SCR_Shutdown(void)