00001 00005 /* 00006 Copyright (C) 2002-2010 UFO: Alien Invasion. 00007 00008 This program is free software; you can redistribute it and/or 00009 modify it under the terms of the GNU General Public License 00010 as published by the Free Software Foundation; either version 2 00011 of the License, or (at your option) any later version. 00012 00013 This program is distributed in the hope that it will be useful, 00014 but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 00016 00017 See the GNU General Public License for more details. 00018 00019 You should have received a copy of the GNU General Public License 00020 along with this program; if not, write to the Free Software 00021 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00022 00023 */ 00024 00025 #ifndef CLIENT_UI_UI_MAIN_H 00026 #define CLIENT_UI_UI_MAIN_H 00027 00028 #include "ui_data.h" 00029 #include "ui_windows.h" 00030 00032 struct cvar_s; 00033 extern struct cvar_s *mn_sequence; 00034 extern struct cvar_s *mn_hud; 00035 00036 /* initialization */ 00037 void UI_Init(void); 00038 void UI_Shutdown(void); 00039 void UI_Reinit(void); 00040 00041 /* misc */ 00042 void UI_SetCvar(const char *name, const char *str, float value); 00043 void UI_ExecuteConfunc(const char *fmt, ...) __attribute__((format(__printf__, 1, 2))); 00044 int UI_DebugMode(void); 00045 00046 #endif