diff options
author | drumsetmonkey <abelleisle@roadrunner.com> | 2016-04-28 10:46:38 -0400 |
---|---|---|
committer | drumsetmonkey <abelleisle@roadrunner.com> | 2016-04-28 10:46:38 -0400 |
commit | 68cb663a370747c325eeeeea66cca86803e4b8e5 (patch) | |
tree | b82b7b8d77ff2a3439e99d11589bbf1a3ef1f07c /include/config.hpp | |
parent | 2e026aff928b30267a39ef6fdeec3e43e9f106e6 (diff) | |
parent | 174bcd3a415c21fc2c59a3af1b6333faa78b37d0 (diff) |
New inventory system
Diffstat (limited to 'include/config.hpp')
-rw-r--r-- | include/config.hpp | 25 |
1 files changed, 16 insertions, 9 deletions
diff --git a/include/config.hpp b/include/config.hpp index 8bd0bc9..bc9d052 100644 --- a/include/config.hpp +++ b/include/config.hpp @@ -1,18 +1,25 @@ #ifndef CONFIG_H #define CONFIG_H -#include <iostream> +#include <string> -#include <SDL2/SDL_mixer.h> +namespace game { + extern unsigned int HLINE; + extern unsigned int SCREEN_WIDTH; + extern unsigned int SCREEN_HEIGHT; + extern bool FULLSCREEN; -#include <tinyxml2.h> -#include <ui.hpp> + namespace config { + extern float VOLUME_MASTER; + extern float VOLUME_MUSIC; + extern float VOLUME_SFX; - -namespace config { - void read(void); - void update(void); - void save(void); + extern std::string xmlFolder; + + void read(void); + void update(void); + void save(void); + } } #endif //CONFIG_H |