mirror of
https://github.com/ondra-novak/gates_of_skeldal.git
synced 2025-07-18 04:06:45 -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
|
@ -2,7 +2,7 @@
|
|||
#include "advconfig.h"
|
||||
|
||||
|
||||
#include <alloca.h>
|
||||
#include <malloc.h>
|
||||
#include <string.h>
|
||||
|
||||
|
||||
|
@ -17,25 +17,25 @@ static void process_row(INI_CONFIG_SECTION *sec, const char *row) {
|
|||
const char *value = sep+1;
|
||||
|
||||
|
||||
if (stricmp(key,"CESTA_GRAFIKA") == 0) {
|
||||
if (istrcmp(key,"CESTA_GRAFIKA") == 0) {
|
||||
ini_replace_key(sec, "graphics", value);
|
||||
} else if (stricmp(key, "CESTA_ZVUKY") == 0) {
|
||||
} else if (istrcmp(key, "CESTA_ZVUKY") == 0) {
|
||||
ini_replace_key(sec, "sounds", value);
|
||||
} else if (stricmp(key, "CESTA_FONTY") == 0) {
|
||||
} else if (istrcmp(key, "CESTA_FONTY") == 0) {
|
||||
ini_replace_key(sec, "fonts", value);
|
||||
} else if (stricmp(key, "CESTA_MAPY") == 0) {
|
||||
} else if (istrcmp(key, "CESTA_MAPY") == 0) {
|
||||
ini_replace_key(sec, "maps", value);
|
||||
} else if (stricmp(key, "CESTA_MUSIC") == 0) {
|
||||
} else if (istrcmp(key, "CESTA_MUSIC") == 0) {
|
||||
ini_replace_key(sec, "music_adv", value);
|
||||
} else if (stricmp(key, "CESTA_BGRAFIKA") == 0) {
|
||||
} else if (istrcmp(key, "CESTA_BGRAFIKA") == 0) {
|
||||
ini_replace_key(sec, "gui", value);
|
||||
} else if (stricmp(key, "CESTA_ITEMY") == 0) {
|
||||
} else if (istrcmp(key, "CESTA_ITEMY") == 0) {
|
||||
ini_replace_key(sec, "items", value);
|
||||
} else if (stricmp(key, "CESTA_ENEMY") == 0) {
|
||||
} else if (istrcmp(key, "CESTA_ENEMY") == 0) {
|
||||
ini_replace_key(sec, "enemy", value);
|
||||
} else if (stricmp(key, "CESTA_VIDEO") == 0) {
|
||||
} else if (istrcmp(key, "CESTA_VIDEO") == 0) {
|
||||
ini_replace_key(sec, "video", value);
|
||||
} else if (stricmp(key, "CESTA_DIALOGY") == 0) {
|
||||
} else if (istrcmp(key, "CESTA_DIALOGY") == 0) {
|
||||
ini_replace_key(sec, "dialogs", value);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue