1 #ifndef _INCLUDE_CONFIG_H 2 #define _INCLUDE_CONFIG_H 3 4 #include "pce.h" 5 #include "debug.h" 6 7 /* 8 #include "osd_keyboard.h" 9 #include "osd_cd.h" 10 */ 11 12 #include "interf.h" 13 #include "lang.h" 14 15 16 #if defined(SDL) 17 18 // #include "osd_machine_sdl.h" 19 20 #else // not SDL 21 22 // #include "osd_machine.h" 23 24 #endif 25 26 #if defined(LINUX) 27 28 #include "sys/param.h" 29 30 #endif 31 32 void set_config_file (const char *filename); 33 void set_config_file_back (void); 34 35 void parse_INIfile(); 36 /* check the configuration file for options 37 also make some global initialisations */ 38 39 void parse_commandline(int argc, char** argv); 40 /* check the command line for options */ 41 42 extern unsigned char joy_mapping[5][16]; 43 44 extern SInt32 smode,vmode; 45 46 extern char* bmdefault; 47 48 extern char cdsystem_path[PATH_MAX]; 49 50 #endif 51