cl_console.h

Go to the documentation of this file.
00001 
00006 /*
00007 All original material Copyright (C) 2002-2010 UFO: Alien Invasion.
00008 
00009 Original file from Quake 2 v3.21: quake2-2.31/client/console.h
00010 Copyright (C) 1997-2001 Id Software, Inc.
00011 
00012 This program is free software; you can redistribute it and/or
00013 modify it under the terms of the GNU General Public License
00014 as published by the Free Software Foundation; either version 2
00015 of the License, or (at your option) any later version.
00016 
00017 This program is distributed in the hope that it will be useful,
00018 but WITHOUT ANY WARRANTY; without even the implied warranty of
00019 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
00020 
00021 See the GNU General Public License for more details.
00022 
00023 You should have received a copy of the GNU General Public License
00024 along with this program; if not, write to the Free Software
00025 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
00026 
00027 */
00028 
00029 #ifndef CLIENT_CL_CONSOLE_H
00030 #define CLIENT_CL_CONSOLE_H
00031 
00032 void Con_DrawCharacter(int cx, int line, int num);
00033 void Con_Scroll(int scroll);
00034 void Con_CheckResize(void);
00035 void Con_Init(void);
00036 void Con_DrawConsole(float frac);
00037 void Con_Print(const char *txt);
00038 void Con_DrawNotify(void);
00039 void Con_ClearNotify(void);
00040 void Con_ToggleConsole_f(void);
00041 void Con_Close(void);
00042 
00043 void Con_SaveConsoleHistory(void);
00044 void Con_LoadConsoleHistory(void);
00045 
00046 #define CONSOLE_COLORED_TEXT_MASK 128
00047 #define CONSOLE_PROMPT_CHAR ']'
00048 
00049 extern const int con_fontHeight;
00050 extern const int con_fontWidth;
00051 extern const int con_fontShift;
00052 
00053 #endif /* CLIENT_CL_CONSOLE_H */

Generated by  doxygen 1.6.2