Commit Graph

72 Commits

Author SHA1 Message Date
KalaayPT
6a870e07af database hashing + reparse on modification 2025-10-25 01:03:06 +02:00
KalaayPT
5839883ce7 fix minor bug with script file name display in warning message 2025-10-24 17:19:15 +02:00
KalaayPT
fccd296117 add progress bar + option to add custom db for script parsing + more
user error and edge case handling
2025-10-24 16:58:44 +02:00
KalaayPT
f7b31db190 omnisharp formatting so it stops annoying me 2025-10-22 18:47:37 +02:00
KalaayPT
d1e42b1a73 scripts plaintext parsing + simple caching for consecutive searches 2025-10-22 18:44:07 +02:00
Mixone-FinallyHere
7c29bb4519 Moved most console logging to the new system 2025-09-02 09:17:38 +02:00
KalaayPT
50cd9a4992 adapt movement command loading to account for expanded movement json + add support for c style comments 2025-08-11 18:27:26 +02:00
Mixone-FinallyHere
1dd28e90c5 Restructured script stuff so it can be released for 1.13 2025-06-09 15:28:18 +02:00
Mixone-FinallyHere
37412f4946 Fixed all issues from merges 2025-03-11 09:41:49 +01:00
AdAstra-LD
4516b61374 Labels draft 2025-03-10 15:40:56 +01:00
AdAstra-LD
50d912a0b9 Fixed function offset logic error 2025-02-18 20:45:16 +01:00
AdAstra-LD
1876bb3c75 Update ScriptDatabase.cs 2024-10-29 21:11:27 +01:00
AdAstra-LD
a9022d0782 Fixed compiler errors 2024-05-09 17:14:48 +02:00
AdAstra-LD
a2c79d62c6 Merge branch 'pr/49' 2024-05-09 16:20:23 +02:00
AdAstra-LD
6f6e6d5e57 Renamed gFamEnum, gVerEnum, gLangEnum 2024-05-09 13:45:22 +02:00
Miguel Terol Espino
0254b46a41 Added the levelscript editor
Co-authored-by: Cuddlyogre <cuddlyogre@users.noreply.github.com>
2024-03-03 17:35:34 +01:00
Miguel Terol Espino
7cf53fadb5 Started merging changes
Co-authored-by: Cuddlyogre <cuddlyogre@users.noreply.github.com>
2024-03-03 14:07:40 +01:00
Matthew Morrison
1b083c2986 Unify é 2023-02-06 09:00:34 +01:00
AdAstra-LD
b6e5c96b5e Better handling of UseScript for functions 2023-01-16 12:36:06 +01:00
AdAstra-LD
ba084cd397 Minor GUI edits + formatted ScriptFile.cs 2023-01-16 10:03:56 +01:00
AdAstra-LD
875065f018 Fixed error report linenum index 2022-09-25 22:31:57 +02:00
AdAstra-LD
56b6473fcb Added an error message to Script Editor for missing usescript references
+ Script save file functions now return true when everything was saved correctly, false otherwise
+ Return value of the script save functions is checked to determine whether or not to mark current script file as changed
2022-08-30 00:07:38 +02:00
AdAstra-LD
00d05fa3d7 Converted simple tuples to ContainerReference struct 2022-08-29 22:20:48 +02:00
AdAstra-LD
c73dd4490c Added support for rotatable buildings [disabled]
[+] Fixed a typo
2022-08-09 10:13:13 +02:00
AdAstra-LD
eb86f450b1 Fixed incorrect handling of empty script lines
Fixed wrong linenum in parser failure error message
2022-07-18 00:31:40 +02:00
AdAstra-LD
180296e60b Improved script editor readability [Directions and movecodes]
[+] Added new script command names to database
[+] Optimized script search speed
2022-06-16 17:11:23 +02:00
AdAstra-LD
d0688761f5 Fixed Issue #8
[Wrong line numbers in the script editor's error messages]
2022-06-11 14:47:33 +02:00
AdAstra-LD
da335907c9 Minor refactor 2022-01-07 17:48:47 +01:00
AdAstra-LD
c103f458b8 Fixed stack overflow with function recursion 2022-01-07 17:48:47 +01:00
AdAstra-LD
a6bc205a88 Script and text editor format preference is memorized 2022-01-07 03:47:32 +01:00
AdAstra-LD
ae921b8ac8 Fixed a critical UseScript bug (list sort)
+ Refactored useScript attribute of CommandContainer --> usedScript
2022-01-01 04:33:34 +01:00
AdAstra-LD
0566d55935 Version Update + Script Number format
[+] Fixed mess with system icons
2021-11-07 01:44:41 +01:00
AdAstra-LD
31f9488cfb Misc fixes [mostly Script Editor]
[+] Fixed PokeRadar percentage labels
[+] Removed Script Containers static KW
[+] Script Editor now notifies when user is attempting to save an empty script
[+] Script Editor got better at detecting problems with
script/function/action labels
[+] Improved detections of UseScripts
[+] Added a few more Platinum script commands
[+] Fixed ARM9 compression detection for DP roms
2021-10-24 22:58:16 +02:00
AdAstra-LD
b8446d3c2a Fixed whitespace characters + added mapSize 'constant' to MapFile class 2021-10-03 17:49:15 +02:00
AdAstra-LD
d783df7935 Added braces [ScriptFile.cs] 2021-09-13 03:00:13 +02:00
AdAstra-LD
fb68aff727 Added Command Tooltips feature to Script Editor
Misc bug fixes
2021-08-10 14:20:10 +02:00
AdAstra-LD
7c405c8ba3 Expanded ScriptCommandDatabase with Action Cmds and Comparison Operators 2021-08-09 23:16:42 +02:00
AdAstra-LD
0050fe932b Created reverse dictionaries for cmd names and comparison ops
[faster lookup]
2021-08-09 19:28:08 +02:00
AdAstra-LD
baebd4aed1 Migrated scriptEditor to ScintillaNET 2021-08-06 02:09:14 +02:00
AdAstra-LD
a9de70df49 [Script Editor] Improved function usage detection 2021-08-01 23:28:02 +02:00
AdAstra-LD
88ca73bac5 Added Trainer Encounter music to Trainer Editor
+ Refactor and conversion of gameFamily and gameVersion to Enum formats
2021-07-30 19:32:13 +02:00
AdAstra-LD
cd9e946bc3 More script commands + important bugfix 2021-07-20 18:44:22 +02:00
AdAstra-LD
fe2cd07de6 Minor Script Editor error detection fixes 2021-07-17 21:04:55 +02:00
AdAstra-LD
08d5400694 Better management of script actions database + refactor 2021-07-17 19:50:21 +02:00
AdAstra-LD
605b8a03a1 Minor bugfix + refactor and new script actions 2021-07-17 19:23:43 +02:00
AdAstra-LD
9107575f43 Made script editor less picky about 0x and blank lines 2021-07-16 06:00:05 +02:00
NomuraRH
b81baa956b Added dynamic headers patch and support for adding new headers 2021-05-28 23:25:25 +02:00
AdAstra-LD
28e49e0bb3 written "clear level script" code
- more code cleanup
2021-05-02 19:17:41 +02:00
AdAstra-LD
3e5dc2d729 Changed == null to "is null" 2021-04-24 17:05:35 +02:00
AdAstra-LD
1e5627f8d5 Updated script editor and other things
- Add NSBTX and Remove NSBTX buttons also add/remove building configuration file [NSBTX Editor]
- Changed format of Script Editor display
- Added highlighting of 'Script', 'Function' and 'Action' keywords (only upon reloading)
- Changed Endcodes database to HashSet (PokeDatabase -> ScriptEditor)
- Minor refactor
2021-04-08 10:27:42 +02:00