Implement explodeSpell instruction (like Cast, with caster = target)

This commit is contained in:
scrawl 2014-01-03 04:44:50 +01:00
parent 93e1a2df73
commit 366801f3d5
5 changed files with 26 additions and 2 deletions

View file

@ -223,6 +223,7 @@ namespace Compiler
extensions.registerInstruction ("lock", "/l", opcodeLock, opcodeLockExplicit);
extensions.registerInstruction ("unlock", "", opcodeUnlock, opcodeUnlockExplicit);
extensions.registerInstruction ("cast", "SS", opcodeCast, opcodeCastExplicit);
extensions.registerInstruction ("explodespell", "S", opcodeExplodeSpell, opcodeExplodeSpellExplicit);
extensions.registerInstruction ("togglecollisionboxes", "", opcodeToggleCollisionBoxes);
extensions.registerInstruction ("togglecollisiongrid", "", opcodeToggleCollisionDebug);
extensions.registerInstruction ("tcb", "", opcodeToggleCollisionBoxes);