1
0
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:
Ivan Savenko
2023-08-23 15:07:50 +03:00
parent f79492e5b0
commit 823ffa7a07
201 changed files with 1390 additions and 1362 deletions

View File

@@ -15,7 +15,7 @@ struct StartInfo;
class CMapHeader;
class Campaign;
class ResourceID;
class ResourcePath;
/**
* A class which stores the count of human players and all players, the filename,
@@ -46,7 +46,7 @@ public:
CMapInfo &operator=(const CMapInfo &other) = delete;
void mapInit(const std::string & fname);
void saveInit(const ResourceID & file);
void saveInit(const ResourcePath & file);
void campaignInit();
void countPlayers();
// TODO: Those must be on client-side