1 /*************************************************************************** 2 cfg.h - description 3 ------------------- 4 begin : Sat Aug 5 2000 5 copyright : (C) 2000 by Michael Speck 6 email : kulkanie@gmx.net 7 ***************************************************************************/ 8 9 /*************************************************************************** 10 * * 11 * This program is free software; you can redistribute it and/or modify * 12 * it under the terms of the GNU General Public License as published by * 13 * the Free Software Foundation; either version 2 of the License, or * 14 * (at your option) any later version. * 15 * * 16 ***************************************************************************/ 17 18 #ifndef CFG_H 19 #define CFG_H 20 21 /* map_sizes */ 22 enum { 23 _4x4, 24 _5x4, 25 _6x4, 26 _6x5, 27 _8x5 28 }; 29 30 /* reveal? */ 31 enum { 32 NO_REVEAL, 33 FOR_5_SECONDS, 34 UNTIL_KEY_PRESSED 35 }; 36 37 // config file // 38 typedef struct { 39 //gfx 40 int dim; 41 int fullscreen; 42 // game 43 int sound; /* sound? */ 44 int sound_vol; 45 int map_size; 46 int reveal; 47 } Cfg; 48 49 void C_StPth(char *p); 50 void C_Ld(); 51 void C_Sv(); 52 void C_Def(); 53 54 #endif 55