1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-21 00:19:29 +02:00

Fix tests

This commit is contained in:
Ivan Savenko
2024-07-14 07:56:02 +00:00
parent 1c63fefe02
commit c91f8cd511
2 changed files with 9 additions and 1 deletions

View File

@ -121,6 +121,10 @@ public:
return gameState.get();
}
void createBoat(const int3 & visitablePosition, BoatId type, PlayerColor initiator) override
{
}
bool moveHero(ObjectInstanceID hid, int3 dst, EMovementMode movementMode) override
{
return false;

View File

@ -37,11 +37,15 @@ public:
void setObjPropertyValue(ObjectInstanceID objid, ObjProperty prop, int32_t value = 0) override {}
void setObjPropertyID(ObjectInstanceID objid, ObjProperty prop, ObjPropertyID identifier) override {}
void setBankObjectConfiguration(ObjectInstanceID objid, const BankConfig & configuration) override {}
void setRewardableObjectConfiguration(ObjectInstanceID mapObjectID, const Rewardable::Configuration & configuration) override {}
void setRewardableObjectConfiguration(ObjectInstanceID townInstanceID, BuildingID buildingID, const Rewardable::Configuration & configuration) override {}
void showInfoDialog(InfoWindow * iw) override {}
void changeSpells(const CGHeroInstance * hero, bool give, const std::set<SpellID> &spells) override {}
bool removeObject(const CGObjectInstance * obj, const PlayerColor & initiator) override {return false;}
void createObject(const int3 & visitablePosition, const PlayerColor & initiator, MapObjectID type, MapObjectSubID subtype) override {};
void createBoat(const int3 & visitablePosition, BoatId type, PlayerColor initiator) override {}
void setOwner(const CGObjectInstance * objid, PlayerColor owner) override {}
void giveExperience(const CGHeroInstance * hero, TExpType val) override {}
void changePrimSkill(const CGHeroInstance * hero, PrimarySkill which, si64 val, bool abs=false) override {}