Commit Graph
155 Commits
Author SHA1 Message Date
Kam f18ae4e08f Merge branch 'dev' into syntax-highlighter-unified 2026-03-11 14:08:19 -04:00
bigguy345 59ba554315 Fixed "Java" language option and editor tab language button being available for ScriptHandlers with no janino handling 2026-03-11 16:25:15 +02:00
Kam 6bf33e4296 Add API Registry System for API Links and Such 2026-03-11 03:55:07 -04: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 1885308639 Merge branch 'dev' into syntax-highlighter-unified 2026-03-05 04:42:28 -05:00
Kam dbca3da639 Fix some Packet / Language Handling for Race Condition 2026-03-05 01:37:44 -05:00
Kam 5271f90fa9 Merge branch 'dev' into syntax-highlighter-unified 2026-03-04 20:45:46 -05:00
Kam 12cf4b9a85 Revert Script Token 2026-03-04 20:45:33 -05:00
bigguy345 24af603ce1 Java/Janino editor fixes and improvements:
- Fixed clicking and adding hooks not properly resolving added types like INpcEvent.CollideEvent

- Imported wildcards of all available events in the given context.
  i.e ScriptContext NPC has INpcEvent,IProjectileEvent,IAbilityEvent,etc.. as available wildcard imports

- Added nested types to autocomplete of outer classes so INpcEvent. shows InitEvent, UpdateEvent, InteractEvent,etc...

- Added wildcard imports to autocomplete
2026-03-04 15:08:30 +02:00
Kam 513956062d Merge branch 'dev' into syntax-highlighter-unified 2026-03-03 20:30:02 -05:00
Kam 7df1cfbfb9 Script Token Handling 2026-03-03 01:58:45 -05:00
Kam c16aae75e2 Merge branch 'dev' into syntax-highlighter-unified 2026-03-02 16:38:44 -05:00
Kam dfa6ccb350 Fixes to some Script Handling 2026-03-02 16:38:35 -05:00
bigguy345 32fd6af04f Fix hook signatures to follow runtime hook registrations in ScriptHookController.
This fixes broken unresolved DBC addon hook event types
2026-03-02 02:28:01 +02:00
Kam 3e1b4fd692 Merge branch 'dev' into syntax-highlighter-unified 2026-02-24 19:12:35 -05:00
Kam b2f89035b9 MENU BG for Everything!!!! 2026-02-24 18:55:52 -05:00
bigguy345 8fa22e1e60 Moved fullscreen button mouseClicked into GuiScriptTextArea 2026-01-26 04:56:42 +02:00
bigguy345 3f204d412d Removed redundant fullScreenButton.draw calls, already drawn in GuiScriptTextArea 2026-01-26 04:00:24 +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 50e9f1b3e5 HUGE IScriptHandlerPacket merge.
All ScriptHandlers that send packets now directly define their data through the ScriptHandler class itself, NOT through their own GuiScript extended class.
2026-01-22 20:05:07 +02:00
bigguy345 4cb1eee017 Only showed language button in script tab when script supports multiple languages 2026-01-19 04:46:26 +02:00
bigguy345 f8c9faac0b - Implemented getLanguageOptions() with server-to-client fallback logic to ensure "Java/Janino" is correctly listed and synchronized in the script GUI.
- Renamed `getScriptIndex` to `getLanguageIndex` in `GuiScriptInterface` and its subclasses to resolve naming ambiguity between tabs and engine selection.
2026-01-19 04:06:11 +02:00
bigguy345 f5dbe19de2 New IScriptHandlerPacket:
- Defines the packet-backed script GUI contract used by GuiScriptInterface for “streamed” script loading/saving.

- Updated EffectScript, LinkedItemScript and RecipeScript to implement IScriptHandlerPacket

- Removed GuiScriptEffect, GuiScriptLinkedItem and GuiScriptRecipe as their functionality got replaced with new interface handled by GuiScriptInterface
2026-01-18 17:57:10 +02:00
bigguy345 eecb5b0b3b ScriptHandler refactor:
- ScriptHandler now holds a list of containers

- Delegated single container handling to SingleScriptHandler

IScriptHandler refactor:

- Moved ScriptContext/Hook logic to it

- More default methods + hooked them to GuIScriptInterface
2026-01-18 17:50:04 +02:00
bigguy345 44f71ddb81 Handled script language correctly for external script selector list + added forgotten singleContainer logic 2026-01-18 04:04:17 +02:00
bigguy345 86285ceff5 - New JaninoScriptHandler thats a concrete IScriptHandler impl and replaces JaninoScriptable
- Removed ScriptHandler based methods from JaninoScript
2026-01-18 03:26:31 +02:00
bigguy345 68bc02a5d4 Removed SingleScriptHandler 2026-01-18 03:01:55 +02:00
bigguy345 f6e589ac67 temp SingleScriptHandlers tuff 2026-01-15 04:13:59 +02:00
bigguy345 23c44cc5d4 Refactor 2026-01-14 03:52:04 +02:00
bigguy345 2c2e13c2f7 Morea ScriptContainer -> IScriptUnit abstraction 2026-01-14 03:50:47 +02:00
bigguy345 d17534120b Merged GuiJaninoScript with GuiScriptInterface and moved usages 2026-01-14 03:41:24 +02:00
bigguy345 26a9c99000 All Imports used in JaninoScript implementations (param types/return types) are now passed implicitly to ScriptDocument to store for when hook stubs are generated/hooks are manually added 2026-01-14 03:02:15 +02:00
bigguy345 21e05575ad merge conflicts 2026-01-14 00:30:25 +02:00
bigguy345 73db727c47 Deleagted all ScriptContainer NBT based creation to IScriptUnit.createFromNBT 2026-01-13 22:16:51 +02:00
bigguy345 fbcda09fe2 Used IScriptUnit hook stub generation 2026-01-13 21:39:39 +02:00
bigguy345 ba6c3e607c more bruh 2 2026-01-13 20:30:01 +02:00
bigguy345 7b811bdea1 more bruh 2026-01-13 19:16:58 +02:00
bigguy345 8c8f37e75d more merge conflict resolution 2026-01-13 19:13:31 +02:00
bigguy345 1df05406c8 Imported temp place holders from syntax-highlighter-unified 2026-01-13 19:08:29 +02:00
bigguy345 6173e98998 merge conflict resolutioon 2026-01-13 19:05:52 +02:00
Kam 71dba15270 Add Script Context and better parsing for d.ts handling 2026-01-13 19:02:52 +02:00
bigguy345 cd92c340c7 resolved merge conflicts with dev 2026-01-13 18:25:37 +02:00
bigguy345 c3e032dcf2 Abstracted ScriptContainer & JaninoScript to IScriptUnit + global implementation 2026-01-13 18:25:28 +02:00
bigguy345 1372127266 GuiScript now extends GuiScriptInterface + Full screen support 2026-01-13 18:25:20 +02:00
bigguy345 ca8285e23f Made these 3 detached GuiScripts depend on GuiScriptInterface 2026-01-13 18:25:09 +02:00
bigguy345 88d43f8199 Merge branch 'dev' into janino-scripts
# Conflicts:
#	repositories.gradle
2026-01-13 18:18:06 +02:00
Kam 276465a175 Merge branch 'ability' into dev 2026-01-11 20:35:45 -05:00
Kam 11808df036 Script Hook Handler 2026-01-11 17:15:13 -05:00