refactor: promote static const arrays to constexpr across audio/core/rendering

audio: birdPaths, cricketPaths, races
core/application: componentDirs (4 instances), compDirs
rendering/character_preview: componentDirs
rendering/character_renderer: regionCoords256, regionSizes256
This commit is contained in:
Kelsi 2026-03-27 15:31:21 -07:00
parent d6769172d1
commit c762688202
5 changed files with 10 additions and 10 deletions

View file

@ -355,7 +355,7 @@ void ActivitySoundManager::setCharacterVoiceProfile(const std::string& modelName
std::string base = "Human";
struct RaceMap { const char* token; const char* folder; const char* base; };
static const RaceMap races[] = {
static constexpr RaceMap races[] = {
{"human", "Human", "Human"},
{"orc", "Orc", "Orc"},
{"dwarf", "Dwarf", "Dwarf"},