initial commit

This commit is contained in:
R-type
2015-12-14 14:00:35 +01:00
commit 5a96c0ca66
377 changed files with 149124 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
#ifndef CFG_H_
#define CFG_H_
/* Load Atari800 text configuration file. */
int CFG_LoadConfig(const char *alternate_config_filename);
/* Writes Atari800 text configuration file. */
int CFG_WriteConfig(void);
/* Controls whether the configuration file will be saved on emulator exit. */
extern int CFG_save_on_exit;
/* Compares the string PARAM with each entry in the CFG_STRINGS array
(of size CFG_STRINGS_SIZE), and returns index under which PARAM is found.
If PARAM does not exist in CFG_STRINGS, returns value lower than 0.
String comparison is case-insensitive. */
int CFG_MatchTextParameter(char const *param, char const * const cfg_strings[], int cfg_strings_size);
#endif /* CFG_H_ */