mirror of
https://github.com/ondra-novak/gates_of_skeldal.git
synced 2025-07-13 01:41:59 -04:00
compile and run in windows (improvements needed)
This commit is contained in:
parent
f55f92a88b
commit
f70b29abab
83 changed files with 415 additions and 3747 deletions
|
@ -7,6 +7,18 @@
|
|||
|
||||
#define BGSWITCHBIT 0x8000
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(disable: 4244)
|
||||
#pragma warning(disable: 4996)
|
||||
#pragma warning(disable: 4459)
|
||||
#pragma warning(disable: 4267)
|
||||
#pragma warning(disable: 4100)
|
||||
#pragma warning(disable: 4456)
|
||||
#define CASE_FALLTHROUGH
|
||||
#else
|
||||
#define CASE_FALLTHROUGH [[fallthrough]]
|
||||
#endif
|
||||
|
||||
|
||||
#define SKELDALINI "skeldal.ini"
|
||||
|
||||
|
@ -72,11 +84,11 @@ char check_file_exists(const char *pathname);
|
|||
FILE *fopen_icase(const char *pathname, const char *mode);
|
||||
const char *file_icase_find(const char *pathname);
|
||||
|
||||
int stricmp(const char *a, const char *b);
|
||||
int istrcmp(const char *a, const char *b);
|
||||
int imatch(const char *haystack, const char *needle);
|
||||
#define MIN(a, b) ((a)<(b)?(a):(b))
|
||||
#define MAX(a, b) ((a)>(b)?(a):(b))
|
||||
void strupr(char *c);
|
||||
void strupper(char *c);
|
||||
const char * int2ascii(int i, char *c, int radix);
|
||||
|
||||
int get_timer_value(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue