Commit Graph

136 Commits

Author SHA1 Message Date
justin 1ebdbdd8ae Cleanup 2025-08-26 18:51:14 +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 596880f76a Cleanup 2025-08-26 16:19:49 +01:00
justin f7fd747a7c Allow drag selecting outside of the selection section
Does not yet work outside of any selection section.
Need to think about what widths are acceptable to allow for selection.
2025-08-26 12:42:48 +01:00
justin 004c4d1950 Commit before removing "above/below" checks on inventory dragging
I don't think these actually do anything
EDIT: they are actually necessary
2025-08-26 11:38:46 +01:00
justin 58c645041f Allow more drag selection to work 2025-08-25 13:30:04 +01:00
justin a2c32907f0 Fix bugs in drag pickup when releasing mouse outside of inventory list 2025-08-25 12:59:12 +01:00
justin 65803c11c9 Cleanup 2025-08-25 11:01:07 +01:00
justin 79abdfb33a Fix drag pickup bug 2025-08-25 10:33:05 +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 21460ceaa8 Try to autocomplete before doing terminal return 2025-08-20 17:53:39 +01:00
justin 4bf9ce59d5 Cleanup, fix damage code terminal bug 2025-08-20 15:59:22 +01:00
justin 9daa27ee8b Cleanup 2025-08-19 21:49:41 +01:00
justin a373b31152 Improve terminal update/display 2025-08-19 19:37:36 +01:00
justin e1cfe7e163 Hlint pass 2025-08-19 18:05:05 +01:00
justin 5ccbfa1f91 Cancel terminal display if destroyed while displaying 2025-08-19 18:01:23 +01:00
justin b8581a7862 Work on terminals, add deactive data type status 2025-08-19 13:48:54 +01:00
justin 2f4fcb42e5 Work on press-continue terminal prompts 2025-08-19 11:08:54 +01:00
justin 24027367dc Implement "tab" button in terminal 2025-08-17 00:12:05 +01:00
justin 56f4670493 Move towards simplifying terminal lines/effects 2025-08-15 11:55:56 +01:00
justin 91d19e7c42 Partial rethink of terminal text input 2025-08-14 21:48:02 +01:00
justin 81f88c32e9 Unify key press and mouse button press timings
Both now use Ints for presses.
Still no release timer for keyboard events.
2025-07-28 23:16:05 +01:00
justin 1851dcc5d6 Pause and resume sounds when pausing game 2025-06-02 12:43:37 +01:00
justin 61e85ffd5c Improve rotate drag mouse context 2025-06-01 10:06:51 +01:00
justin 59e1207b46 Improve jump to hotkey 2025-06-01 09:44:03 +01:00
justin 6ba16b06fb Cleanup 2025-01-06 12:23:59 +00:00
justin ffe5198e46 Cleanup 2025-01-06 12:21:34 +00:00
justin f9cf3c2ea6 Refactor 2025-01-06 12:10:25 +00:00
justin faded4a3c5 Cleanup 2025-01-06 12:06:51 +00:00
justin f3f365bbe9 Refactor 2025-01-06 12:06:37 +00:00
justin 57d36855d8 Replace length . _siPictures with _siHeight 2025-01-05 17:31:37 +00:00
justin 89eed0d059 Commit before trying to deal with leak in main inventory display 2025-01-04 12:58:36 +00:00
justin 03b25565f1 Allow mouse click interaction for nearby objects 2025-01-02 00:32:45 +00:00
justin adc0878a28 Allow use of items while examine subinventory shows
Still not sure what to do with right click scrolling, item swapping
2025-01-01 21:58:07 +00:00
justin ff5c4db3ae Cleanup 2025-01-01 21:16:47 +00:00
justin 5b978d9f1c Make examine inventory controlled by item, perhaps still buggy 2025-01-01 21:14:38 +00:00
justin 7dd379d4bc Cleanup, delete hotkeys when deleting item from inventory 2025-01-01 14:04:25 +00:00
justin 2fc960321e Remove creature hammer, may have broken equipment/combining 2024-12-31 10:17:31 +00:00
justin 0ef28c132e Replace buggy circle seg intersection with a simpler test 2024-12-26 21:53:18 +00:00
justin aec56f4977 Fix more edge cases in circle collision 2024-12-25 10:14:13 +00:00
justin 04a83ed031 Fix error in circle wall collision detection
The wall zoning did not take into account the radius of the circle
2024-12-25 00:10:26 +00:00
justin d09e715653 Select item under mouse after releasing drag selection 2024-11-29 21:01:04 +00:00
justin b21513c4dd Move item inv size and item dimensions from records to external function 2024-11-26 23:36:08 +00:00
justin f64dc86a30 Cleanup 2024-11-26 22:55:55 +00:00
justin 9e0ef2ed1d Cleanup 2024-11-26 21:27:09 +00:00
justin 199cd73fa9 Make dragging items instantaneous (up to 30 items away, at least) 2024-11-26 21:18:28 +00:00