Commit Graph

180 Commits

Author SHA1 Message Date
justin 06d50ac752 Make equipment indices point to item indices 2025-08-26 23:57:02 +01:00
justin 49efe62910 Commit before modifying crEquipment for item locations 2025-08-26 22:13:40 +01:00
justin e5473d1028 Cleanup 2025-08-26 19:35:19 +01:00
justin b87c3380b8 Refactor triplet to Selection datatype 2025-08-26 18:13:27 +01:00
justin 9034c409e1 Flatten HUDElement 2025-08-26 16:46:02 +01:00
justin 65803c11c9 Cleanup 2025-08-25 11:01:07 +01:00
justin 3f6f1b4019 Use NewIntMap InvInt for crInv 2025-08-25 10:21:59 +01:00
justin 94f6d5c630 Major item refactor, still broken 2025-08-24 19:34:09 +01:00
justin 22b4be440a Refactor floor items to use centralised items intmap 2025-08-24 13:14:49 +01:00
justin fcccd63844 Refactor floor items, removing ids (not fully checked) 2025-08-23 22:10:33 +01:00
justin 68cd362aa4 Cleanup 2025-08-19 20:43:35 +01:00
justin 084210ea7d Cleanup close items code 2025-08-19 20:17:27 +01:00
justin e1cfe7e163 Hlint pass 2025-08-19 18:05:05 +01:00
justin b07280e50c Cleanup 2025-08-19 17:29:36 +01:00
justin 2f9cea1b69 Allow for terminals to be deactivated 2025-08-19 13:58:57 +01:00
justin af5bdf59b9 Pitted creatures lose all items 2025-08-05 21:47:32 +01:00
justin f69956750a Work on what happens when creatures fall down chasms 2025-08-05 21:39:44 +01:00
justin 2f130c5bed Fix switch detection, cleanup 2025-06-25 21:49:11 +01:00
justin a9cae4d409 Simplify buttons 2025-06-25 21:37:32 +01:00
justin 6300a90257 Move equip effect on remove out of record 2025-06-05 15:35:11 +01:00
justin 59e1207b46 Improve jump to hotkey 2025-06-01 09:44:03 +01:00
justin 5b978d9f1c Make examine inventory controlled by item, perhaps still buggy 2025-01-01 21:14:38 +00:00
justin dae0e0591c Fix bugs in equipment allocation using hotkeys
The behaviour is still not perfect, should be able to cycle through all
options by pressing one key. There is unnecessary memory of past state
going on here
2025-01-01 14:48:17 +00:00
justin 7dd379d4bc Cleanup, delete hotkeys when deleting item from inventory 2025-01-01 14:04:25 +00:00
justin e12e4777b2 Make hotkeys assignable to any item, use item id 2024-12-31 09:20:53 +00:00
justin e1989eaa1e Cleanup 2024-12-19 23:40:04 +00:00
justin 910c683eac Move hotkeys out of Creature into LWorld 2024-12-19 15:29:20 +00:00
justin 4526119fcd Start moving hotkeys out from creatures into world 2024-12-19 15:16:47 +00:00
justin 11b5ef74c5 Remove _crInvEquipped 2024-12-19 12:44:34 +00:00
justin a669632226 Make equipment effects use item locations
Move towards removing on/off equipment effects
2024-12-19 11:15:21 +00:00
justin 669f9667f1 Allow scrolling within a larger selection to not remove larger selection 2024-11-25 17:20:09 +00:00
justin 83bcf3c0f7 Cleanup 2024-11-25 16:30:38 +00:00
justin 4e4cc92939 Improve item pickup by dragging 2024-11-25 15:01:16 +00:00
justin 2299ec374c Improve x position check over selection items 2024-11-25 10:03:19 +00:00
justin 9e0f0536e2 Readd space action on buttons 2024-11-24 23:34:03 +00:00
justin 7d2a4bf439 Cleanup 2024-11-24 22:36:00 +00:00
justin 82c53fc8e3 Continue inventory refactor 2024-11-24 22:08:36 +00:00
justin 81fcfea1be Refactor close objects hud display 2024-11-24 16:12:35 +00:00
justin 1250e2442a Continue improving mouse|inventory interface 2024-11-21 21:04:07 +00:00
justin 1f5d034c5f Continue selection refactor 2024-11-20 16:15:51 +00:00
justin 7e1b5f0921 Start to refactor terminals 2024-11-05 21:14:53 +00:00
justin 79b03ef6ec Fix connecting sounds 2024-11-05 19:48:55 +00:00
justin ecbd51135b Add sounds when connecting/disconnecting items 2024-11-05 19:14:09 +00:00
justin 9b3518e4eb Correctly update root status of item in _ilIsRoot 2024-11-05 18:25:30 +00:00
justin 489ff21e12 Remove inventory selection on item drop/pickup 2024-11-04 19:45:12 +00:00
justin feec061aa6 Add separate function checking when inventory is filtered 2024-11-03 09:50:18 +00:00
justin 723dfafc18 Make inventory cursor change when dropping items sensible 2024-11-01 11:23:39 +00:00
justin 79b0af228e Cleanup 2024-10-31 09:50:21 +00:00
justin d93c548d3c Remove SelectionSections 2024-10-25 22:19:04 +01:00
justin f6c136cfd6 Cleanup 2024-10-25 21:05:32 +01:00