refactor(data): reorganitza data/ i centralitza paths a defaults.hpp
This commit is contained in:
1 parent
9949096fba
commit
05465b791e
54 files changed
+368
-304
No files matched your search
@@ -33,6 +33,7 @@
|
||||
#include "core/input/key_config.hpp"
|
||||
#include "game/debug_config.hpp"
|
||||
#include "game/scenes/placeholder_input.hpp"
|
||||
#include "utils/defaults.hpp"
|
||||
|
||||
namespace {
|
||||
|
||||
@@ -114,7 +115,7 @@ namespace {
|
||||
|
||||
void testIsReservedScancodeAfterLoad() {
|
||||
std::cout << "T8 isReservedScancode després de KeyConfig::load\n";
|
||||
KeyConfig::get().load("data/input/keys.yaml");
|
||||
KeyConfig::get().load(Defaults::Paths::INPUT_YAML);
|
||||
CHECK(Placeholder::isReservedScancode(SDL_SCANCODE_F1));
|
||||
CHECK(Placeholder::isReservedScancode(SDL_SCANCODE_F12));
|
||||
CHECK(Placeholder::isReservedScancode(SDL_SCANCODE_ESCAPE));
|
||||
|
||||
Reference in new issue
Block a user