Revert "Added more OpenMenus (#58)" (#59)

This reverts commit 7f2eb8b8f1.
This commit is contained in:
Héctor Giménez
2024-12-18 22:17:39 +09:00
committed by GitHub
parent 7f2eb8b8f1
commit bfd86a6535
2 changed files with 0 additions and 12 deletions

View File

@@ -282,18 +282,12 @@ type OpenMenus struct {
Stash bool
Waypoint bool
MapShown bool
NewSkills bool
SkillTree bool
Character bool
QuitMenu bool
Cube bool
SkillSelect bool
Anvil bool
MercInventory bool
IniScroll bool
BeltRows bool
QuestScreen bool
QuestLogs bool
}
func (om OpenMenus) IsMenuOpen() bool {

View File

@@ -97,17 +97,11 @@ func (gd *GameReader) openMenus() data.OpenMenus {
Waypoint: buffer[0x13] != 0,
MapShown: isMapShown != 0,
SkillTree: buffer[0x04] != 0,
NewSkills: buffer[0x07] != 0,
Character: buffer[0x02] != 0,
QuitMenu: buffer[0x09] != 0,
Cube: buffer[0x19] != 0,
SkillSelect: buffer[0x03] != 0,
Anvil: buffer[0x0D] != 0,
MercInventory: buffer[0x24] != 0,
IniScroll: buffer[0x10] != 0,
BeltRows: buffer[0x1F] != 0,
QuestScreen: buffer[0x0F] != 0,
QuestLog: buffer[0x11] != 0,
}
}