GriffinR
c4adcc2963
Stop unnecessary evaluation when parsing constant names
2023-12-11 16:49:27 -05:00
GriffinR
e710567400
Revert changes to readCIncbin
2023-02-06 19:19:46 -05:00
garakmon
70980f5e42
fix incbin parsing for multiple matches
2023-01-24 13:37:18 -05:00
garak
6b47d350a0
read multiple incbins and C arrays at once for situations where the same file could be opened many times
2023-01-17 13:15:07 -05:00
garak
06948a97b0
fix issue with fileCache invalidating certain changes in files
2023-01-17 13:15:07 -05:00
garak
5309eb5f0e
call updateSelectedEvents only once at a time
2023-01-17 13:15:07 -05:00
garak
c7d548bfc3
use a file cache for files that are already read
2023-01-17 13:15:07 -05:00
garak
260517b7ba
fix const for dynamic regular expressions
2023-01-17 13:15:07 -05:00
garak
37fcfba829
use static (And const where applicable) regular expression objects
...
the speed increase here is noticable since the work of creating a regex object is only done once per session
2023-01-17 13:15:07 -05:00
GriffinR
c16a6d5d23
Better support for parsing hex values
2022-10-28 13:29:33 -04:00
GriffinR
e2a31336c5
Merge branch 'master' of https://github.com/huderlem/porymap into fix-json
2022-10-17 22:20:06 -04:00
GriffinR
6ffcb58e5e
Convert JSON values by type, except events
2022-10-15 03:22:13 -04:00
garak
582405d68b
change Event class design in favor of polymorphism
2022-10-13 22:30:07 -04:00
GriffinR
c953a15523
Move error logging out of gameStringToBool
2022-10-10 11:38:17 -05:00
GriffinR
c58162be96
Support C tileset data without initializers
2022-10-10 11:38:17 -05:00
GriffinR
9b4c55106b
Read tileset graphics paths from C
2022-10-10 11:38:17 -05:00
GriffinR
efd49cd544
Read tileset headers from C data
2022-10-10 11:38:17 -05:00
GriffinR
ebdf22145d
Generalize C struct parsing
2022-10-10 11:38:17 -05:00
GriffinR
d353164244
Suppress errors for unneeded defines
2022-09-27 18:22:41 -05:00
garak
1334369906
begin overhaul of region map editor
...
- use a configurator to give users more options
- support firered (tilemaps, layout layers)
- add support for 4bpp and 8bpp tilemaps
- use new region map entries json format
- temporarily disabled city tilemap editor code
2022-06-29 22:15:21 -04:00
GriffinR
a6fb7eaeca
Process mod in defines
2021-12-26 10:13:06 -06:00
garak
6c3ee3c46d
order wild encounter json reading
2021-08-12 20:24:46 -04:00
Marcus Huderle
6f394ce39c
Code fixes for Qt 6
2021-07-07 18:11:35 -05:00
BigBahss
e310732169
Make eventScriptLabelModel and eventScriptLabelCompleter into values rather than pointers
2021-04-16 09:04:38 -04:00
BigBahss
61ffcc3259
Merge branch 'master' into script-editing
2021-04-16 07:28:09 -04:00
BigBahss
fdd12cde25
Refactor ParseUtil to stop using pointers and output-parameters
2021-02-17 16:34:46 -06:00
BigBahss
fa8b387120
Fix some more memory leaks related to parseAsm()
2021-02-17 16:34:46 -06:00
BigBahss
f65b6a047e
Fix a memory leak in parseAsm()
2021-02-17 16:34:46 -06:00
BigBahss
6335151c39
Add option to open log file
2021-02-03 16:01:54 -06:00
BigBahss
d2386fac9b
Add functions to parse all global event scripts labels in the project
2021-01-29 22:05:08 -05:00
huderlem
e16ec480e6
Merge pull request #325 from BigBahss/script-editing
...
Open map scripts directly to the script of the selected event
2020-12-13 17:22:47 -06:00
Marcus Huderle
583ee23a15
Fix regex in readNamedIndexCArray() that disallowed 0 in the name
2020-12-13 17:05:28 -06:00
BigBahss
3a04f59cb0
Fix QProcess::splitCommand() dependency on Qt 5.15.
...
Fix shortcut for Open Map Scripts (Due to merge).
2020-12-13 04:00:00 -05:00
BigBahss
7a4de9f3d9
Add support for finding and opening any event script
2020-12-04 09:29:38 -05:00
BigBahss
afc0c0c501
Add button next to script combo-box to open file to that script.
...
Revert the behavior of Open Map Scripts button.
2020-12-02 03:39:08 -05:00
BigBahss
e97b50a249
Refine regexes for script parsing
2020-12-01 12:02:02 -05:00
BigBahss
dbafb99fd4
Add action to open the project root in a text editor
2020-12-01 07:12:32 -05:00
BigBahss
a4528fb0d9
Add support for opening .pory scripts to the selected event script
2020-11-26 06:09:58 -05:00
BigBahss
4aaae1a264
Add support for opening .inc scripts to the selected event script
2020-11-22 01:04:46 -05:00
GriffinR
00ad1ec22a
Fix flags being listed out of order
2020-07-14 17:44:33 -05:00
GriffinR
c382190e8b
Fix crash parsing C defines from unknown token
2020-06-04 19:11:15 -05:00
Marcus Huderle
85c21855ef
Update C array regex to allow explicitly-sized arrays
2020-02-12 16:38:07 -06:00
Marcus Huderle
79c74b8814
Validate layouts
2020-02-11 18:34:08 -06:00
garak
911b30089c
rename TokenType to TokenClass to fix Windows issues
2019-10-16 20:04:19 -05:00
tustin2121
13b6f8f6e3
Event_object_graphics_pointers are now read for explicit indexes.
2019-08-27 18:00:56 -05:00
garak
a240bf5038
allow spaces in C INCBINS
2019-06-10 20:36:58 -05:00
garak
1e5ac54147
parse C defines with line breaks
2019-06-03 21:29:09 -04:00
garak
eb71f72b0e
move source parsing functions from project to parseutil
2019-05-09 18:08:52 -05:00
garak
675a064df6
readCDefines() - don't crash on invalid expressions, add better debugging info
2019-05-09 18:08:52 -05:00
garak
8c29b00fa4
modify event comboboxes, fix heal location parsing
2019-04-29 19:38:40 -05:00