mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
Always use ResourcePath for referencing images and animations
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
|
||||
#include "../GameConstants.h"
|
||||
#include "../int3.h"
|
||||
#include "../filesystem/ResourcePath.h"
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
@@ -47,10 +48,10 @@ public:
|
||||
/// print priority, objects with higher priority will be print first, below everything else
|
||||
si32 printPriority;
|
||||
/// animation file that should be used to display object
|
||||
std::string animationFile;
|
||||
AnimationPath animationFile;
|
||||
|
||||
/// map editor only animation file
|
||||
std::string editorAnimationFile;
|
||||
AnimationPath editorAnimationFile;
|
||||
|
||||
/// string ID, equals to def base name for h3m files (lower case, no extension) or specified in mod data
|
||||
std::string stringID;
|
||||
|
||||
Reference in New Issue
Block a user