nou icono

corregit Makefile
This commit is contained in:
2025-11-16 21:11:52 +01:00
parent e4a61a7241
commit a5d43dfb1f
6 changed files with 12 additions and 3 deletions

View File

@@ -89,6 +89,11 @@ APP_SOURCES := \
source/game/entities/enemy.cpp \
source/game/entities/item.cpp \
source/game/gameplay/room.cpp \
source/game/gameplay/collision_map.cpp \
source/game/gameplay/enemy_manager.cpp \
source/game/gameplay/item_manager.cpp \
source/game/gameplay/room_loader.cpp \
source/game/gameplay/tilemap_renderer.cpp \
source/game/gameplay/scoreboard.cpp \
source/game/gameplay/cheevos.cpp \
source/game/gameplay/item_tracker.cpp \

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 113 KiB

After

Width:  |  Height:  |  Size: 114 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 204 KiB

After

Width:  |  Height:  |  Size: 204 KiB

View File

@@ -1,5 +1,7 @@
#include "core/system/debug.hpp"
#ifdef _DEBUG
#include <algorithm> // Para max
#include <memory> // Para __shared_ptr_access, shared_ptr
@@ -53,3 +55,5 @@ void Debug::setPos(SDL_FPoint p) {
x_ = p.x;
y_ = p.y;
}
#endif // _DEBUG

View File

@@ -78,14 +78,14 @@ Director::Director(std::vector<std::string> const& args) {
// 2. Validate pack integrity
std::cout << "Validating pack integrity..." << '\n';
if (!jdd::ResourceLoader::get().validatePack()) {
if (!Resource::Loader::get().validatePack()) {
std::cerr << "ERROR: Pack validation failed\n";
exit(EXIT_FAILURE);
}
// 3. Load assets.txt from pack
std::cout << "Loading assets configuration from pack..." << '\n';
std::string assets_config = jdd::ResourceLoader::get().loadAssetsConfig();
std::string assets_config = Resource::Loader::get().loadAssetsConfig();
if (assets_config.empty()) {
std::cerr << "ERROR: Failed to load assets.txt from pack\n";
exit(EXIT_FAILURE);