mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-03 17:37:18 +00:00
Implement EnableLevelupMenu to trigger level-up
This commit is contained in:
parent
c883a73d30
commit
a619cff615
@ -443,5 +443,6 @@ op 0x20002fc: RemoveFromLevCreature
|
||||
op 0x20002fd: AddToLevItem
|
||||
op 0x20002fe: RemoveFromLevItem
|
||||
op 0x20002ff: SetFactionReaction
|
||||
op 0x2000300: EnableLevelupMenu
|
||||
|
||||
opcodes 0x2000300-0x3ffffff unused
|
||||
opcodes 0x2000301-0x3ffffff unused
|
||||
|
@ -231,6 +231,8 @@ namespace MWScript
|
||||
new OpShowDialogue (MWGui::GM_Race));
|
||||
interpreter.installSegment5 (Compiler::Gui::opcodeEnableStatsReviewMenu,
|
||||
new OpShowDialogue (MWGui::GM_Review));
|
||||
interpreter.installSegment5 (Compiler::Gui::opcodeEnableLevelupMenu,
|
||||
new OpShowDialogue (MWGui::GM_Levelup));
|
||||
|
||||
interpreter.installSegment5 (Compiler::Gui::opcodeEnableInventoryMenu,
|
||||
new OpEnableWindow (MWGui::GW_Inventory));
|
||||
|
@ -215,7 +215,7 @@ namespace Compiler
|
||||
extensions.registerInstruction ("enablestatsmenu", "", opcodeEnableStatsMenu);
|
||||
|
||||
extensions.registerInstruction ("enablerest", "", opcodeEnableRest);
|
||||
extensions.registerInstruction ("enablelevelupmenu", "", opcodeEnableRest);
|
||||
extensions.registerInstruction ("enablelevelupmenu", "", opcodeEnableLevelupMenu);
|
||||
|
||||
extensions.registerInstruction ("showrestmenu", "", opcodeShowRestMenu, opcodeShowRestMenuExplicit);
|
||||
|
||||
|
@ -185,6 +185,7 @@ namespace Compiler
|
||||
const int opcodeEnableMapMenu = 0x2000015;
|
||||
const int opcodeEnableStatsMenu = 0x2000016;
|
||||
const int opcodeEnableRest = 0x2000017;
|
||||
const int opcodeEnableLevelupMenu = 0x2000300;
|
||||
const int opcodeShowRestMenu = 0x2000018;
|
||||
const int opcodeShowRestMenuExplicit = 0x2000234;
|
||||
const int opcodeGetButtonPressed = 0x2000137;
|
||||
|
Loading…
Reference in New Issue
Block a user