1 #ifndef COMPILER_OPCODES_H
2 #define COMPILER_OPCODES_H
3 
4 namespace Compiler
5 {
6     namespace Ai
7     {
8         const int opcodeAiTravel = 0x20000;
9         const int opcodeAiTravelExplicit = 0x20001;
10         const int opcodeAiEscort = 0x20002;
11         const int opcodeAiEscortExplicit = 0x20003;
12         const int opcodeGetAiPackageDone = 0x200007c;
13         const int opcodeGetAiPackageDoneExplicit = 0x200007d;
14         const int opcodeGetCurrentAiPackage = 0x20001ef;
15         const int opcodeGetCurrentAiPackageExplicit = 0x20001f0;
16         const int opcodeGetDetected = 0x20001f1;
17         const int opcodeGetDetectedExplicit = 0x20001f2;
18         const int opcodeAiWander = 0x20010;
19         const int opcodeAiWanderExplicit = 0x20011;
20         const int opcodeAIActivate = 0x2001e;
21         const int opcodeAIActivateExplicit = 0x2001f;
22         const int opcodeAiEscortCell = 0x20020;
23         const int opcodeAiEscortCellExplicit = 0x20021;
24         const int opcodeAiFollow = 0x20022;
25         const int opcodeAiFollowExplicit = 0x20023;
26         const int opcodeAiFollowCell = 0x20024;
27         const int opcodeAiFollowCellExplicit = 0x20025;
28         const int opcodeSetHello = 0x200015c;
29         const int opcodeSetHelloExplicit = 0x200015d;
30         const int opcodeSetFight = 0x200015e;
31         const int opcodeSetFightExplicit = 0x200015f;
32         const int opcodeSetFlee = 0x2000160;
33         const int opcodeSetFleeExplicit = 0x2000161;
34         const int opcodeSetAlarm = 0x2000162;
35         const int opcodeSetAlarmExplicit = 0x2000163;
36         const int opcodeModHello = 0x20001b7;
37         const int opcodeModHelloExplicit = 0x20001b8;
38         const int opcodeModFight = 0x20001b9;
39         const int opcodeModFightExplicit = 0x20001ba;
40         const int opcodeModFlee = 0x20001bb;
41         const int opcodeModFleeExplicit = 0x20001bc;
42         const int opcodeModAlarm = 0x20001bd;
43         const int opcodeModAlarmExplicit = 0x20001be;
44         const int opcodeGetHello = 0x20001bf;
45         const int opcodeGetHelloExplicit = 0x20001c0;
46         const int opcodeGetFight = 0x20001c1;
47         const int opcodeGetFightExplicit = 0x20001c2;
48         const int opcodeGetFlee = 0x20001c3;
49         const int opcodeGetFleeExplicit = 0x20001c4;
50         const int opcodeGetAlarm = 0x20001c5;
51         const int opcodeGetAlarmExplicit = 0x20001c6;
52         const int opcodeGetLineOfSight = 0x2000222;
53         const int opcodeGetLineOfSightExplicit = 0x2000223;
54         const int opcodeToggleAI = 0x2000224;
55         const int opcodeGetTarget = 0x2000238;
56         const int opcodeGetTargetExplicit = 0x2000239;
57         const int opcodeStartCombat = 0x200023a;
58         const int opcodeStartCombatExplicit = 0x200023b;
59         const int opcodeStopCombat = 0x200023c;
60         const int opcodeStopCombatExplicit = 0x200023d;
61         const int opcodeFace = 0x200024c;
62         const int opcodeFaceExplicit = 0x200024d;
63     }
64 
65     namespace Animation
66     {
67         const int opcodeSkipAnim = 0x2000138;
68         const int opcodeSkipAnimExplicit = 0x2000139;
69         const int opcodePlayAnim = 0x20006;
70         const int opcodePlayAnimExplicit = 0x20007;
71         const int opcodeLoopAnim = 0x20008;
72         const int opcodeLoopAnimExplicit = 0x20009;
73     }
74 
75     namespace Cell
76     {
77         const int opcodeCellChanged = 0x2000000;
78         const int opcodeTestCells = 0x200030e;
79         const int opcodeTestInteriorCells = 0x200030f;
80         const int opcodeCOC = 0x2000026;
81         const int opcodeCOE = 0x2000226;
82         const int opcodeGetInterior = 0x2000131;
83         const int opcodeGetPCCell = 0x2000136;
84         const int opcodeGetWaterLevel = 0x2000141;
85         const int opcodeSetWaterLevel = 0x2000142;
86         const int opcodeModWaterLevel = 0x2000143;
87     }
88 
89     namespace Console
90     {
91 
92     }
93 
94     namespace Container
95     {
96         const int opcodeAddItem = 0x2000076;
97         const int opcodeAddItemExplicit = 0x2000077;
98         const int opcodeGetItemCount = 0x2000078;
99         const int opcodeGetItemCountExplicit = 0x2000079;
100         const int opcodeRemoveItem = 0x200007a;
101         const int opcodeRemoveItemExplicit = 0x200007b;
102         const int opcodeEquip = 0x20001b3;
103         const int opcodeEquipExplicit = 0x20001b4;
104         const int opcodeGetArmorType = 0x20001d1;
105         const int opcodeGetArmorTypeExplicit = 0x20001d2;
106         const int opcodeHasItemEquipped = 0x20001d5;
107         const int opcodeHasItemEquippedExplicit = 0x20001d6;
108         const int opcodeHasSoulGem = 0x20001de;
109         const int opcodeHasSoulGemExplicit = 0x20001df;
110         const int opcodeGetWeaponType = 0x20001e0;
111         const int opcodeGetWeaponTypeExplicit = 0x20001e1;
112     }
113 
114     namespace Control
115     {
116         const int numberOfControls = 7;
117 
118         extern const char *controls[numberOfControls];
119 
120         const int opcodeEnable = 0x200007e;
121         const int opcodeDisable = 0x2000085;
122         const int opcodeToggleCollision = 0x2000130;
123         const int opcodeClearForceRun = 0x2000154;
124         const int opcodeClearForceRunExplicit = 0x2000155;
125         const int opcodeForceRun = 0x2000156;
126         const int opcodeForceRunExplicit = 0x2000157;
127         const int opcodeClearForceJump = 0x2000258;
128         const int opcodeClearForceJumpExplicit = 0x2000259;
129         const int opcodeForceJump = 0x200025a;
130         const int opcodeForceJumpExplicit = 0x200025b;
131         const int opcodeClearForceMoveJump = 0x200025c;
132         const int opcodeClearForceMoveJumpExplicit = 0x200025d;
133         const int opcodeForceMoveJump = 0x200025e;
134         const int opcodeForceMoveJumpExplicit = 0x200025f;
135         const int opcodeClearForceSneak = 0x2000158;
136         const int opcodeClearForceSneakExplicit = 0x2000159;
137         const int opcodeForceSneak = 0x200015a;
138         const int opcodeForceSneakExplicit = 0x200015b;
139         const int opcodeGetDisabled = 0x2000175;
140         const int opcodeGetPcRunning = 0x20001c9;
141         const int opcodeGetPcSneaking = 0x20001ca;
142         const int opcodeGetForceRun = 0x20001cb;
143         const int opcodeGetForceSneak = 0x20001cc;
144         const int opcodeGetForceRunExplicit = 0x20001cd;
145         const int opcodeGetForceSneakExplicit = 0x20001ce;
146         const int opcodeGetForceJump = 0x2000260;
147         const int opcodeGetForceMoveJump = 0x2000262;
148         const int opcodeGetForceJumpExplicit = 0x2000261;
149         const int opcodeGetForceMoveJumpExplicit = 0x2000263;
150     }
151 
152     namespace Dialogue
153     {
154         const int opcodeJournal = 0x2000133;
155         const int opcodeJournalExplicit = 0x200030b;
156         const int opcodeSetJournalIndex = 0x2000134;
157         const int opcodeGetJournalIndex = 0x2000135;
158         const int opcodeAddTopic = 0x200013a;
159         const int opcodeChoice = 0x2000a;
160         const int opcodeForceGreeting = 0x200014f;
161         const int opcodeForceGreetingExplicit = 0x2000150;
162         const int opcodeGoodbye = 0x2000152;
163         const int opcodeSetReputation = 0x20001ad;
164         const int opcodeModReputation = 0x20001ae;
165         const int opcodeSetReputationExplicit = 0x20001af;
166         const int opcodeModReputationExplicit = 0x20001b0;
167         const int opcodeGetReputation = 0x20001b1;
168         const int opcodeGetReputationExplicit = 0x20001b2;
169         const int opcodeSameFaction = 0x20001b5;
170         const int opcodeSameFactionExplicit = 0x20001b6;
171         const int opcodeModFactionReaction = 0x2000242;
172         const int opcodeSetFactionReaction = 0x20002ff;
173         const int opcodeGetFactionReaction = 0x2000243;
174         const int opcodeClearInfoActor = 0x2000245;
175         const int opcodeClearInfoActorExplicit = 0x2000246;
176     }
177 
178     namespace Gui
179     {
180         const int opcodeEnableBirthMenu = 0x200000e;
181         const int opcodeEnableClassMenu = 0x200000f;
182         const int opcodeEnableNameMenu = 0x2000010;
183         const int opcodeEnableRaceMenu = 0x2000011;
184         const int opcodeEnableStatsReviewMenu = 0x2000012;
185         const int opcodeEnableInventoryMenu = 0x2000013;
186         const int opcodeEnableMagicMenu = 0x2000014;
187         const int opcodeEnableMapMenu = 0x2000015;
188         const int opcodeEnableStatsMenu = 0x2000016;
189         const int opcodeEnableRest = 0x2000017;
190         const int opcodeEnableLevelupMenu = 0x2000300;
191         const int opcodeShowRestMenu = 0x2000018;
192         const int opcodeShowRestMenuExplicit = 0x2000234;
193         const int opcodeGetButtonPressed = 0x2000137;
194         const int opcodeToggleFogOfWar = 0x2000145;
195         const int opcodeToggleFullHelp = 0x2000151;
196         const int opcodeShowMap = 0x20001a0;
197         const int opcodeFillMap = 0x20001a1;
198         const int opcodeMenuTest = 0x2002c;
199         const int opcodeToggleMenus = 0x200024b;
200     }
201 
202     namespace Misc
203     {
204         const int opcodeXBox = 0x200000c;
205         const int opcodeOnActivate = 0x200000d;
206         const int opcodeOnActivateExplicit = 0x2000306;
207         const int opcodeActivate = 0x2000075;
208         const int opcodeActivateExplicit = 0x2000244;
209         const int opcodeLock = 0x20004;
210         const int opcodeLockExplicit = 0x20005;
211         const int opcodeUnlock = 0x200008c;
212         const int opcodeUnlockExplicit = 0x200008d;
213         const int opcodeToggleCollisionDebug = 0x2000132;
214         const int opcodeToggleCollisionBoxes = 0x20001ac;
215         const int opcodeToggleWireframe = 0x200013b;
216         const int opcodeFadeIn = 0x200013c;
217         const int opcodeFadeOut = 0x200013d;
218         const int opcodeFadeTo = 0x200013e;
219         const int opcodeToggleWater = 0x2000144;
220         const int opcodeToggleWorld = 0x20002f5;
221         const int opcodeTogglePathgrid = 0x2000146;
222         const int opcodeDontSaveObject = 0x2000153;
223         const int opcodePcForce1stPerson = 0x20002f6;
224         const int opcodePcForce3rdPerson = 0x20002f7;
225         const int opcodePcGet3rdPerson = 0x20002f8;
226         const int opcodeToggleVanityMode = 0x2000174;
227         const int opcodeGetPcSleep = 0x200019f;
228         const int opcodeGetPcJumping = 0x2000233;
229         const int opcodeWakeUpPc = 0x20001a2;
230         const int opcodeGetLocked = 0x20001c7;
231         const int opcodeGetLockedExplicit = 0x20001c8;
232         const int opcodeGetEffect = 0x20001cf;
233         const int opcodeGetEffectExplicit = 0x20001d0;
234         const int opcodeBetaComment = 0x2002d;
235         const int opcodeBetaCommentExplicit = 0x2002e;
236         const int opcodeAddSoulGem = 0x20001f3;
237         const int opcodeAddSoulGemExplicit = 0x20001f4;
238         const int opcodeRemoveSoulGem = 0x20027;
239         const int opcodeRemoveSoulGemExplicit = 0x20028;
240         const int opcodeDrop = 0x20001f8;
241         const int opcodeDropExplicit = 0x20001f9;
242         const int opcodeDropSoulGem = 0x20001fa;
243         const int opcodeDropSoulGemExplicit = 0x20001fb;
244         const int opcodeGetAttacked = 0x20001d3;
245         const int opcodeGetAttackedExplicit = 0x20001d4;
246         const int opcodeGetWeaponDrawn = 0x20001d7;
247         const int opcodeGetWeaponDrawnExplicit = 0x20001d8;
248         const int opcodeGetSpellReadied = 0x2000231;
249         const int opcodeGetSpellReadiedExplicit = 0x2000232;
250         const int opcodeGetSpellEffects = 0x20001db;
251         const int opcodeGetSpellEffectsExplicit = 0x20001dc;
252         const int opcodeGetCurrentTime = 0x20001dd;
253         const int opcodeSetDelete = 0x20001e5;
254         const int opcodeSetDeleteExplicit = 0x20001e6;
255         const int opcodeGetSquareRoot = 0x20001e7;
256         const int opcodeFall = 0x200020a;
257         const int opcodeFallExplicit = 0x200020b;
258         const int opcodeGetStandingPc = 0x200020c;
259         const int opcodeGetStandingPcExplicit = 0x200020d;
260         const int opcodeGetStandingActor = 0x200020e;
261         const int opcodeGetStandingActorExplicit = 0x200020f;
262         const int opcodeGetCollidingPc = 0x2000250;
263         const int opcodeGetCollidingPcExplicit = 0x2000251;
264         const int opcodeGetCollidingActor = 0x2000252;
265         const int opcodeGetCollidingActorExplicit = 0x2000253;
266         const int opcodeHurtStandingActor = 0x2000254;
267         const int opcodeHurtStandingActorExplicit = 0x2000255;
268         const int opcodeHurtCollidingActor = 0x2000256;
269         const int opcodeHurtCollidingActorExplicit = 0x2000257;
270         const int opcodeGetWindSpeed = 0x2000212;
271         const int opcodePlayBink = 0x20001f7;
272         const int opcodeGoToJail = 0x2000235;
273         const int opcodePayFine = 0x2000236;
274         const int opcodePayFineThief = 0x2000237;
275         const int opcodeHitOnMe = 0x2000213;
276         const int opcodeHitOnMeExplicit = 0x2000214;
277         const int opcodeHitAttemptOnMe = 0x20002f9;
278         const int opcodeHitAttemptOnMeExplicit = 0x20002fa;
279         const int opcodeDisableTeleporting = 0x2000215;
280         const int opcodeEnableTeleporting = 0x2000216;
281         const int opcodeShowVars = 0x200021d;
282         const int opcodeShowVarsExplicit = 0x200021e;
283         const int opcodeShow = 0x2000304;
284         const int opcodeShowExplicit = 0x2000305;
285         const int opcodeToggleGodMode = 0x200021f;
286         const int opcodeToggleScripts = 0x2000301;
287         const int opcodeDisableLevitation = 0x2000220;
288         const int opcodeEnableLevitation = 0x2000221;
289         const int opcodeCast = 0x2000227;
290         const int opcodeCastExplicit = 0x2000228;
291         const int opcodeExplodeSpell = 0x2000229;
292         const int opcodeExplodeSpellExplicit = 0x200022a;
293         const int opcodeGetPcInJail = 0x200023e;
294         const int opcodeGetPcTraveling = 0x200023f;
295         const int opcodeAddToLevCreature = 0x20002fb;
296         const int opcodeRemoveFromLevCreature = 0x20002fc;
297         const int opcodeAddToLevItem = 0x20002fd;
298         const int opcodeRemoveFromLevItem = 0x20002fe;
299         const int opcodeShowSceneGraph = 0x2002f;
300         const int opcodeShowSceneGraphExplicit = 0x20030;
301         const int opcodeToggleBorders = 0x2000307;
302         const int opcodeToggleNavMesh = 0x2000308;
303         const int opcodeToggleActorsPaths = 0x2000309;
304         const int opcodeSetNavMeshNumberToRender = 0x200030a;
305         const int opcodeRepairedOnMe = 0x200030c;
306         const int opcodeRepairedOnMeExplicit = 0x200030d;
307         const int opcodeToggleRecastMesh = 0x2000310;
308         const int opcodeMenuMode = 0x2000311;
309         const int opcodeRandom = 0x2000312;
310         const int opcodeScriptRunning = 0x2000313;
311         const int opcodeStartScript = 0x2000314;
312         const int opcodeStopScript = 0x2000315;
313         const int opcodeGetSecondsPassed = 0x2000316;
314         const int opcodeEnable = 0x2000317;
315         const int opcodeDisable = 0x2000318;
316         const int opcodeGetDisabled = 0x2000319;
317         const int opcodeEnableExplicit = 0x200031a;
318         const int opcodeDisableExplicit = 0x200031b;
319         const int opcodeGetDisabledExplicit = 0x200031c;
320         const int opcodeStartScriptExplicit = 0x200031d;
321     }
322 
323     namespace Sky
324     {
325         const int opcodeToggleSky = 0x2000021;
326         const int opcodeTurnMoonWhite = 0x2000022;
327         const int opcodeTurnMoonRed = 0x2000023;
328         const int opcodeGetMasserPhase = 0x2000024;
329         const int opcodeGetSecundaPhase = 0x2000025;
330         const int opcodeGetCurrentWeather = 0x200013f;
331         const int opcodeChangeWeather = 0x2000140;
332         const int opcodeModRegion = 0x20026;
333     }
334 
335     namespace Sound
336     {
337         const int opcodeSay = 0x2000001;
338         const int opcodeSayDone = 0x2000002;
339         const int opcodeStreamMusic = 0x2000003;
340         const int opcodePlaySound = 0x2000004;
341         const int opcodePlaySoundVP = 0x2000005;
342         const int opcodePlaySound3D = 0x2000006;
343         const int opcodePlaySound3DVP = 0x2000007;
344         const int opcodePlayLoopSound3D = 0x2000008;
345         const int opcodePlayLoopSound3DVP = 0x2000009;
346         const int opcodeStopSound = 0x200000a;
347         const int opcodeGetSoundPlaying = 0x200000b;
348 
349         const int opcodeSayExplicit = 0x2000019;
350         const int opcodeSayDoneExplicit = 0x200001a;
351         const int opcodePlaySound3DExplicit = 0x200001b;
352         const int opcodePlaySound3DVPExplicit = 0x200001c;
353         const int opcodePlayLoopSound3DExplicit = 0x200001d;
354         const int opcodePlayLoopSound3DVPExplicit = 0x200001e;
355         const int opcodeStopSoundExplicit = 0x200001f;
356         const int opcodeGetSoundPlayingExplicit = 0x2000020;
357     }
358 
359     namespace Stats
360     {
361         const int numberOfAttributes = 8;
362         const int numberOfDynamics = 3;
363         const int numberOfSkills = 27;
364 
365         const int numberOfMagicEffects = 24;
366 
367         const int opcodeGetAttribute = 0x2000027;
368         const int opcodeGetAttributeExplicit = 0x200002f;
369         const int opcodeSetAttribute = 0x2000037;
370         const int opcodeSetAttributeExplicit = 0x200003f;
371         const int opcodeModAttribute = 0x2000047;
372         const int opcodeModAttributeExplicit = 0x200004f;
373 
374         const int opcodeGetDynamic = 0x2000057;
375         const int opcodeGetDynamicExplicit = 0x200005a;
376         const int opcodeSetDynamic = 0x200005d;
377         const int opcodeSetDynamicExplicit = 0x2000060;
378         const int opcodeModDynamic = 0x2000063;
379         const int opcodeModDynamicExplicit = 0x2000066;
380         const int opcodeModCurrentDynamic = 0x2000069;
381         const int opcodeModCurrentDynamicExplicit = 0x200006c;
382         const int opcodeGetDynamicGetRatio = 0x200006f;
383         const int opcodeGetDynamicGetRatioExplicit = 0x2000072;
384 
385         const int opcodeGetSkill = 0x200008e;
386         const int opcodeGetSkillExplicit = 0x20000a9;
387         const int opcodeSetSkill = 0x20000c4;
388         const int opcodeSetSkillExplicit = 0x20000df;
389         const int opcodeModSkill = 0x20000fa;
390         const int opcodeModSkillExplicit = 0x2000115;
391 
392         const int opcodeGetMagicEffect = 0x2000264;
393         const int opcodeGetMagicEffectExplicit = 0x200027c;
394         const int opcodeSetMagicEffect = 0x2000294;
395         const int opcodeSetMagicEffectExplicit = 0x20002ac;
396         const int opcodeModMagicEffect = 0x20002c4;
397         const int opcodeModMagicEffectExplicit = 0x20002dc;
398 
399         const int opcodeGetPCCrimeLevel = 0x20001ec;
400         const int opcodeSetPCCrimeLevel = 0x20001ed;
401         const int opcodeModPCCrimeLevel = 0x20001ee;
402 
403         const int opcodeAddSpell = 0x2000147;
404         const int opcodeAddSpellExplicit = 0x2000148;
405         const int opcodeRemoveSpell = 0x2000149;
406         const int opcodeRemoveSpellExplicit = 0x200014a;
407         const int opcodeGetSpell = 0x200014b;
408         const int opcodeGetSpellExplicit = 0x200014c;
409 
410         const int opcodePCRaiseRank = 0x2000b;
411         const int opcodePCLowerRank = 0x2000c;
412         const int opcodePCJoinFaction = 0x2000d;
413         const int opcodePCRaiseRankExplicit = 0x20029;
414         const int opcodePCLowerRankExplicit = 0x2002a;
415         const int opcodePCJoinFactionExplicit = 0x2002b;
416 
417         const int opcodeGetPCRank = 0x2000e;
418         const int opcodeGetPCRankExplicit = 0x2000f;
419         const int opcodeModDisposition = 0x200014d;
420         const int opcodeModDispositionExplicit = 0x200014e;
421         const int opcodeSetDisposition = 0x20001a4;
422         const int opcodeSetDispositionExplicit = 0x20001a5;
423         const int opcodeGetDisposition = 0x20001a6;
424         const int opcodeGetDispositionExplicit = 0x20001a7;
425 
426         const int opcodeGetLevel = 0x200018c;
427         const int opcodeGetLevelExplicit = 0x200018d;
428         const int opcodeSetLevel = 0x200018e;
429         const int opcodeSetLevelExplicit = 0x200018f;
430 
431         const int opcodeGetDeadCount = 0x20001a3;
432 
433         const int opcodeGetPCFacRep = 0x20012;
434         const int opcodeGetPCFacRepExplicit = 0x20013;
435         const int opcodeSetPCFacRep = 0x20014;
436         const int opcodeSetPCFacRepExplicit = 0x20015;
437         const int opcodeModPCFacRep = 0x20016;
438         const int opcodeModPCFacRepExplicit = 0x20017;
439 
440         const int opcodeGetCommonDisease = 0x20001a8;
441         const int opcodeGetCommonDiseaseExplicit = 0x20001a9;
442         const int opcodeGetBlightDisease = 0x20001aa;
443         const int opcodeGetBlightDiseaseExplicit = 0x20001ab;
444 
445         const int opcodeGetRace = 0x20001d9;
446         const int opcodeGetRaceExplicit = 0x20001da;
447 
448         const int opcodePcExpelled = 0x20018;
449         const int opcodePcExpelledExplicit = 0x20019;
450         const int opcodePcExpell = 0x2001a;
451         const int opcodePcExpellExplicit = 0x2001b;
452         const int opcodePcClearExpelled = 0x2001c;
453         const int opcodePcClearExpelledExplicit = 0x2001d;
454         const int opcodeRaiseRank = 0x20001e8;
455         const int opcodeRaiseRankExplicit = 0x20001e9;
456         const int opcodeLowerRank = 0x20001ea;
457         const int opcodeLowerRankExplicit = 0x20001eb;
458         const int opcodeOnDeath = 0x20001fc;
459         const int opcodeOnDeathExplicit = 0x2000205;
460         const int opcodeOnMurder = 0x2000249;
461         const int opcodeOnMurderExplicit = 0x200024a;
462         const int opcodeOnKnockout = 0x2000240;
463         const int opcodeOnKnockoutExplicit = 0x2000241;
464 
465         const int opcodeBecomeWerewolf = 0x2000217;
466         const int opcodeBecomeWerewolfExplicit = 0x2000218;
467         const int opcodeUndoWerewolf = 0x2000219;
468         const int opcodeUndoWerewolfExplicit = 0x200021a;
469         const int opcodeSetWerewolfAcrobatics = 0x200021b;
470         const int opcodeSetWerewolfAcrobaticsExplicit = 0x200021c;
471         const int opcodeIsWerewolf = 0x20001fd;
472         const int opcodeIsWerewolfExplicit = 0x20001fe;
473 
474         const int opcodeGetWerewolfKills = 0x20001e2;
475 
476         const int opcodeRemoveSpellEffects = 0x200022b;
477         const int opcodeRemoveSpellEffectsExplicit = 0x200022c;
478         const int opcodeRemoveEffects = 0x200022d;
479         const int opcodeRemoveEffectsExplicit = 0x200022e;
480         const int opcodeResurrect = 0x200022f;
481         const int opcodeResurrectExplicit = 0x2000230;
482 
483         const int opcodeGetStat = 0x200024e;
484         const int opcodeGetStatExplicit = 0x200024f;
485     }
486 
487     namespace Transformation
488     {
489         const int opcodeSetScale = 0x2000164;
490         const int opcodeSetScaleExplicit = 0x2000165;
491         const int opcodeSetAngle = 0x2000166;
492         const int opcodeSetAngleExplicit = 0x2000167;
493         const int opcodeGetScale = 0x2000168;
494         const int opcodeGetScaleExplicit = 0x2000169;
495         const int opcodeGetAngle = 0x200016a;
496         const int opcodeGetAngleExplicit = 0x200016b;
497         const int opcodeGetPos = 0x2000190;
498         const int opcodeGetPosExplicit = 0x2000191;
499         const int opcodeSetPos = 0x2000192;
500         const int opcodeSetPosExplicit = 0x2000193;
501         const int opcodeGetStartingPos = 0x2000194;
502         const int opcodeGetStartingPosExplicit = 0x2000195;
503         const int opcodeGetStartingAngle = 0x2000210;
504         const int opcodeGetStartingAngleExplicit = 0x2000211;
505         const int opcodePosition = 0x2000196;
506         const int opcodePositionExplicit = 0x2000197;
507         const int opcodePositionCell = 0x2000198;
508         const int opcodePositionCellExplicit = 0x2000199;
509 
510         const int opcodePlaceItemCell = 0x200019a;
511         const int opcodePlaceItem = 0x200019b;
512         const int opcodePlaceAtPc = 0x200019c;
513         const int opcodePlaceAtMe = 0x200019d;
514         const int opcodePlaceAtMeExplicit = 0x200019e;
515         const int opcodeModScale = 0x20001e3;
516         const int opcodeModScaleExplicit = 0x20001e4;
517         const int opcodeRotate = 0x20001ff;
518         const int opcodeRotateExplicit = 0x2000200;
519         const int opcodeRotateWorld = 0x2000201;
520         const int opcodeRotateWorldExplicit = 0x2000202;
521         const int opcodeSetAtStart = 0x2000203;
522         const int opcodeSetAtStartExplicit = 0x2000204;
523         const int opcodeMove = 0x2000206;
524         const int opcodeMoveExplicit = 0x2000207;
525         const int opcodeMoveWorld = 0x2000208;
526         const int opcodeMoveWorldExplicit = 0x2000209;
527         const int opcodeResetActors = 0x20002f4;
528         const int opcodeFixme = 0x2000302;
529         const int opcodeGetDistance = 0x200031e;
530         const int opcodeGetDistanceExplicit = 0x200031f;
531     }
532 
533     namespace User
534     {
535         const int opcodeUser1 = 0x200016c;
536         const int opcodeUser2 = 0x200016d;
537         const int opcodeUser3 = 0x200016e;
538         const int opcodeUser3Explicit = 0x200016f;
539         const int opcodeUser4 = 0x2000170;
540         const int opcodeUser4Explicit = 0x2000171;
541     }
542 }
543 
544 #endif
545