fix: tidy namespace Scenes::/Info:: PascalCase i locals UPPER_CASE

This commit is contained in:
2026-05-16 15:06:16 +02:00
parent ae89b252e2
commit ae359f4a1e
55 changed files with 303 additions and 303 deletions
+5 -5
View File
@@ -38,8 +38,8 @@ auto SDL_AppInit(void** /*appstate*/, int /*argc*/, char* /*argv*/[]) -> SDL_App
const char* base_path = SDL_GetBasePath();
std::string resource_pack_path;
if (base_path != nullptr) {
const std::string data_path = std::string(base_path) + "data/";
Jf::setResourceFolder(data_path.c_str());
const std::string DATA_PATH = std::string(base_path) + "data/";
Jf::setResourceFolder(DATA_PATH.c_str());
resource_pack_path = std::string(base_path) + "resources.pack";
} else {
resource_pack_path = "resources.pack";
@@ -49,11 +49,11 @@ auto SDL_AppInit(void** /*appstate*/, int /*argc*/, char* /*argv*/[]) -> SDL_App
// Release natiu exigix el pack (sense fallback); Debug i WASM mantenen
// el fallback actiu per a desenvolupament i per al build amb MEMFS.
#if defined(NDEBUG) && !defined(__EMSCRIPTEN__)
const bool enable_fallback = false;
const bool ENABLE_FALLBACK = false;
#else
const bool enable_fallback = true;
const bool ENABLE_FALLBACK = true;
#endif
if (!ResourceHelper::initializeResourceSystem(resource_pack_path, enable_fallback)) {
if (!ResourceHelper::initializeResourceSystem(resource_pack_path, ENABLE_FALLBACK)) {
return SDL_APP_FAILURE;
}