nou icono
corregit Makefile
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
#include "core/system/debug.hpp"
|
||||
|
||||
#ifdef _DEBUG
|
||||
|
||||
#include <algorithm> // Para max
|
||||
#include <memory> // Para __shared_ptr_access, shared_ptr
|
||||
|
||||
@@ -52,4 +54,6 @@ void Debug::render() {
|
||||
void Debug::setPos(SDL_FPoint p) {
|
||||
x_ = p.x;
|
||||
y_ = p.y;
|
||||
}
|
||||
}
|
||||
|
||||
#endif // _DEBUG
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user