mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-06 09:09:40 +02:00
vcmi: modernize lib/mapObjects
This commit is contained in:
@@ -114,8 +114,8 @@ public:
|
||||
void readTxt(CLegacyConfigParser & parser);
|
||||
void readMsk();
|
||||
void readMap(CBinaryReader & reader);
|
||||
void readJson(const JsonNode & node, const bool withTerrain = true);
|
||||
void writeJson(JsonNode & node, const bool withTerrain = true) const;
|
||||
void readJson(const JsonNode & node, bool withTerrain = true);
|
||||
void writeJson(JsonNode & node, bool withTerrain = true) const;
|
||||
|
||||
bool operator==(const ObjectTemplate& ot) const { return (id == ot.id && subid == ot.subid); }
|
||||
|
||||
@@ -132,7 +132,7 @@ private:
|
||||
|
||||
void calculateWidth();
|
||||
void calculateHeight();
|
||||
void calculateVsitable();
|
||||
void calculateVisitable();
|
||||
void calculateBlockedOffsets();
|
||||
void calculateBlockMapOffset();
|
||||
void calculateVisitableOffset();
|
||||
|
||||
Reference in New Issue
Block a user