Always use ResourcePath for referencing images and animations

This commit is contained in:
Ivan Savenko committed 2023-09-04 18:22:34 +03:00
1 parent f79492e5b0
commit 823ffa7a07
201 files changed
+1390 -1362

No files matched your search

+1 -1
View File
@@ -28,7 +28,7 @@ MapViewCache::MapViewCache(const std::shared_ptr<MapViewModel> & model)
: model(model)
, cachedLevel(0)
, mapRenderer(new MapRenderer())
, iconsStorage(new CAnimation("VwSymbol"))
, iconsStorage(new CAnimation(AnimationPath::builtin("VwSymbol")))
, intermediate(new Canvas(Point(32, 32)))
, terrain(new Canvas(model->getCacheDimensionsPixels()))
, terrainTransition(new Canvas(model->getPixelsVisibleDimensions()))