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
2
ai.cpp
2
ai.cpp
|
|
@ -66,7 +66,7 @@ namespace ai {
|
|||
|
||||
void init(std::string config_path) {
|
||||
if(!initialized) {
|
||||
Config config(config_path);
|
||||
auto config = settings::get(config_path);
|
||||
|
||||
// profile specifies what keys (bitset indexes) are allowed
|
||||
// and how they map to the bitset of State
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue