1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

battle only basic implementation

This commit is contained in:
Laserlicht
2025-10-18 21:43:05 +02:00
parent e81d5bc973
commit 4d37fe631b
21 changed files with 230 additions and 9 deletions

View File

@@ -272,6 +272,8 @@ public:
bool areAnyPlayers; /// Unused. True if there are any playable players on the map.
bool battleOnly; /// Battle only mode
/// "main quests" of the map that describe victory and loss conditions
std::vector<TriggeredEvent> triggeredEvents;
@@ -316,6 +318,8 @@ public:
h & levelLimit;
h & areAnyPlayers;
if (h.version >= Handler::Version::BATTLE_ONLY)
h & battleOnly;
h & players;
h & howManyTeams;
h & allowedHeroes;