2022-11-08 07:01:00 -08:00
|
|
|
#ifndef FALLOUT_SFALL_GLOBAL_VARS_H_
|
|
|
|
#define FALLOUT_SFALL_GLOBAL_VARS_H_
|
|
|
|
|
2023-06-02 22:06:49 -07:00
|
|
|
#include "db.h"
|
|
|
|
|
2022-11-08 07:01:00 -08:00
|
|
|
namespace fallout {
|
|
|
|
|
2023-06-02 22:06:49 -07:00
|
|
|
bool sfall_gl_vars_init();
|
|
|
|
void sfall_gl_vars_reset();
|
|
|
|
void sfall_gl_vars_exit();
|
|
|
|
bool sfall_gl_vars_save(File* stream);
|
|
|
|
bool sfall_gl_vars_load(File* stream);
|
|
|
|
bool sfall_gl_vars_store(const char* key, int value);
|
|
|
|
bool sfall_gl_vars_store(int key, int value);
|
|
|
|
bool sfall_gl_vars_fetch(const char* key, int& value);
|
|
|
|
bool sfall_gl_vars_fetch(int key, int& value);
|
2022-11-08 07:01:00 -08:00
|
|
|
|
|
|
|
} // namespace fallout
|
|
|
|
|
|
|
|
#endif /* FALLOUT_SFALL_GLOBAL_VARS_H_ */
|