X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=screen.h;h=4e5357bc54f6a0083c95cde642d222dfb5ba799f;hp=64e0bc3674b87dd03ba1e2889cc0f2c541a2fb9a;hb=b29b9e54dee7965354aede860e187c6f6276a758;hpb=8dcce44300385b12c46d494c06aadcfa35a8bc14 diff --git a/screen.h b/screen.h index 64e0bc36..4e5357bc 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,30 @@ 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 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; +extern float scr_conlines; // lines of console to display -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 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 showfps; + +extern cvar_t crosshair; +extern cvar_t crosshair_size; +extern cvar_t crosshair_static; -// 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);