X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=screen.h;h=b479bc45396cb01ed8fecd9c5bc7e546d701dab9;hb=a1f6daea42fca6b37d92ca89ae7a9a18cb77588b;hp=64e0bc3674b87dd03ba1e2889cc0f2c541a2fb9a;hpb=8dcce44300385b12c46d494c06aadcfa35a8bc14;p=xonotic%2Fdarkplaces.git diff --git a/screen.h b/screen.h index 64e0bc36..b479bc45 100644 --- a/screen.h +++ b/screen.h @@ -8,7 +8,7 @@ of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. @@ -19,37 +19,33 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ // screen.h -void SCR_Init (void); +#ifndef SCREEN_H +#define SCREEN_H -void SCR_UpdateScreen (void); - - -void SCR_SizeUp (void); -void SCR_SizeDown (void); -void SCR_BringDownConsole (void); -void SCR_CenterPrint (char *str); +void CL_Screen_Init (void); +void CL_UpdateScreen (void); +void SCR_CenterPrint(char *str); void SCR_BeginLoadingPlaque (void); -void SCR_EndLoadingPlaque (void); - -int SCR_ModalMessage (char *text); -extern float scr_con_current; -extern float scr_conlines; // lines of console to display +extern float scr_con_current; // current height of displayed console -extern int scr_fullupdate; // set to 0 to force full redraw -extern int sb_lines; +extern int sb_lines; -extern int clearnotify; // set to 0 whenever notify text is drawn -extern qboolean scr_disabled_for_loading; -extern qboolean scr_skipupdate; +extern cvar_t scr_viewsize; +extern cvar_t scr_fov; +extern cvar_t showfps; +extern cvar_t showtime; +extern cvar_t showdate; -extern cvar_t scr_viewsize; +extern cvar_t crosshair; +extern cvar_t crosshair_size; +extern cvar_t crosshair_static; -extern cvar_t scr_viewsize; +extern cvar_t scr_conspeed; +extern cvar_t scr_conalpha; +extern cvar_t scr_conbrightness; +extern cvar_t r_letterbox; -// only the refresh window will be updated unless these variables are flagged -extern int scr_copytop; -extern int scr_copyeverything; +#endif -void SCR_UpdateWholeScreen (void);