2020-10-13 09:20:52 +02:00
|
|
|
#ifndef CONFIG_H
|
|
|
|
#define CONFIG_H
|
|
|
|
|
|
|
|
#define WIN32_LEAN_AND_MEAN
|
|
|
|
#include <windows.h>
|
|
|
|
|
|
|
|
|
2021-06-11 20:30:43 +02:00
|
|
|
typedef struct CNCDDRAWCONFIG
|
2020-10-13 09:20:52 +02:00
|
|
|
{
|
|
|
|
RECT window_rect;
|
|
|
|
int window_state;
|
|
|
|
char ini_path[MAX_PATH];
|
2021-09-09 21:32:54 +02:00
|
|
|
char game_path[MAX_PATH];
|
|
|
|
char process_file_name[MAX_PATH];
|
2020-10-13 09:20:52 +02:00
|
|
|
int save_settings;
|
|
|
|
|
2021-06-11 20:30:43 +02:00
|
|
|
} CNCDDRAWCONFIG;
|
2020-10-13 09:20:52 +02:00
|
|
|
|
2021-06-11 20:30:43 +02:00
|
|
|
extern CNCDDRAWCONFIG g_config;
|
2020-10-13 09:20:52 +02:00
|
|
|
|
|
|
|
void cfg_load();
|
|
|
|
void cfg_save();
|
|
|
|
|
|
|
|
#endif
|