make cfg ini functions public

This commit is contained in:
FunkyFr3sh 2021-09-16 02:25:22 +02:00
parent 58a86abfc8
commit 8702ffe44a
5 changed files with 38 additions and 30 deletions

View file

@ -21,4 +21,8 @@ extern CNCDDRAWCONFIG g_config;
void cfg_load();
void cfg_save();
BOOL cfg_get_bool(LPCSTR key, BOOL default_value);
int cfg_get_int(LPCSTR key, int default_value);
DWORD cfg_get_string(LPCSTR key, LPCSTR default_value, LPSTR out_string, DWORD out_size);
#endif

View file

@ -125,7 +125,6 @@ typedef struct CNCDDRAW
BOOL fixpitch;
int fixchilds;
BOOL fixwndprochook;
BOOL fixmousehook;
BOOL fixnotresponding;
BOOL d3d9linear;
BOOL gdilinear;