Commit Graph
49 Commits
Author SHA1 Message Date
Kam 0f948a9d62 Script Packets 2025-02-02 23:15:53 -05:00
Kam 7366b11077 Cache Animation Packet 2025-02-02 03:08:52 -05:00
Kam 364bf2414f Custom GUI Packets 2025-02-02 03:01:12 -05:00
bigguy345 bce3b2f5ea Added closeOnEsc variable to ICustomGui 2024-08-11 20:22:35 +03:00
Kam 2fd7594720 Remove Fernflower References 2024-03-17 23:17:36 -04:00
Kam a872bc7035 Fix Item Slot not registering changes properly 2024-03-16 16:21:44 -04:00
Kam dcc37d6fad Fix GUI Textured Scaling with Offset Textures 2024-03-16 05:04:19 -04:00
Kam 3c225f74db GeckoLib Addon is now an OPTIONAL Supported Addon [WIP] 2024-01-22 20:32:03 -05:00
Goodbird 4fdeaba35a Fixed custom gui scroll loosing its size after update in scroll click event 2024-01-04 11:10:34 +03:00
Goodbird 02ec17dc6c Fixed textured rect moving after texture shift 2024-01-03 23:30:01 +03:00
Goodbird 095d7f405c Fixed textured rects hover hitbox not changing with rescale 2024-01-03 21:40:43 +03:00
Luis C.M 5f02a28026 Implemented multi-line text support for custom GUI labels using width and height. 2023-06-09 09:31:59 -05:00
Luis C.M 5c3b7e7c79 Fixed custom GUI untextured buttons not rendering in the right place 2023-06-03 16:24:46 -05:00
Luis C.M f5ac14b93e Merge branch 'patch' into dev
# Conflicts:
#	src/main/java/noppes/npcs/client/gui/custom/components/CustomGuiButton.java
#	src/main/java/noppes/npcs/client/gui/custom/components/CustomGuiTexturedRect.java
#	src/main/java/noppes/npcs/client/renderer/customitem/CustomItemRenderer.java
2023-06-01 16:35:04 -05:00
Luis C.M 7000b525f3 Fixed entity custom item rendering, and rendering of textures for custom GUI buttons and rectangles. 2023-05-31 18:55:06 -05:00
Luis C.M f5e4d702b1 ClientCache renamed to ClientCacheHandler, moved ImageData into the client package. 2023-05-31 00:56:15 -05:00
Luis C.M 46febe5c0a CacheHashMap:
-New class extending from the HashMap class, only takes CacheHashMap.CachedObject as values, which itself is a template class.
-On every call to get(), it goes through its values and removes any that are past a set age in millis.

ClientCache:
-New class with static CacheHashMap and function to get image data, will do more caching later on.
2023-05-30 23:41:37 -05:00
Luis C.M b49402f8bd Implemented ImageData object caching for custom GUI button & rect elements 2023-05-20 19:23:54 -05:00
Luis C.M 80352741b9 Fixed custom gui slot behavior 2023-03-18 15:52:50 -05:00
Luis C.M 586c451f06 ICustomGui:
-Added IDs to custom GUI slots.
2023-03-18 03:04:46 -05:00
Luis C.M bcfd44d8fe Fixed scripted GUI button text alignments. 2023-02-17 11:28:37 -06:00
Luis C.M 30d73f91cf Fixed textured GUI buttons not working with images of different sizes. 2023-02-04 11:14:49 -06:00
KAMKEEL bda76bafe6 Optimize Imports 2023-01-12 21:33:06 -05:00
KAMKEEL be9ae94163 Start API Branch 2022-11-15 15:25:53 -05:00
c0508383 95f889f92b CustomGuiTexturedRect:
-Fixed uv values for textures.

CustomGuiButton:
-Fixed hover text
2022-07-20 15:17:16 -05:00
Luis C.M 6dea5a1cbc Interfaces have a file strucutre resembling the file structure of their implementing classes. 2022-05-11 16:43:14 -05:00
Luis C.M c2546c3f82 Updated interfaces to have the proper functions. Documentation will focus around them, so they'll be better organized from now on. 2022-05-11 16:31:14 -05:00
Luis C.M d6c46158f5 TexturedRect classes for GUIs & overlays, and Custom GUI buttons now support textures of all sizes when using URLs.
EntityCustomFX:
-Added URL support
2022-05-04 23:08:30 -05:00
Luis C.M 464f5ecb1e Fixed scaling issue on custom gui textured rectangles 2022-03-24 01:58:39 -05:00
luisc 60e14f548e Custom GUIs now only close when the ESC key is pressed. 2022-03-09 00:33:55 -06:00
luisc 22b622d46c Fixed hovering text for custom GUI labels and textured rectangles. 2022-02-23 00:39:01 -06:00
luisc 67c83b1ce9 Added rotation for custom GUI lines, labels, and textured rectangles 2022-01-31 15:39:21 -06:00
luisc 83e13285f9 Added rotation to overlay components, and color codes to overlay labels 2022-01-31 14:51:06 -06:00
luisc 3be088c4cc Moved OpenGL lines to within the loop that renders each component, fixing some weird alpha errors. 2022-01-30 22:58:12 -06:00
luisc 54fadbe63f Implemented label, alpha, and formatting for Custom GUI labels. 2022-01-30 22:49:03 -06:00
luisc 966ab4bf72 Custom Overlays and GUIs now properly set alpha values for some components. 2022-01-30 13:29:00 -06:00
luisc e5e1aa1972 Made color and alpha components global among ScriptGui classes. 2022-01-30 05:20:45 -06:00
luisc 534f716991 Implemented Scripted Overlays which stay on the player's screen. Overlays persist in the client, and can be removed from the screen as well. 2022-01-30 04:05:01 -06:00
luisc 8b24dad211 Added Custom GUI Lines, with configurable thickness & color. Draws a line between one point defined by (x1,y1), and another defined by (x2,y2) 2022-01-28 03:21:00 -06:00
luisc 06c730b166 Fixed scale & color issues for custom GUI textured rectangles. 2022-01-21 01:15:21 -06:00
luisc 83756381e4 Added toggleable shadows and scaling to custom GUI labels. 2022-01-20 20:27:26 -06:00
luisc 0788b2750f Quick fix for custom GUI textured rectangles, now with working x and y offsets. 2022-01-20 00:15:21 -06:00
luisc e1c283a19e Hotfix to Custom GUI labels for servers 2022-01-15 03:16:22 -06:00
luisc 6a6548845b Fixed textfield focus event running when textfield is unfocused 2022-01-14 16:50:13 -06:00
luisc 791adfc1b4 Implemented textfield unfocused event 2022-01-14 16:09:27 -06:00
luisc 2874643c84 Fixed textured rectangles in custom GUIs not being placed relative to the GUIs' position. 2022-01-14 15:41:27 -06:00
luisc b0da137db5 Custom GUI slot fix 2022-01-14 15:06:25 -06:00
luisc c28a9156d5 Custom GUI slot fix 2022-01-14 15:06:04 -06:00
luisc 6b9cfb9d25 Implemented custom GUIs. 2022-01-12 04:44:08 -06:00