mirror of
https://github.com/vcmi/vcmi.git
synced 2025-12-01 23:12:49 +02:00
Serverside validation, setting for terrain compatibility before cast etc
This commit is contained in:
@@ -92,6 +92,9 @@ private:
|
||||
/// casts current spell at specified location
|
||||
void performSpellcasting(const int3 & castTarget);
|
||||
|
||||
/// performs clientside validation of valid targets for adventure spells
|
||||
bool isValidAdventureSpellTarget(int3 targetPosition, const CGObjectInstance * topObjectAtTarget, SpellID spellId);
|
||||
|
||||
/// dim interface if some windows opened
|
||||
void dim(Canvas & to);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user