mirror of
https://github.com/ondra-novak/gates_of_skeldal.git
synced 2025-07-13 09:52:01 -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
18
libs/string_table.h
Normal file
18
libs/string_table.h
Normal file
|
@ -0,0 +1,18 @@
|
|||
#pragma once
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
typedef struct stringtable_struct_tag TSTRINGTABLE;
|
||||
|
||||
TSTRINGTABLE *stringtable_load(const char *filename);
|
||||
|
||||
const char *stringtable_find(const TSTRINGTABLE *st, int id, const char *default_value);
|
||||
void stringtable_free(TSTRINGTABLE *st);
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue