1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-10 06:39:49 +00:00

MWScript: updated vmformat.txt, changed opcodes to fix sequence.

Opcodes for StartCombat, StopCombat, GetTarget now follow the last
previous opcode.
This commit is contained in:
Sergey Shambir 2014-01-07 05:06:20 +04:00
parent d536ff3cdc
commit d5a0ff17fd
2 changed files with 13 additions and 7 deletions

View File

@ -371,4 +371,10 @@ op 0x2000230: Resurrect, explicit
op 0x2000231: GetSpellReadied
op 0x2000232: GetSpellReadied, explicit
op 0x2000233: GetPcJumping
opcodes 0x2000234-0x3ffffff unused
op 0x2000234: GetTarget
op 0x2000235: GetTargetExplicit
op 0x2000236: StartCombat
op 0x2000237: StartCombatExplicit
op 0x2000238: StopCombat
op 0x2000239: StopCombatExplicit
opcodes 0x2000239-0x3ffffff unused

View File

@ -53,12 +53,12 @@ namespace Compiler
const int opcodeGetLineOfSightExplicit = 0x2000223;
const int opcodeToggleAI = 0x2000224;
const int opcodeToggleAIExplicit = 0x2000225;
const int opcodeGetTarget = 0x2000b23;
const int opcodeGetTargetExplicit = 0x2000b24;
const int opcodeStartCombat = 0x2000b25;
const int opcodeStartCombatExplicit = 0x2000b26;
const int opcodeStopCombat = 0x2000b27;
const int opcodeStopCombatExplicit = 0x2000b28;
const int opcodeGetTarget = 0x2000234;
const int opcodeGetTargetExplicit = 0x2000235;
const int opcodeStartCombat = 0x2000236;
const int opcodeStartCombatExplicit = 0x2000237;
const int opcodeStopCombat = 0x2000238;
const int opcodeStopCombatExplicit = 0x2000239;
}
namespace Animation