Taskbar: 7 weapon sets and 7 combat-art slots
cUI_Taskbar2's slot arrays move behind the (enlarged) object with room for 7 each; all instructions addressing them, the relative accesses between the two arrays, the slot loops and the count clamp are patched from tables in game/addresses.h (belt loops untouched). Slots 6 / 7 unlock at levels 45 / 65; AssignArtToSlot accepts slots up to 6. Slot keys call the taskbar's selection directly (honouring COMBINE_SLOTS). Shared code: re::PatchAll / PatchInstructionByte for patch tables, game/engine/objects.h for object, RTTI and kernel calls, slot-hook templates in skillslots.cpp. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
998e315d98
commit
dbc632750b
12 files changed
+364
-145
No files matched your search
@@ -110,3 +110,12 @@
|
||||
0x0055fac0 cCreature::AssignArtToSlot # (art, slot), rejects slot > 4
|
||||
0x006046f0 ItemDataMgr::saveHero
|
||||
0x00605900 ItemDataMgr::loadHero
|
||||
0x006dffa0 cUI_Taskbar2::SetSlotCount # shows the first n slots of each row, n from SlotCountForLevel
|
||||
0x006e4ba0 cUI_Taskbar2::Layout # creates the slot controls and buttons
|
||||
0x006dfce0 cUI_Taskbar2::SkillSlotAt # (x, y, out slot)
|
||||
0x006dfd40 cUI_Taskbar2::WeaponSetAt # (x, y, out slot)
|
||||
0x006df9a0 cUI_Taskbar2::UpdateSlotHighlight
|
||||
0x006e2790 cUI_Taskbar2::RenderWeaponSets
|
||||
0x006e31e0 cUI_Taskbar2::RenderArtSlots
|
||||
0x006e4310 cUI_Taskbar2::UpdateTooltips
|
||||
0x0081c020 Options::CombineSlots # COMBINE_SLOTS: weapon set also selects the art slot
|
||||
Reference in new issue
Block a user