1 /* $Id: winConfig.h,v 5.1 2001/05/19 10:11:58 bertg Exp $ 2 * 3 * XPilot, a multiplayer gravity war game. Copyright (C) 1991-2001 by 4 * 5 * Bj�rn Stabell <bjoern@xpilot.org> 6 * Ken Ronny Schouten <ken@xpilot.org> 7 * Bert Gijsbers <bert@xpilot.org> 8 * Dick Balaska <dick@xpilot.org> 9 * 10 * This program is free software; you can redistribute it and/or modify 11 * it under the terms of the GNU General Public License as published by 12 * the Free Software Foundation; either version 2 of the License, or 13 * (at your option) any later version. 14 * 15 * This program is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU General Public License for more details. 19 * 20 * You should have received a copy of the GNU General Public License 21 * along with this program; if not, write to the Free Software 22 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 23 */ 24 25 /***************************************************************************\ 26 * winConfig.h - Resources, defaults and stored configuration. 27 * 28 * $Id: winConfig.h,v 5.1 2001/05/19 10:11:58 bertg Exp $ 29 \***************************************************************************/ 30 31 #ifndef WIN_CONFIG_H 32 #define WIN_CONFIG_H 33 34 void Config_get_name(char *name); 35 void Config_get_team(int *my_team); 36 void Config_save_resource(FILE *fp, const char *resource, char *value); 37 void Config_save_window_positions(void); 38 void Config_get_profile_string( 39 const char* key, 40 const char* def, 41 char* result, 42 int size); 43 void Config_get_resource( 44 const char *resource, 45 char *result, 46 unsigned size, 47 int* index); 48 char *Get_xpilotini_file(int level); 49 50 #endif 51