Quick refactor of the config system to make it easier to refactor config.cpp/hpp later.
This commit is contained in:
parent
47f659ae8e
commit
e523aa8b02
29 changed files with 138 additions and 140 deletions
|
|
@ -4,7 +4,7 @@
|
|||
namespace palette {
|
||||
using std::string;
|
||||
|
||||
void init(const std::string &config="assets/palette.json");
|
||||
void init(const std::string &config="palette");
|
||||
|
||||
sf::Color get(const string &key);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue