7#include "../system/system_utils.h"
16 const std::string& entityName,
26 SYSTEM_LOG <<
"[ANIMATION ERROR] Missing animation:\n"
27 <<
" Entity: " << entityName <<
"\n"
30 <<
" Animation: " <<
animName <<
"\n"
31 <<
" Using fallback placeholder.\n";
36 const std::string& entityName,
37 const std::string& spritesheetId,
40 std::string
errorKey =
"MISSING_SPRITE:" + entityName +
":" + spritesheetId +
":" +
animName;
45 SYSTEM_LOG <<
"[ANIMATION ERROR] Missing spritesheet:\n"
46 <<
" Entity: " << entityName <<
"\n"
47 <<
" Spritesheet ID: " << spritesheetId <<
"\n"
48 <<
" Animation: " <<
animName <<
"\n"
49 <<
" Using fallback placeholder.\n";
60 SYSTEM_LOG <<
"[ANIMATION ERROR] " << message <<
"\n";
71 return "GENERIC:" +
error;
ComponentTypeID GetComponentTypeID_Static()
std::string GenerateErrorKey(const std::string &error)
void LogMissingSpritesheet(const std::string &entityName, const std::string &spritesheetId, const std::string &animName)
void LogError(const std::string &message)
void LogMissingAnimation(const std::string &entityName, const std::string &graphPath, const std::string &stateName, const std::string &animName)
std::unordered_set< std::string > m_loggedErrors