refactor(shapes): reorganitzar data/shapes en subcarpetes per categoria (enemy/bullet/ship/effect)

This commit is contained in:
2026-05-26 18:25:15 +02:00
parent 164f58c883
commit 61a4886e62
30 changed files with 51 additions and 53 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ namespace Graphics {
return it->second; // Cache hit
}
// Normalize path: "ship.shp" → "shapes/ship.shp"
// Normalize path: "ship/arrow.shp" → "shapes/ship/arrow.shp"
// "logo/letra_j.shp" → "shapes/logo/letra_j.shp"
std::string normalized = filename;
if (!normalized.starts_with("shapes/")) {