a lot of changes and support languages

This commit is contained in:
Ondřej Novák 2025-02-07 20:26:54 +01:00
parent 185a6e5382
commit f55f92a88b
38 changed files with 1221 additions and 467 deletions

25
game/skeldal.h Normal file
View file

@ -0,0 +1,25 @@
#pragma once
#ifdef __cplusplus
extern "C" {
#endif
typedef struct {
void (*short_help)();
void (*show_error)(const char *text);
const char *adventure_path;
const char *config_path;
const char *lang_path;
} SKELDAL_CONFIG;
int skeldal_entry_point(const SKELDAL_CONFIG *cfg);
int skeldal_gen_string_table_entry_point(const SKELDAL_CONFIG *cfg, const char *save_path);
#ifdef __cplusplus
}
#endif