Commit Graph
67 Commits
Author SHA1 Message Date
KAMKEEL a028142dda Fix mouse wheel scrolling in the script editors
Mouse.getDWheel() clears the accumulated delta, so whichever widget polled it
first in a frame took it and every later reader saw zero. The script text areas
polled it themselves, after the parent screen had already drained it for its
scroll lists, so the wheel did nothing in the player, NPC and event script GUIs.
The screen now reads the wheel once per frame into the mouseScroll field it
already declared for this, and each widget zeroes it when it consumes it.
2026-08-11 05:08:15 -04:00
bigguy345 69f9d218ca Rewrote all GuiScriptTextArea scissoring logic to handle new panning 2026-03-09 09:57:21 +02:00
bigguy345 18c15b13bc GuiScriptInterface is now pannable! Core functionality added to GuiNPCInterface, which means technically any child of that can be pannable 2026-03-09 09:13:29 +02:00
Kam 5cf69f90fb Merge branch 'dev' into syntax-highlighter-unified 2026-02-23 17:50:20 -05:00
Kam 21cd8e9e01 Fix Hover Labels on Scroll Components 2026-02-23 13:40:24 -05:00
Kam 2a1a5643d3 Potion Effect System + Manual and Remove Bulk 2026-02-14 04:04:13 -05:00
Kam 185d915928 refactor: simplify NBT reading for ability properties and potion effects 2026-02-13 14:17:17 -05:00
bigguy345 bd9d0a3889 Merge branch 'dev' into syntax-highlighter-unified 2026-02-04 05:22:19 +02:00
Kam a49df51ad9 Fixes to Ability Load, Reference Handling 2026-02-03 15:09:20 -05:00
bigguy345 ba7e4cc3b2 Merge remote-tracking branch 'origin/dev' into syntax-highlighter-unified
# Conflicts:
#	src/api
#	src/main/java/kamkeel/npcs/util/BukkitUtil.java
#	src/main/java/kamkeel/npcs/util/VaultUtil.java
#	src/main/java/noppes/npcs/CustomNpcsPermissions.java
2026-02-03 18:26:30 +02:00
Kam 8aa6e926f6 Some Ability Helpers 2026-02-03 04:27:54 -05:00
bigguy345 9db8a0b2e7 Forgotten Merge resolution for 'Add Tooltips.' commit 2026-02-03 07:20:24 +02:00
bigguy345 98351bbc3c dev merge 2026-02-03 04:25:16 +02:00
Kam aeb0093b4d Add Tooltips 2026-01-27 18:04:46 -05:00
Kam c6810c05ea More Ability Fixes. 2026-01-27 16:43:47 -05:00
bigguy345 ac8228e4d1 Properly ordered mouse clicked components 2026-01-26 05:12:02 +02:00
bigguy345 96239118e7 OMG janino-scripts-final merge 2026-01-23 19:01:56 +02:00
Kam a9b602713c Large Cleanup to Code Imports and Formatting 2026-01-22 23:07:38 -05:00
Kam 31aac0d6b3 GUI fixes and small bug fixes to Script GUIs, Overlay GUI, etc 2026-01-22 22:52:04 -05:00
bigguy345 3f8373d76f Merge branch 'dev' into janino-scripts 2026-01-22 19:53:18 +02:00
Kam d0dc8a4578 Trader System + Stocks Implemented
- Removed Auction System Temporarily for Full Rebase
2026-01-22 12:38:56 -05:00
bigguy345 ea38cd23b6 Rendered Script Text Areas last thing in GuiNpcInterface 2026-01-04 00:23:47 +02:00
bigguy345 db0e7da834 Calculated closeOnEsc logic first thing in method (to fix closeOnEsc closing searchBar & entire gui in the same click) 2025-12-20 11:55:40 +02:00
bigguy345 7e62dbc3fa closeOnEsc supplier for GuiNpcInterface 2025-12-20 11:53:11 +02:00
bigguy345 7a74a599f2 Init'd GuiNpcTextField 2025-12-19 16:01:19 +02:00
bigguy345 93e6a92b59 Made GuiNpcButtons with multiple displays i.e ("Hair","Eyes","Fur")
right clickable to select in reverse
2025-12-09 17:46:07 +02:00
bigguy345 7adbdd30e4 More GUI NPC rendering improvements 2025-12-09 15:01:01 +02:00
bigguy345 27de3c77a4 Hooked renderingEntityInGUI accordingly 2025-12-09 13:45:38 +02:00
bigguy345 cca69d8e1d Added GUI NPC rendering utilities 2025-12-09 12:49:40 +02:00
bigguy345 0ef48c5477 Better fix for ESC closing all sub guis at once 2025-12-09 11:12:30 +02:00
Kam 3009c97bc9 Close On Esc Support 2025-11-05 17:25:14 -05:00
Kam fd43cd6b67 Fix Tooltip 2025-07-07 14:22:27 -04:00
Kam 6815f579a7 Full Imports and Code Format Optimization 2025-03-12 20:12:01 -04:00
Kam 98e886703c Push a TERRIBLY INCOMPLETE CODE!!! :DDDDD 2025-02-20 00:31:52 -05:00
Kam d6c70167bf Some More Fixes to Rendering, etc 2025-02-12 04:06:25 -05:00
Kam 7d37670494 Rename to NPC AI to NPC AIs 2025-02-10 21:32:55 -05:00
Kam 48e3ae5271 Icons for Global Menu 2025-02-06 12:11:37 -05:00
Kam fc7b7f627d Diagram Completed 2025-02-03 21:18:45 -05:00
Kam c0dc526d41 Resizing for Dialog Page 2025-02-03 01:47:47 -05:00
bigguy345 7cd51b3d8a Fixed bugs that happen on SubGUI closing 2024-08-06 21:46:07 +03:00
Kam 4c46496c82 Final Mouse Scroll Fix 2024-05-26 18:10:37 -04:00
Kam bad2c3157b Scroll Test again 2024-05-26 17:15:20 -04:00
Kam 277b8aab7f Disable Record Mouse Scroll for SubGui 2024-05-26 17:03:19 -04:00
Kam c8692ab1b3 Gui Scroll Window Complete! 2024-05-22 18:38:26 -04:00
somehussar f9483b8292 Failed attempts at fixing scroll lists within scrolls 2024-05-21 04:08:48 +02:00
somehussar b2303dcaac Rename class appropriately 2024-05-21 02:16:25 +02:00
somehussar a42d0ac6e8 Fix misalignment 2024-05-19 03:28:35 +02:00
somehussar 223e3216da Fix adding scrollable GUIs 2024-05-19 02:31:37 +02:00
somehussar 3c464c52fd Port over scrollable GUIs 2024-05-19 02:27:03 +02:00
Kam 82e54b5982 Optimize Imports 2024-03-17 23:15:11 -04:00