1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-21 09:53:50 +00:00

Updated compiler opcodes for COE, and setHello.

Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
This commit is contained in:
Lukasz Gromanowski 2013-12-31 18:13:38 +01:00
parent 50b6e828cc
commit 1ce4663065
2 changed files with 6 additions and 6 deletions

View file

@ -127,7 +127,6 @@ op 0x200007e-0x2000084: Enable Controls
op 0x2000085-0x200008b: Disable Controls op 0x2000085-0x200008b: Disable Controls
op 0x200008c: Unlock op 0x200008c: Unlock
op 0x200008d: Unlock, explicit reference op 0x200008d: Unlock, explicit reference
op 0x200008e: COE
op 0x200008e-0x20000a8: GetSkill op 0x200008e-0x20000a8: GetSkill
op 0x20000a9-0x20000c3: GetSkill, explicit reference op 0x20000a9-0x20000c3: GetSkill, explicit reference
op 0x20000c4-0x20000de: SetSkill op 0x20000c4-0x20000de: SetSkill
@ -358,5 +357,6 @@ op 0x2000222: GetLineOfSight
op 0x2000223: GetLineOfSightExplicit op 0x2000223: GetLineOfSightExplicit
op 0x2000224: ToggleAI op 0x2000224: ToggleAI
op 0x2000225: ToggleAIExplicit op 0x2000225: ToggleAIExplicit
op 0x2000226: COE
opcodes 0x2000226-0x3ffffff unused opcodes 0x2000227-0x3ffffff unused

View file

@ -25,9 +25,9 @@ namespace Compiler
const int opcodeAiFollowExplicit = 0x20023; const int opcodeAiFollowExplicit = 0x20023;
const int opcodeAiFollowCell = 0x20024; const int opcodeAiFollowCell = 0x20024;
const int opcodeAiFollowCellExplicit = 0x20025; const int opcodeAiFollowCellExplicit = 0x20025;
const int opcodeSetHello = 0x200015e; // Same id as opcodeSetFight const int opcodeSetHello = 0x200015c;
const int opcodeSetHelloExplicit = 0x200015d; const int opcodeSetHelloExplicit = 0x200015d;
const int opcodeSetFight = 0x200015e; // Same id as opcodeSetHello const int opcodeSetFight = 0x200015e;
const int opcodeSetFightExplicit = 0x200015f; const int opcodeSetFightExplicit = 0x200015f;
const int opcodeSetFlee = 0x2000160; const int opcodeSetFlee = 0x2000160;
const int opcodeSetFleeExplicit = 0x2000161; const int opcodeSetFleeExplicit = 0x2000161;
@ -69,7 +69,7 @@ namespace Compiler
{ {
const int opcodeCellChanged = 0x2000000; const int opcodeCellChanged = 0x2000000;
const int opcodeCOC = 0x2000026; const int opcodeCOC = 0x2000026;
const int opcodeCOE = 0x200008e; // Same ID as opcodeGetSkill const int opcodeCOE = 0x2000226;
const int opcodeGetInterior = 0x2000131; const int opcodeGetInterior = 0x2000131;
const int opcodeGetPCCell = 0x2000136; const int opcodeGetPCCell = 0x2000136;
const int opcodeGetWaterLevel = 0x2000141; const int opcodeGetWaterLevel = 0x2000141;
@ -290,7 +290,7 @@ namespace Compiler
const int opcodeGetDynamicGetRatio = 0x200006f; const int opcodeGetDynamicGetRatio = 0x200006f;
const int opcodeGetDynamicGetRatioExplicit = 0x2000072; const int opcodeGetDynamicGetRatioExplicit = 0x2000072;
const int opcodeGetSkill = 0x200008e; // Same ID as opcodeCOE const int opcodeGetSkill = 0x200008e;
const int opcodeGetSkillExplicit = 0x20000a9; const int opcodeGetSkillExplicit = 0x20000a9;
const int opcodeSetSkill = 0x20000c4; const int opcodeSetSkill = 0x20000c4;
const int opcodeSetSkillExplicit = 0x20000df; const int opcodeSetSkillExplicit = 0x20000df;