mirror of
https://github.com/ondra-novak/gates_of_skeldal.git
synced 2025-07-18 12:16:40 -04:00
a lot of changes and support languages
This commit is contained in:
parent
185a6e5382
commit
f55f92a88b
38 changed files with 1221 additions and 467 deletions
25
game/skeldal.h
Normal file
25
game/skeldal.h
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue