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

Add showTeleportDialog everywhere except actual code for AI and player

Just like TeleportDialog it's based off showBlockingDialog, but as number of package is higher when possible showTeleportDialog will be after other dialogs handling code.
This commit is contained in:
ArseniyShestakov
2015-03-08 16:52:50 +03:00
parent 18535db0ef
commit 25656aa586
9 changed files with 21 additions and 0 deletions

View File

@@ -92,6 +92,7 @@ public:
// all stacks operations between these objects become allowed, interface has to call onEnd when done
virtual void showGarrisonDialog(const CArmedInstance *up, const CGHeroInstance *down, bool removableUnits, QueryID queryID) = 0;
virtual void showTeleportDialog(TeleportChannelID channel, std::vector<ObjectInstanceID> exits, bool impassable, QueryID askID) = 0;
virtual void finish(){}; //if for some reason we want to end
};