arreglos en make i cmake per estandaritzar amb la resta de projectes

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-17 12:59:31 +02:00
parent 52369be7ae
commit 9d86137203
5 changed files with 199 additions and 30 deletions

View File

@@ -38,9 +38,9 @@ SDL_AppResult SDL_AppInit(void** /*appstate*/, int /*argc*/, char* /*argv*/[]) {
if (base_path) {
const std::string data_path = std::string(base_path) + "data/";
file_setresourcefolder(data_path.c_str());
resource_pack_path = std::string(base_path) + "resource.pack";
resource_pack_path = std::string(base_path) + "resources.pack";
} else {
resource_pack_path = "resource.pack";
resource_pack_path = "resources.pack";
}
// Sistema de recursos: prova el pack i cau a fitxers solts dins data/.