Compare commits

..

2254 Commits

Author SHA1 Message Date
GriffinR
6a982402d9 Update manual
Some checks failed
Build Porymap / build-linux (5.14.2) (push) Has been cancelled
Build Porymap / build-linux (6.8.*) (push) Has been cancelled
Build Porymap / build-macos (macos-15-intel) (push) Has been cancelled
Build Porymap / build-macos (macos-latest) (push) Has been cancelled
Build Porymap / build-static-windows (push) Has been cancelled
2025-12-26 21:46:48 -05:00
GriffinR
6c0da12424 Update macOS intel download links 2025-12-26 16:19:46 -05:00
GriffinR
3479d09ac5 Release 6.3.0 2025-12-26 16:05:49 -05:00
GriffinR
df98d62339 Add unlockable icon 2025-12-26 15:34:31 -05:00
GriffinR
dcef773a33 Fix resizing issue on Metatiles panel
Some checks failed
Build Porymap / build-linux (5.14.2) (push) Has been cancelled
Build Porymap / build-linux (6.8.*) (push) Has been cancelled
Build Porymap / build-macos (macos-15-intel) (push) Has been cancelled
Build Porymap / build-macos (macos-latest) (push) Has been cancelled
Build Porymap / build-static-windows (push) Has been cancelled
2025-12-24 11:17:44 -05:00
GriffinR
7719eaf546 Fix some error formatting
Some checks are pending
Build Porymap / build-linux (5.14.2) (push) Waiting to run
Build Porymap / build-linux (6.8.*) (push) Waiting to run
Build Porymap / build-macos (macos-15-intel) (push) Waiting to run
Build Porymap / build-macos (macos-latest) (push) Waiting to run
Build Porymap / build-static-windows (push) Waiting to run
2025-12-23 12:30:16 -05:00
GriffinR
53bea222cc Fix new tileset directory collisions 2025-12-23 12:30:12 -05:00
GriffinR
57976c316b Merge branch 'master' of https://github.com/huderlem/porymap into dev
Some checks failed
Build Porymap / build-linux (5.14.2) (push) Has been cancelled
Build Porymap / build-linux (6.8.*) (push) Has been cancelled
Build Porymap / build-macos (macos-15-intel) (push) Has been cancelled
Build Porymap / build-macos (macos-latest) (push) Has been cancelled
Build Porymap / build-static-windows (push) Has been cancelled
2025-12-04 22:42:37 -05:00
GriffinR
6ffabb8adf Silence unused result warnings for QFile::open
Some checks failed
Build Porymap / build-linux (5.14.2) (push) Has been cancelled
Build Porymap / build-linux (6.8.*) (push) Has been cancelled
Build Porymap / build-macos (macos-15-intel) (push) Has been cancelled
Build Porymap / build-macos (macos-latest) (push) Has been cancelled
Build Porymap / build-static-windows (push) Has been cancelled
2025-12-04 22:29:24 -05:00
GriffinR
47a4e343af Bump Qt release version to support macOS 26 2025-12-04 22:29:10 -05:00
GriffinR
e186fd39f2 Remove unnecessary QGraphicsScene/item tracking from Tileset Editor
Some checks failed
Build Porymap / build-linux (5.14.2) (push) Has been cancelled
Build Porymap / build-linux (6.8.2) (push) Has been cancelled
Build Porymap / build-macos (macos-15-intel) (push) Has been cancelled
Build Porymap / build-macos (macos-latest) (push) Has been cancelled
Build Porymap / build-static-windows (push) Has been cancelled
2025-11-27 00:42:42 -05:00
GriffinR
0c6f901393 Fix missing negative bound when painting tiles 2025-11-26 22:52:18 -05:00
GriffinR
d59b24bd6f Avoid potential crash if file watching resources are exhausted
Some checks are pending
Build Porymap / build-linux (5.14.2) (push) Waiting to run
Build Porymap / build-linux (6.8.2) (push) Waiting to run
Build Porymap / build-macos (macos-15-intel) (push) Waiting to run
Build Porymap / build-macos (macos-latest) (push) Waiting to run
Build Porymap / build-static-windows (push) Waiting to run
2025-11-26 17:32:47 -05:00
GriffinR
9bdb25e10d Add setting to disable loading screen
Some checks are pending
Build Porymap / build-linux (5.14.2) (push) Waiting to run
Build Porymap / build-linux (6.8.2) (push) Waiting to run
Build Porymap / build-macos (macos-15-intel) (push) Waiting to run
Build Porymap / build-macos (macos-latest) (push) Waiting to run
Build Porymap / build-static-windows (push) Waiting to run
2025-11-25 23:07:10 -05:00
GriffinR
a20f14b93d Track metatile in MetatileLayersItem using ID instead of pointer 2025-11-25 16:39:13 -05:00
GriffinR
c7e417b044 Fix some QPointers not clearing promptly in Qt5
Some checks failed
Build Porymap / build-linux (5.14.2) (push) Has been cancelled
Build Porymap / build-linux (6.8.2) (push) Has been cancelled
Build Porymap / build-macos (macos-15-intel) (push) Has been cancelled
Build Porymap / build-macos (macos-latest) (push) Has been cancelled
Build Porymap / build-static-windows (push) Has been cancelled
2025-11-23 22:52:50 -05:00
GriffinR
e02ec2b695 Compatibility fixes for older compilers 2025-11-23 22:50:51 -05:00
GriffinR
ea8de4df76 Fix potential out of bounds map layout read
Some checks failed
Build Porymap / build-linux (5.14.2) (push) Has been cancelled
Build Porymap / build-linux (6.8.2) (push) Has been cancelled
Build Porymap / build-macos (macos-15-intel) (push) Has been cancelled
Build Porymap / build-macos (macos-latest) (push) Has been cancelled
Build Porymap / build-static-windows (push) Has been cancelled
2025-11-22 14:05:24 -05:00
GriffinR
97bf444b64 Fix the project version check not trusting the user's repo for some git versions
Some checks are pending
Build Porymap / build-linux (5.14.2) (push) Waiting to run
Build Porymap / build-linux (6.8.2) (push) Waiting to run
Build Porymap / build-macos (macos-15-intel) (push) Waiting to run
Build Porymap / build-macos (macos-latest) (push) Waiting to run
Build Porymap / build-static-windows (push) Waiting to run
2025-11-21 18:00:33 -05:00
GriffinR
5f6246b394 Fix map connection image exporting
Some checks failed
Build Porymap / build-linux (5.14.2) (push) Has been cancelled
Build Porymap / build-linux (6.8.2) (push) Has been cancelled
Build Porymap / build-macos (macos-15-intel) (push) Has been cancelled
Build Porymap / build-macos (macos-latest) (push) Has been cancelled
Build Porymap / build-static-windows (push) Has been cancelled
2025-11-16 20:40:39 -05:00
GriffinR
948aaeb2bf Fix map image export regression 2025-11-16 20:25:10 -05:00
GriffinR
79e935f8ac Fix middle button pan on Connections tab
Some checks failed
Build Porymap / build-linux (5.14.2) (push) Has been cancelled
Build Porymap / build-linux (6.8.2) (push) Has been cancelled
Build Porymap / build-macos (macos-15-intel) (push) Has been cancelled
Build Porymap / build-macos (macos-latest) (push) Has been cancelled
Build Porymap / build-static-windows (push) Has been cancelled
2025-11-14 22:29:21 -05:00
GriffinR
9f71023863 Remove deprecated functions from new pan shortcut 2025-11-14 21:50:38 -05:00
Marcus Huderle
66f26ab057 bucket fill shortcut is now Alt key
Some checks failed
Build Porymap / build-linux (5.14.2) (push) Has been cancelled
Build Porymap / build-linux (6.8.2) (push) Has been cancelled
Build Porymap / build-macos (macos-15-intel) (push) Has been cancelled
Build Porymap / build-macos (macos-latest) (push) Has been cancelled
Build Porymap / build-static-windows (push) Has been cancelled
2025-10-26 18:01:20 -05:00
GriffinR
1987fe64e8 Merge branch 'master' of https://github.com/huderlem/porymap into dev
Some checks failed
Build Porymap / build-linux (5.14.2) (push) Has been cancelled
Build Porymap / build-linux (6.8.2) (push) Has been cancelled
Build Porymap / build-macos (macos-15-intel) (push) Has been cancelled
Build Porymap / build-macos (macos-latest) (push) Has been cancelled
Build Porymap / build-static-windows (push) Has been cancelled
2025-10-19 22:12:37 -04:00
GriffinR
13a0b17baa Bump deprecated version for macOS intel runner
Some checks failed
Build Porymap / build-linux (5.14.2) (push) Has been cancelled
Build Porymap / build-linux (6.8.2) (push) Has been cancelled
Build Porymap / build-macos (macos-15-intel) (push) Has been cancelled
Build Porymap / build-macos (macos-latest) (push) Has been cancelled
Build Porymap / build-static-windows (push) Has been cancelled
2025-10-19 22:11:13 -04:00
GriffinR
543b7fa74e Update changelog 2025-10-07 08:51:25 -04:00
GriffinR
7d9cc8fa5d
Merge pull request #769 from GriffinRichards/fix-window-disable
Separate duplicate map/layout, fix window disabling
2025-10-07 08:38:04 -04:00
GriffinR
c9b7f471bb Fix Clear Map Entries in the region map editor 2025-10-07 08:10:43 -04:00
GriffinR
31718fef1b Reduce logging for failed file watcher 2025-10-07 07:57:58 -04:00
GriffinR
0706a62d3a Fix regression to 'Open Project in Text Editor' 2025-09-28 18:01:12 -04:00
GriffinR
7d6bbca0c2 Separate duplicate map/layout, fix window disabling 2025-09-28 14:38:58 -04:00
GriffinR
4bae91230c Update changelog 2025-09-28 01:11:00 -04:00
GriffinR
1ff4872770
Merge pull request #768 from GriffinRichards/fix-incbin-regex
Widen INCBIN regex support
2025-09-28 01:09:07 -04:00
GriffinR
15022af6fe Update changelog 2025-08-27 22:50:18 -04:00
GriffinR
4ab3322d97
Merge pull request #767 from GriffinRichards/map-list-sorting
Add sorting options to the Locations and Layouts list
2025-08-27 22:45:34 -04:00
GriffinR
fb45714dda
Merge pull request #766 from GriffinRichards/color-fix
Fix image export colors, add color space settings
2025-08-27 22:44:34 -04:00
GriffinR
7c5b527696 Widen INCBIN regex support 2025-08-27 00:38:50 -04:00
GriffinR
e232ef760c Add sorting options to the Locations and Layouts list 2025-08-17 23:31:40 -04:00
GriffinR
ae9a5a5074 Fix image export colors, add color space settings 2025-08-16 17:33:58 -04:00
GriffinR
ccc0ddd2f2 Set default focus to name field for new map/layout dialogs 2025-08-15 13:21:01 -04:00
GriffinR
71135a3ba0 Remove now-unnecessary continue statement 2025-08-13 12:44:11 -04:00
GriffinR
2fd52e0b32 Fix crash that can occur with very specific timing during quit 2025-08-13 12:32:10 -04:00
GriffinR
f47fc02b82 Improve error message when failing to find API scripts 2025-08-12 16:51:43 -04:00
GriffinR
4a12dd7f30 Update manual 2025-08-08 16:18:01 -04:00
GriffinR
af66502067 Release 6.2.0 2025-08-08 16:02:58 -04:00
GriffinR
7a2e4bb51e Merge branch 'dev' of https://github.com/huderlem/porymap 2025-08-08 16:00:36 -04:00
GriffinR
e2b1a1ecbb Fix window focus when closing Palette Editor 2025-08-08 15:24:46 -04:00
GriffinR
3ae1e404f8 Fix metatile status not updating while pasting/swapping in Tileset Editor 2025-08-08 15:09:27 -04:00
GriffinR
edabed0105 Fix status not updating while painting on map, remove redundant CollisionPixmapItem handling 2025-08-08 14:47:47 -04:00
GriffinR
9e820a79fe Fix tile status not updating while painting on layer view 2025-08-08 13:34:31 -04:00
GriffinR
b97a4e76b1 Better default names for range-based metatile images 2025-08-08 12:48:54 -04:00
GriffinR
14f72cba3c
Merge pull request #763 from GriffinRichards/modules
Allow compiling without the qml or network modules
2025-08-08 12:15:45 -04:00
GriffinR
78dcebdd3e Remove network warning on non-release platforms 2025-08-08 11:55:09 -04:00
GriffinR
b537375b15 Fix regressions to tile usage count 2025-08-07 23:49:58 -04:00
GriffinR
0b057a08a4 Preserve setting from set_transparent_pixels_black 2025-08-07 19:31:18 -04:00
GriffinR
c53d6eb105 Add qml note to manual, add version details to log 2025-08-07 15:02:29 -04:00
GriffinR
e6a20c76bb Allow compiling without the network module 2025-08-07 15:02:02 -04:00
GriffinR
6f4f393a88 Allow compiling without the qml module 2025-08-07 15:01:51 -04:00
GriffinR
5174dcb6eb Fix Tileset Editor changes being missed 2025-08-06 20:01:55 -04:00
GriffinR
a4a30ae3c8 Add Escape as an alternative to exit swap metatiles mode 2025-08-06 18:16:24 -04:00
GriffinR
9f5ac2935e Disallow invalid text in tileset selectors 2025-08-06 17:57:48 -04:00
GriffinR
b76c2ef316 Close metatile image exporter on save 2025-08-06 17:36:26 -04:00
GriffinR
d292dd05b4 Fix regression in resize layout popup 2025-08-06 17:29:30 -04:00
GriffinR
5da0655a15 Fix crash when changing dimensions in certain API callbacks 2025-08-06 17:11:35 -04:00
GriffinR
bc9fbe6e72 Remove some unprotected usage of QList::at 2025-08-06 13:44:29 -04:00
GriffinR
a5823f04f1 Fix new event data being discarded on maps with shared_events_map 2025-08-06 11:33:02 -04:00
GriffinR
73b774be7d Update changelog 2025-08-06 10:40:48 -04:00
GriffinR
5b4391c66f
Merge pull request #761 from GriffinRichards/tileset-editor
Add some Tileset Editor requests
2025-08-06 10:31:50 -04:00
GriffinR
66c8302c00 Fix Shortcuts Editor clear text buttons 2025-08-05 23:30:05 -04:00
GriffinR
301666e5bd Fix Shortcuts Editor displaying duplicate shortcut prompt repeatedly 2025-08-05 23:04:43 -04:00
GriffinR
b8c9fb8ccb Update changelog 2025-08-05 16:59:29 -04:00
GriffinR
7f3ef48515 Fix Porytiles sub-menu text 2025-08-05 16:57:42 -04:00
GriffinR
9f4125b6bd Prefix shortcut names with menu path 2025-08-05 16:55:51 -04:00
GriffinR
58540ab062 Highlight hovered metatile while swapping 2025-08-04 14:36:46 -04:00
GriffinR
b498eeec00 Fix tileset divider drawing, tile usage counts 2025-08-04 14:13:01 -04:00
GriffinR
c1fc2c8201 Fix bounds checking for external tile selections 2025-08-04 13:33:57 -04:00
GriffinR
db9ecd744f Improve metatile properties layout 2025-08-04 12:05:16 -04:00
GriffinR
2a74f0dc0e Update changelog 2025-08-01 21:12:27 -04:00
GriffinR
2e93e78a73
Merge pull request #760 from GriffinRichards/color-search
Add color usage features to the Palette Editor
2025-08-01 21:04:11 -04:00
GriffinR
d0337a7ae3 Add metatile swap 2025-08-01 20:54:52 -04:00
GriffinR
b66bfd0fd5 Fix some issues with the new layout dialog 2025-08-01 02:47:59 -04:00
GriffinR
f6f07ca5fc Allow vertical layout for layer view 2025-07-29 16:25:31 -04:00
GriffinR
5584a2d47b Fix possible file watcher crash 2025-07-29 14:12:51 -04:00
GriffinR
a88730ee3f Add palette painting to metatile layer painter 2025-07-28 12:42:35 -04:00
GriffinR
9ce865a9c1 Replace QPoint where QSize was meant 2025-07-28 11:58:44 -04:00
GriffinR
6eaeee5f57 Add color search feature 2025-07-27 20:09:06 -04:00
GriffinR
2f2f71948a Add setting to show unused palette colors 2025-07-25 13:35:08 -04:00
GriffinR
d3d30ae0f2 Update changelog 2025-07-25 13:33:11 -04:00
GriffinR
647e595254
Merge pull request #758 from GriffinRichards/metatile-layers
New metatile export options, metatile/tile image fixes
2025-07-25 13:22:12 -04:00
GriffinR
be9728523e Add setting to change metatile selector width 2025-07-23 12:22:03 -04:00
GriffinR
c45598f6c4 Merge branch 'dev' of https://github.com/huderlem/porymap into metatile-layers 2025-07-22 02:13:19 -04:00
GriffinR
26ad93f2ae Add Porytiles export shortcut 2025-07-22 02:02:16 -04:00
GriffinR
15b300f864 Clean up tile/metatile image changes 2025-07-22 00:15:33 -04:00
GriffinR
c5117e458b Use checkered bg for image export previews 2025-07-19 16:33:39 -04:00
GriffinR
dc4b1ef93a Enforce tile/metatile limits on load, fix tile selector performance 2025-07-19 16:17:59 -04:00
GriffinR
70aeda9adb Fix ranges for metatile sheet images 2025-07-17 15:14:59 -04:00
GriffinR
25e8bdee49 Fix resize layout grid changing with viewport 2025-07-17 13:04:35 -04:00
GriffinR
5fa5638277 More usage of Tile/Metatile size constants 2025-07-17 12:28:35 -04:00
GriffinR
4ea92dd9b9 Update changelog 2025-07-17 11:32:25 -04:00
GriffinR
4df2da6a7a
Merge pull request #754 from GriffinRichards/autocomplete-settings
Add setting to autocomplete with common scripts but not all scripts
2025-07-17 11:28:13 -04:00
GriffinR
0718da2fe2
Merge pull request #756 from BigLanturnProductions/patch-1
Update INSTALL.md
2025-07-16 21:02:33 -04:00
GriffinR
182f54df73 Disable Windows build job 2025-07-16 21:01:01 -04:00
BigLanturnProductions
4f2fafb514
Update INSTALL.md
It may seem unnecessary to explicitly include the clone and cd instructions again, but this aligns with the macOS instructions above.
2025-07-17 00:35:24 +01:00
GriffinR
38e2772213 Add new metatile image export window 2025-07-13 16:45:04 -04:00
GriffinR
ef86103f78 Add setting to autocomplete with common scripts but not all scripts 2025-07-08 14:21:35 -04:00
GriffinR
a2bb2efa3e Fix UIntSpinBox disallowing intermediate inputs outside of range 2025-07-07 22:24:01 -04:00
GriffinR
06b22e0c2e Add direct link to manual under Help 2025-07-07 16:14:31 -04:00
GriffinR
b2798e77d4 Allow rendering individual metatile layers 2025-07-02 13:39:01 -04:00
GriffinR
17e4cbfa30 Fix paste for Wild Pokemon not updating data in memory 2025-07-01 16:10:23 -04:00
GriffinR
6ab6a13f2f Update changelog 2025-06-30 21:35:03 -04:00
GriffinR
dd5b8262f8
Merge pull request #751 from GriffinRichards/tileset-editor-scale
Fix exported metatile image scaling, remove hardcoded cell sizes
2025-06-30 21:33:35 -04:00
GriffinR
e7f91097b2 Fix Region Map Editor incorrectly displaying certain MAPSEC data 2025-06-30 20:37:30 -04:00
GriffinR
d2febd99e9 Update changelog 2025-06-27 00:34:03 -04:00
GriffinR
4cc65cbd06
Merge pull request #750 from GriffinRichards/update-cursor-rects
Cursor refactoring
2025-06-27 00:26:35 -04:00
GriffinR
56d1a0d570 Fix exported metatile image scaling, remove hardcoded cell sizes 2025-06-26 15:01:53 -04:00
GriffinR
9a0dc28f51
Merge pull request #748 from GriffinRichards/fix-file-watcher
Condense file watcher warning, reduce resource usage
2025-06-24 21:19:39 -04:00
GriffinR
bbe34e4983 Sync Connections tab map view position 2025-06-23 15:44:18 -04:00
GriffinR
0da6ae9b37 Fix dragging events to negative coordinates 2025-06-22 00:20:16 -04:00
GriffinR
37ccc82bf4 Fix incorrect EditMode limits 2025-06-21 23:51:37 -04:00
GriffinR
f42e9ed3cf Fix Move tool affecting cursor anchor 2025-06-21 23:26:35 -04:00
GriffinR
1ab07cf3c7 Fix drag mode cursor icon not updating properly 2025-06-21 22:39:19 -04:00
GriffinR
440c0f9d5c Better pan control 2025-06-20 15:10:13 -04:00
GriffinR
573358b758 Condense file watcher warning, reduce resource usage 2025-06-18 16:07:31 -04:00
GriffinR
dbc13484b1 Disable Windows build job 2025-06-18 15:53:02 -04:00
GriffinR
13c6c90e02 Extra pointer safety 2025-06-16 22:12:40 -04:00
GriffinR
c56bac4f95 Fix Map::m_scriptFileWatcher being created before its needed 2025-06-16 22:02:14 -04:00
GriffinR
d1142d244e Refactor cursor rectangles 2025-06-16 21:15:29 -04:00
GriffinR
dd1d856bf3 Fix log file cleanup warning only printing to debug 2025-06-16 02:18:00 -04:00
GriffinR
513ba15838 Remove tile rectangle from non-tile tools 2025-06-15 19:17:07 -04:00
GriffinR
23584914ec Update manual 2025-06-09 14:40:44 -04:00
GriffinR
65d3ba3a34 Release 6.1.0 2025-06-09 14:38:01 -04:00
GriffinR
796e8b3ae4 Merge branch 'master' of https://github.com/huderlem/porymap into dev 2025-06-09 14:27:35 -04:00
GriffinR
ebbf2bf1a9
Merge pull request #741 from JakobDev/releasedate
Fix release date of version 6.0.0
2025-06-09 14:27:14 -04:00
GriffinR
23f0d5563c Update changelog 2025-06-09 14:24:40 -04:00
GriffinR
b065934bc3 Fix border cache check using incorrect blockdata 2025-06-09 14:19:47 -04:00
GriffinR
0620e94824 Replace fonts specified in forms 2025-06-09 13:55:51 -04:00
GriffinR
1e1010601f Support more font settings 2025-06-09 13:18:37 -04:00
GriffinR
0ccccb60b2 Update changelog 2025-06-09 12:52:33 -04:00
GriffinR
52f7e76abe
Merge pull request #746 from GriffinRichards/font-settings
Add font settings
2025-06-09 12:50:59 -04:00
GriffinR
6648fa33b1 Fix scripts.inc file watches accumulating 2025-06-09 12:14:58 -04:00
GriffinR
e00c7d456d Add font settings 2025-06-08 23:04:54 -04:00
GriffinR
a3d3a6c176 Update changelog 2025-06-08 18:26:02 -04:00
GriffinR
089b5019de
Merge pull request #740 from GriffinRichards/fix-filewatcher
Fix some issues with the filewatcher
2025-06-08 18:23:16 -04:00
GriffinR
5140fcc3ba Fix missing header 2025-06-08 18:15:29 -04:00
GriffinR
e6a4f88433 Don't let map.json watches re-accumulate, fix trying to load scripts.inc before it exists 2025-06-08 18:09:11 -04:00
GriffinR
5c2b9cb10b Restore some JSON character escapes 2025-06-08 17:54:22 -04:00
GriffinR
5474152c7e Remove old C string handling from OrderedJson 2025-06-08 17:22:22 -04:00
GriffinR
591b7c2055 Fix parser not recognizing hex numbers with prefix '0X' 2025-06-08 16:36:13 -04:00
JakobDev
36cfea5c1d
Fix release date of version 6.0.0 2025-06-02 18:51:33 +02:00
GriffinR
560d204890 Fix duplicated maps writing the wrong name 2025-05-29 22:19:37 -04:00
GriffinR
ba1aa2b1ff Fix some issues with the filewatcher 2025-05-29 01:16:07 -04:00
GriffinR
4816c1c8af Add buttons to change scale when resizing maps 2025-05-28 14:50:47 -04:00
GriffinR
fb3e93be8a Scale map appropriately when resizing 2025-05-28 14:20:54 -04:00
GriffinR
c26fcdd30f Fix link reference 2025-05-27 13:33:12 -04:00
GriffinR
1d315b7d9b Add releases link to README 2025-05-27 13:26:36 -04:00
GriffinR
aaa073dba5 Add download links to README 2025-05-27 13:23:17 -04:00
GriffinR
38b57181e1 Post-release manual update 2025-05-27 11:34:37 -04:00
GriffinR
0cf91b8852 Release 6.0.0 2025-05-27 11:22:59 -04:00
GriffinR
cf84f8aeff Update major version commit hashes 2025-05-27 10:55:48 -04:00
GriffinR
3efd7683ab Fix handling for spritesheets with multiple rows 2025-05-26 20:12:38 -04:00
GriffinR
27c7df1288 Pre-release manual update 2025-05-26 17:02:38 -04:00
GriffinR
082f51e797 Link to Breaking Changes in the changelog 2025-05-26 16:49:35 -04:00
GriffinR
0ed54d6643 Skip some unnecessary work in layout-only mode 2025-05-26 15:15:46 -04:00
GriffinR
d795a1133d Combine QLineEdit error stylesheets 2025-05-26 14:54:39 -04:00
GriffinR
82304ae828 Fix locations typo 2025-05-26 14:19:03 -04:00
GriffinR
eb5a95f48b Mention in manual why map list's Delete may be disabled 2025-05-26 14:18:30 -04:00
Marcus Huderle
3819d11ca4 expand env var properly 2025-05-24 08:56:19 -05:00
Marcus Huderle
922770638e troubleshoot windows build 2025-05-24 08:28:47 -05:00
GriffinR
0bcac7ed8d Add outdated warnings to last two manual pages 2025-05-23 14:32:56 -04:00
GriffinR
94545bd20a Update 'Editing Wild Encounters' manual page 2025-05-23 14:30:10 -04:00
GriffinR
1c5e75ef01 Use native message window for WildMonChart 2025-05-22 23:03:49 -04:00
GriffinR
2b4eb213f7 Add download links to INSTALL.md 2025-05-22 19:52:02 -04:00
GriffinR
658835bebd Simplify graphics file extension replacement 2025-05-22 15:11:11 -04:00
GriffinR
947142e370
Merge pull request #734 from GriffinRichards/config-file
Fix some issues with config loading
2025-05-22 14:28:13 -04:00
GriffinR
d5248c7dbc Sync map list search filter between tabs 2025-05-22 13:16:58 -04:00
GriffinR
fdd9467147 Clarify tooltips for Preview settings under Map Image Export 2025-05-21 23:13:45 -04:00
GriffinR
e4067bf088 Allow right-clicking border metatiles to select them 2025-05-21 22:57:33 -04:00
GriffinR
55bfcaec19 Fix missing ID handling for warp events 2025-05-21 22:11:51 -04:00
GriffinR
a5d68e6660 Add warning to Configure JSON for encounters 2025-05-21 16:11:01 -04:00
GriffinR
647dcf15d9 Remove old Windows support comments 2025-05-21 15:45:35 -04:00
GriffinR
a31b607128 Fix manual typo 2025-05-21 15:21:48 -04:00
GriffinR
fb92941c39 Add new 'Breaking Changes' manual page 2025-05-21 15:20:41 -04:00
GriffinR
50c845b15a Clear prefab UI when project is closed 2025-05-21 12:48:53 -04:00
GriffinR
d8e3eb6a30 Fix some issues with config loading 2025-05-21 11:53:34 -04:00
GriffinR
8e13c98c5e Fix focus returning to the search bar after project reload 2025-05-19 22:29:22 -04:00
GriffinR
af335b82e2 Combine QImage::flip version checks 2025-05-19 16:15:19 -04:00
Marcus Huderle
e46f07f927 Use QMakeSpec env instead of -spec 2025-05-18 19:46:23 -05:00
GriffinR
39ef3513e7 Fix Qt 5.14 build 2025-05-18 20:42:13 -04:00
Marcus Huderle
73cf7f5201 Run CI on dev branch 2025-05-18 19:13:21 -05:00
Marcus Huderle
76f583df6a Update CI to use 6.9.0 for static windows build 2025-05-18 19:12:40 -05:00
Marcus Huderle
e2b28de483 enable update promoter on Windows 2025-05-18 18:50:51 -05:00
GriffinR
0428563e67 Remove unnecessary color in default stylesheet 2025-05-18 19:21:48 -04:00
GriffinR
6d970c8a76 Update 'Region Map Editor' manual page 2025-05-18 14:11:52 -04:00
GriffinR
83db36f6eb Fix crash when switching projects with the Shortcuts Editor open 2025-05-17 02:34:20 -04:00
GriffinR
8dba5c24a2 Update 'Shortcuts' manual page 2025-05-17 02:26:28 -04:00
GriffinR
8b437281ab Update 'Project Files' manual page 2025-05-17 02:09:45 -04:00
GriffinR
deaf067c50 Fix minor issues with resize layout 2025-05-16 13:04:26 -04:00
GriffinR
760b6119d0 Remove old log statement 2025-05-16 11:31:29 -04:00
GriffinR
156546def6 Use map group order for initial map 2025-05-16 03:09:50 -04:00
GriffinR
d14cca6891 Fix some palette error handling 2025-05-16 03:00:52 -04:00
GriffinR
bdf2ed3263 Update 'Editing Map' manual pages 2025-05-15 22:50:57 -04:00
GriffinR
69f1e4e0bd Describe minor tabs on the Map tab 2025-05-14 19:54:56 -04:00
GriffinR
13e7b38550 Update 'Navigation' manual page 2025-05-14 17:02:26 -04:00
GriffinR
018ad49ac4 Use Message functions for Tileset Editor 2025-05-12 23:53:02 -04:00
GriffinR
00c82f43d2 Update 'Introduction' manual page 2025-05-12 22:50:21 -04:00
GriffinR
b1f531924f Fix some of the broken native dialogs 2025-05-12 22:50:06 -04:00
GriffinR
7239f6f4a3 Adjust minimum map list size 2025-05-12 22:22:22 -04:00
GriffinR
860ea33e4d Update tool icons 2025-05-11 23:53:08 -04:00
GriffinR
18b6355072 Add disabled theme for QSlider 2025-05-11 22:58:52 -04:00
GriffinR
2915208fbb Update 'Creating New Maps' manual page 2025-05-11 22:12:27 -04:00
GriffinR
4a64e03b5e Update changelog 2025-05-11 18:28:09 -04:00
GriffinR
dd8486ba34 Fix some tool button issues 2025-05-11 18:15:24 -04:00
GriffinR
521410e1f6 Update changelog 2025-05-11 16:16:38 -04:00
GriffinR
b1542f5822 Add missing template types 2025-05-11 16:02:33 -04:00
GriffinR
aaf364248e Simplfy warp warning button connection 2025-05-11 15:09:02 -04:00
GriffinR
6f42f86289 Fix map navigation persisting between projects 2025-05-11 14:38:03 -04:00
GriffinR
77a7acd529 Fix disabled arrow styling on Default theme 2025-05-11 14:28:14 -04:00
GriffinR
2a7927ae82
Merge pull request #731 from GriffinRichards/soften-map-loading
Soften map/layout loading, add Back/Forward
2025-05-11 13:48:34 -04:00
GriffinR
c010f95274
Merge branch 'dev' into soften-map-loading 2025-05-11 13:28:55 -04:00
GriffinR
74ed019ca4 Condense panel for new map project settings 2025-05-11 13:08:19 -04:00
GriffinR
6d84434645 Move some file operations from Tools to File menus 2025-05-08 23:35:38 -04:00
GriffinR
55a2af314f Update changelog 2025-05-08 22:34:59 -04:00
GriffinR
cc547b7cb6
Merge pull request #636 from GriffinRichards/windowsize
Resize main window to fit available screen geometry
2025-05-08 22:29:58 -04:00
GriffinR
96b90dc5e1 Add 'Open in JSON' actions 2025-05-08 22:25:07 -04:00
GriffinR
56722f7359 Don't auto-expand Layout folders when searching map list 2025-05-08 19:50:41 -04:00
GriffinR
c0fb6022f5 Add tool tip for disabled tabs 2025-05-08 19:41:34 -04:00
GriffinR
9d2e3145bb
Merge pull request #726 from GriffinRichards/status-bar-log
Add warning/error messages to status bar
2025-05-08 19:00:17 -04:00
GriffinR
9812f94d12 Add shortcuts for Back/Forward 2025-05-08 16:19:46 -04:00
GriffinR
8e141247bb Soften layout load requirements 2025-05-08 16:04:37 -04:00
GriffinR
d0587f400c Add navigation arrows 2025-05-08 15:20:05 -04:00
GriffinR
9a3b45117b Make map load failure non-destructive 2025-05-08 13:26:30 -04:00
GriffinR
a15daf6c14 Relax remaining MAP_ prefix assumptions 2025-05-07 12:29:43 -04:00
GriffinR
a906783f68 Remove last MAP_ prefix requirement 2025-05-07 12:17:09 -04:00
GriffinR
aa32276381 More message fixes 2025-05-06 16:25:38 -04:00
GriffinR
238a9d1865 Fix regression to cursor single tile mode 2025-05-06 15:30:45 -04:00
GriffinR
ac8a79a7cc Take screen boundaries into account 2025-05-04 23:28:26 -04:00
GriffinR
e710e105c5 Merge branch 'dev' of https://github.com/huderlem/porymap into windowsize 2025-05-04 22:46:19 -04:00
GriffinR
eaceb45592 Add settings to enable/disable status bar logging 2025-05-04 22:28:10 -04:00
GriffinR
7511f445bd Merge branch 'dev' of https://github.com/huderlem/porymap into status-bar-log 2025-05-04 18:49:52 -04:00
GriffinR
6e541b0994
Merge pull request #724 from GriffinRichards/player-icons
Add new player icons for the Events tab
2025-05-04 17:09:00 -04:00
GriffinR
3a02df50af Update changelog 2025-05-04 16:36:34 -04:00
GriffinR
e2371eb1e6 Remove redundant text change for tileset combo boxes 2025-05-04 16:34:43 -04:00
GriffinR
805b366c89
Merge pull request #715 from GriffinRichards/version-check
Add project version check via git
2025-05-04 15:35:25 -04:00
GriffinR
424d2e6457
Merge branch 'dev' into version-check 2025-05-04 15:09:12 -04:00
GriffinR
03a252c241
Merge pull request #723 from GriffinRichards/update-scripts
Update script dropdowns when a map's scripts file is edited
2025-05-04 14:47:24 -04:00
GriffinR
8ab1359d43 Auto-hide warnings/errors after 5 seconds 2025-05-04 03:04:54 -04:00
GriffinR
69482904cc Add log display to status bar, keep log file open 2025-05-04 00:09:29 -04:00
GriffinR
a1d264cd47 Fix regression to status bar message clearing 2025-05-04 00:08:06 -04:00
GriffinR
c8a9e33d40 Allow copy-pasting version info 2025-05-02 11:22:38 -04:00
GriffinR
7ba4af1a50 Remove old event frames UI 2025-05-02 11:15:50 -04:00
GriffinR
5c9cf80a03
Merge branch 'dev' into update-scripts 2025-05-02 11:08:26 -04:00
GriffinR
f8f6fe827d Fix missing filewatcher paths 2025-05-01 15:53:16 -04:00
GriffinR
3876b63836 More loading screen messages, include map.json files 2025-05-01 15:53:10 -04:00
GriffinR
6d6b006620 Minor combo box fixes 2025-05-01 15:52:53 -04:00
GriffinR
8245f60e2b Prefer NoScrollComboBox::setTextItem over setCurrentText 2025-05-01 10:30:11 -04:00
GriffinR
91d89a7422 Fix Qt5 build 2025-05-01 00:29:08 -04:00
GriffinR
6d3fd5bc7e Add settings for events tab icon 2025-05-01 00:17:38 -04:00
GriffinR
311b6c8638 Add more player icons 2025-04-30 16:30:43 -04:00
GriffinR
31cf00de8b Update git search error messages 2025-04-30 13:08:02 -04:00
GriffinR
96664e9680 Merge branch 'dev' of https://github.com/huderlem/porymap into version-check 2025-04-30 12:03:13 -04:00
GriffinR
22a36d4664
Merge pull request #721 from GriffinRichards/global-defines
Add global define settings
2025-04-30 11:58:28 -04:00
GriffinR
8b5c2ec792 Fix missing warning for initially incorrect warps 2025-04-30 11:48:39 -04:00
GriffinR
15e2d3cf05 Start fixing some of the Message UI deadlocks 2025-04-30 03:14:30 -04:00
GriffinR
184025aace Reset frames between loading screens 2025-04-29 16:45:09 -04:00
GriffinR
7b7eb221e5 Fix missing first frame of loading screen 2025-04-29 16:43:04 -04:00
t
54461991f7
Update CHANGELOG.md 2025-04-29 16:18:15 -04:00
garak
7426f47471 clean up 2025-04-29 16:16:10 -04:00
garak
7fb657376d use common version function for splash and about screen 2025-04-29 16:16:10 -04:00
garak
9a0a7865fb show splash screen whenever project is being loaded
... including when switching projects and reloading projects
2025-04-29 16:16:10 -04:00
garak
c2b1f5ab85 fix geometry setting before window exists 2025-04-29 16:16:10 -04:00
garak
134a933d11 create splash screen for loading 2025-04-29 16:16:10 -04:00
GriffinR
79ffe668a3 Update script dropdowns when a map's scripts file is edited 2025-04-28 12:12:19 -04:00
GriffinR
c52bc46c0f Update changelog 2025-04-24 16:29:33 -04:00
GriffinR
f776a31e4a
Merge pull request #719 from GriffinRichards/local-id
Support local ID strings, misc event fixes
2025-04-24 16:16:31 -04:00
GriffinR
d97fd5b2a6 Update onMapResized 2025-04-23 22:18:45 -04:00
GriffinR
845f93c9e4 Fix Qt 5.14 build 2025-04-23 17:57:22 -04:00
GriffinR
4259e65244 Clean up settings editor changes 2025-04-23 17:35:28 -04:00
GriffinR
715f53731d Parser define maps to hashes 2025-04-23 17:22:14 -04:00
GriffinR
781f965d6b Allow parser to remember defines, globals take precedence 2025-04-23 16:51:57 -04:00
GriffinR
fc0b1b1b58 Fix invalid selections being marginally visible on the collision selector 2025-04-23 14:11:48 -04:00
GriffinR
046f942f41 Fix some issues with player view rectangle visibility 2025-04-23 11:42:57 -04:00
GriffinR
dedf0d3e57 Fix crash on project switch 2025-04-23 02:50:50 -04:00
GriffinR
10aa9a623f Update new tool tips 2025-04-23 02:33:55 -04:00
GriffinR
b7e19a427d Add global constants settings 2025-04-22 23:36:34 -04:00
GriffinR
c3bb051fd5 Fix collision sheet size regression 2025-04-22 21:32:04 -04:00
GriffinR
8fc9e05359 Merge branch 'dev' of https://github.com/huderlem/porymap into global-defines 2025-04-22 15:55:47 -04:00
GriffinR
ed273b9ca0 Add functionality for global constants 2025-04-22 15:54:13 -04:00
GriffinR
eed58e3aff Merge branch 'dev' of https://github.com/huderlem/porymap into local-id 2025-04-22 15:14:08 -04:00
GriffinR
57545eae0a Fix initializer order warning 2025-04-22 15:11:36 -04:00
GriffinR
c26c01aaff Add missing tooltip formatting 2025-04-22 14:48:15 -04:00
GriffinR
c1acf7141d
Merge pull request #718 from GriffinRichards/fix-connection-issues
Fix some issues from the Connections tab redesign
2025-04-22 14:44:40 -04:00
GriffinR
d33f0fc6f0 Stop QTextEdit from stealing scroll focus 2025-04-22 11:21:48 -04:00
GriffinR
e8ac633700 Save grid settings in config 2025-04-21 18:57:42 -04:00
GriffinR
6e8dc8c0c4 Update changelog 2025-04-21 17:45:18 -04:00
GriffinR
18f1b95e1a
Merge pull request #716 from GriffinRichards/read-map-offsets
Read MAP_OFFSET_W, MAP_OFFSET_H from project
2025-04-21 17:40:37 -04:00
GriffinR
8375e7e3fe
Merge pull request #717 from GriffinRichards/write-errors
Better error handling if saving fails
2025-04-21 17:27:20 -04:00
GriffinR
4b3c8abb93 Remove old heal location map tracking, missing assignment in HealLocationEvent::duplicate 2025-04-21 12:58:15 -04:00
GriffinR
c0df85e43b Fix dangling references, other warnings 2025-04-20 20:03:11 -04:00
GriffinR
84882a5fad Prevent dragging events that aren't selected 2025-04-20 13:21:31 -04:00
GriffinR
2df722ab4c Fix region map tile selector swapping h/vflip 2025-04-20 09:43:48 -04:00
GriffinR
1d6d0c6dc9 Fix region map tile selector palette differing from selection 2025-04-20 09:43:21 -04:00
GriffinR
e26be84d91 Fix z value for events, separate EventPixmapItem from Editor 2025-04-19 23:21:27 -04:00
GriffinR
0f4028ab92 Add missing event frame invalidation 2025-04-18 12:25:39 -04:00
GriffinR
d992a29e36 Add input fields for LOCALID 2025-04-18 11:10:02 -04:00
GriffinR
b660ef5d30 Fix Qt5 build 2025-04-17 16:25:44 -04:00
GriffinR
8b85057ca5 Fix connection pixmaps being sensitive to focus 2025-04-17 15:55:47 -04:00
GriffinR
b1d85d32c1 Prevent weird diving map behavior 2025-04-17 15:55:12 -04:00
GriffinR
80024d9ce3 Add missing tooltip, menu separators 2025-04-17 14:11:34 -04:00
GriffinR
5d475513d5 Allow off-center player view size 2025-04-17 13:18:02 -04:00
GriffinR
a6ec91724f Replace BORDER_DISTANCE with actual view distance 2025-04-16 15:54:44 -04:00
GriffinR
db24687360 Add player view size settings 2025-04-16 15:54:33 -04:00
GriffinR
428693a6c9 Remove now-unnecessary tileset loading 2025-04-16 13:44:46 -04:00
GriffinR
ee0f5923ce Better error handling if saving fails 2025-04-15 17:10:32 -04:00
GriffinR
d30be0b9af Fix some inputs moving user's cursor while typing 2025-04-15 13:49:23 -04:00
GriffinR
d014eef9e8 Add NoScrollComboBox::editingFinished, disable diving map buttons with no map 2025-04-14 13:41:57 -04:00
GriffinR
b6548fd49c Stop zoom behavior from regressing again 2025-04-14 12:40:28 -04:00
GriffinR
e19932b90c Allow custom map connection direction input 2025-04-14 12:40:19 -04:00
GriffinR
168792b9c6 Fix comment typo 2025-04-13 23:10:51 -04:00
GriffinR
366933e2b0
Merge branch 'dev' into read-map-offsets 2025-04-13 22:46:34 -04:00
GriffinR
fa4ecf4842 Merge branch 'dev' of https://github.com/huderlem/porymap into local-id 2025-04-13 22:45:39 -04:00
GriffinR
c54d875d3c Update changelog 2025-04-13 22:43:38 -04:00
GriffinR
d350d10cfd
Merge pull request #713 from GriffinRichards/custom-json-data
Preserve custom JSON data
2025-04-13 22:40:46 -04:00
GriffinR
c630581453 Add setting for default map size 2025-04-13 22:28:25 -04:00
GriffinR
900ff0afd9 Fix incorrect log comments, update manual 2025-04-13 21:57:40 -04:00
GriffinR
35d5851a8f Read MAP_OFFSET_W, MAP_OFFSET_H from project 2025-04-13 21:40:22 -04:00
GriffinR
918fafa638
Merge pull request #714 from GriffinRichards/fix-deprecation
Fix deprecated code as of Qt 6.9
2025-04-13 19:42:51 -04:00
GriffinR
55f44a6257 Add project version check via git 2025-04-11 00:58:30 -04:00
GriffinR
c6e94eb6ab Replace stateChanged/checkStateChanged with toggled 2025-04-10 14:34:04 -04:00
GriffinR
41d0b4261f Fix deprecated code as of Qt 6.9 2025-04-10 13:39:52 -04:00
GriffinR
3d47d6b7e7 Remove some Editor usage from EventPixmapItem 2025-04-09 22:01:03 -04:00
GriffinR
714cce670f DraggaglePixmapItem -> EventPixmapItem 2025-04-08 12:42:23 -04:00
GriffinR
c53e9fcb28 Remove incorrect comment 2025-04-07 21:11:58 -04:00
GriffinR
33c66f272e Merge branch 'dev' of https://github.com/huderlem/porymap into local-id 2025-04-07 16:47:04 -04:00
GriffinR
374a2b67b8 Remove some redundant event pixmap loading 2025-04-07 16:43:31 -04:00
GriffinR
69efdc34d0 Stop warning when canceling custom filepath dialog 2025-04-07 16:20:18 -04:00
GriffinR
bbd86673c5 Fix uses of QDir::separator, clean and strip root from config paths 2025-04-07 16:17:13 -04:00
GriffinR
17949055f6 Fix local ID being reordered in output JSON 2025-04-07 13:49:26 -04:00
GriffinR
2256ded6c2 Some event frame updates for local IDs 2025-04-07 13:39:13 -04:00
GriffinR
2d827f62f7 Support event lookup by ID name 2025-04-07 13:38:54 -04:00
GriffinR
ecad60843c Remove old DraggablePixmapItem signals/slots 2025-04-07 13:38:11 -04:00
GriffinR
8c6b1a1e7d Update changelog 2025-04-07 13:18:33 -04:00
GriffinR
06c971360b
Merge pull request #709 from GriffinRichards/image-exporter
Update map image exporter
2025-04-07 13:04:34 -04:00
GriffinR
5c9e84b4c0 Add missing key take 2025-04-04 13:37:15 -04:00
GriffinR
db9e9d6f65 Remove Project::topLevelMapFields 2025-04-04 13:09:14 -04:00
GriffinR
f3a28848b9 Preserve custom fields in wild_encounters.json 2025-04-04 13:00:28 -04:00
GriffinR
029e959bfe Simplify fromQJsonValue loops 2025-04-03 22:33:43 -04:00
GriffinR
e1aaf3c18e Speed up opening maps with many warp events 2025-04-03 18:40:39 -04:00
GriffinR
a898791a70 Remove expensive calls to QGraphicsItemGroup::removefromGroup 2025-04-03 16:24:16 -04:00
GriffinR
cdd7e74e7f Fix bug with Hidden Item duplication 2025-04-03 14:51:49 -04:00
GriffinR
011f6196b5 Add setting to keep data only needed for matching 2025-04-03 13:43:54 -04:00
GriffinR
e94fce0c8d Combine the 3 QMaps for MAPSEC data 2025-04-03 13:24:50 -04:00
GriffinR
a4508918a1 Preserve custom global fields in layouts, heal_locations, region_map_sections, and map_groups json files 2025-04-03 11:59:55 -04:00
GriffinR
245c9d7936 Merge branch 'master' of https://github.com/GriffinRichards/porymap into dev 2025-04-01 22:37:19 -04:00
Danny Wang (ThePeeps191)
825cd51073
fix small typo in creating-new-maps.html (#712) 2025-04-01 22:35:09 -04:00
GriffinR
9d77af6f20 Sync GitHub Actions workflow with dev branch 2025-04-01 21:50:33 -04:00
GriffinR
7c107f3470 Fix timelapse not considering multiple command ID flags 2025-03-30 17:38:05 -04:00
GriffinR
c9b0d139b2 Preserve custom fields in the map_sections, layouts, and connections arrays 2025-03-30 00:20:39 -04:00
GriffinR
d264188ef9 Read wild pokemon table name from project rather than settings 2025-03-29 20:42:08 -04:00
GriffinR
44f3b27f2d Fix older Qt builds 2025-03-29 02:07:48 -04:00
GriffinR
cf51ca1fc4 Fix some issues with settings, canvas size, connections rendering 2025-03-29 01:15:07 -04:00
GriffinR
243a6064c2 Fix more timelapse bugs, clean up 2025-03-28 15:51:24 -04:00
GriffinR
1f9a836da9 Fix regression for appending new tilesets, add missing tooltip 2025-03-27 13:07:53 -04:00
GriffinR
67e2844821 Update changelog 2025-03-27 02:19:56 -04:00
GriffinR
ec79ee4185
Merge pull request #706 from GriffinRichards/tileset-types
Read encounter/terrain types from the project
2025-03-27 02:04:41 -04:00
GriffinR
6e6569634f Fix Qt5 build 2025-03-27 00:00:04 -04:00
GriffinR
c6a389b9cb Add raw metatile attributes editor 2025-03-26 23:45:01 -04:00
GriffinR
5cd53be057
Merge branch 'dev' into tileset-types 2025-03-26 21:42:37 -04:00
GriffinR
00d79f91fe
Merge pull request #705 from GriffinRichards/map-cache
More fixes from layout split
2025-03-26 21:41:07 -04:00
GriffinR
77330be555 Fix pixmap resizing, speed up stitch rendering 2025-03-24 15:52:20 -04:00
GriffinR
d437dffcd2 Fix transparency when rendering events in timelapse mode 2025-03-22 01:12:52 -04:00
GriffinR
f28088af3c Add live preview of gif export 2025-03-22 01:03:18 -04:00
GriffinR
c8dc7d0eb9 Prevent crash in Timelapse mode, sync editor with exporter 2025-03-21 19:39:26 -04:00
GriffinR
ee1d6ac481 Allow exporting connections with no border 2025-03-21 16:10:22 -04:00
GriffinR
8b5fa3ac9f
Merge pull request #703 from GriffinRichards/clazy
Fix some clazy warnings
2025-03-21 15:24:18 -04:00
GriffinR
f7781ca5df Render full border in image export 2025-03-21 13:47:13 -04:00
GriffinR
d1eaf6cfd2 Refactor image export settings, fix event occlusion 2025-03-21 13:39:29 -04:00
GriffinR
52a06d5b32 Separate MapImageExporter from Editor 2025-03-21 11:30:39 -04:00
GriffinR
1adbfcb3ec Fix default name for new encounter groups not guaranteed unique 2025-03-20 12:15:21 -04:00
khbsd
d62b7a416d
Add sorting to encounter group dropdowns (#704) 2025-03-20 12:11:12 -04:00
GriffinR
f3b751f600 Update metatile attribute combo boxes appropriately 2025-03-19 18:54:17 -04:00
GriffinR
969c9d8e5a Read encounter/terrain types 2025-03-19 15:22:06 -04:00
GriffinR
ef6eb69c72 Add file cache to ParserUtil 2025-03-19 14:27:56 -04:00
GriffinR
d555347323 Fix crash when adding first MAPSEC define 2025-03-18 23:51:38 -04:00
GriffinR
d42887e815 Fix regression to loading clone object events 2025-03-18 21:19:59 -04:00
GriffinR
a406f4c210 Restore Dynamic map error checks 2025-03-17 23:56:25 -04:00
GriffinR
77134072da Fix some clazy warnings (container-anti-pattern, incorrect-emit, and unused-non-trivial-variable) 2025-03-17 03:57:55 -04:00
GriffinR
8dcb66ca52 Move map/layout loaded state to Project 2025-03-16 19:29:26 -04:00
GriffinR
854880f9f8 Save map list settings in config 2025-03-16 17:53:09 -04:00
GriffinR
4b8bbe9400 Bump Porymap version 2025-03-16 16:11:39 -04:00
GriffinR
e6f4e64aa4 Add onLayoutOpened API callback 2025-03-16 16:05:56 -04:00
GriffinR
4b1332609e Restore layout selector if left in invalid state 2025-03-14 23:23:40 -04:00
GriffinR
1375572be1 Update map list when MAPSEC/layout is changed 2025-03-14 22:26:15 -04:00
GriffinR
f4d4980aad Fix crash in layout selector 2025-03-14 16:12:35 -04:00
GriffinR
7cfbcda9c2 Create new MAPSECs automatically on save if needed 2025-03-14 15:53:15 -04:00
GriffinR
763382a811 Allow projects with no maps or map groups 2025-03-14 15:00:58 -04:00
GriffinR
a0a8c71096 Replace various map constant arrays with data stored in Map objects 2025-03-14 14:45:28 -04:00
GriffinR
f03d817800
Merge pull request #697 from GriffinRichards/graphics-file-extensions
Expose file extension regex to config
2025-03-14 13:01:16 -04:00
GriffinR
1663ce7baf Update changelog 2025-03-11 15:11:10 -04:00
GriffinR
21b823792d Remove redundant key sequence list 2025-03-11 15:07:18 -04:00
GriffinR
89bdd03a0e
Merge pull request #696 from GriffinRichards/new-event-button
New event button refactor
2025-03-06 21:21:49 -05:00
GriffinR
7ab7f09fe3 Expose file extension regex to config 2025-03-06 01:52:43 -05:00
GriffinR
d43252506f
Merge pull request #694 from GriffinRichards/metatile-selector-speed
Stop unnecessary full redraws of metatile selectors
2025-03-03 14:23:25 -05:00
GriffinR
d37864fa82 Fix empty metatile labels being disallowed 2025-03-03 13:51:57 -05:00
GriffinR
7efc3e3421
Merge pull request #692 from GriffinRichards/utility
Add utility file, more project load speed improvements
2025-03-02 20:11:51 -05:00
GriffinR
14a949a1ec
Merge pull request #693 from GriffinRichards/layout-image-cache
Cache metatile images for each render pass
2025-03-02 20:10:01 -05:00
GriffinR
36aac9304f Add Layout::setClean 2025-03-02 19:27:25 -05:00
GriffinR
7cfd9fa0f8 Fix changing tilesets not marking layouts as unsaved 2025-03-02 19:23:19 -05:00
GriffinR
4df7b9319b Remove erroneous comment, add missing static 2025-03-02 18:33:50 -05:00
GriffinR
75dbd25630 Fix events not being cleared 2025-03-02 18:20:18 -05:00
GriffinR
edd2cce110 New event button refactor 2025-03-02 18:05:33 -05:00
GriffinR
87193158ae Fix crash when launching in layout-only mode 2025-02-28 15:17:36 -05:00
GriffinR
e0de7fa73f Stop unnecessary full redraws of metatile selectors 2025-02-28 14:17:29 -05:00
GriffinR
8f7e6b94b6 Cache metatile images for each render pass 2025-02-27 21:47:03 -05:00
GriffinR
e260c642b0 Speed improvements for Project::readSpeciesIconPaths 2025-02-27 16:23:05 -05:00
GriffinR
6d8b4f21d8 Move hex string conversions to Util 2025-02-27 13:36:13 -05:00
GriffinR
ded9f724dc Parser filter lists to QSet 2025-02-27 13:10:57 -05:00
GriffinR
75b8b2c16c Merge branch 'dev' of https://github.com/huderlem/porymap into utility 2025-02-26 16:05:04 -05:00
GriffinR
36b4ffa02d Fix changes for unsaved new maps applying to map groups 2025-02-26 13:23:26 -05:00
GriffinR
3e15487888 Add missing map group error check 2025-02-26 13:13:23 -05:00
GriffinR
4e590378f8 Update changelog 2025-02-26 12:52:24 -05:00
GriffinR
cdd233f7d5 Consider 'shared_scripts_map' when reading map scripts 2025-02-26 12:38:33 -05:00
GriffinR
2e8422d80c
Merge pull request #689 from GriffinRichards/event-speed-improvements
Event speed improvements
2025-02-26 11:56:07 -05:00
GriffinR
3cf7059ffb Update changelog 2025-02-25 18:52:03 -05:00
GriffinR
c6c64aae15 Stop automatically saving maps/layouts on creation 2025-02-25 18:51:58 -05:00
GriffinR
b78f23f259 Make Duplicate Map/Layout more accessible 2025-02-25 18:51:51 -05:00
GriffinR
dff7fae040
Merge pull request #681 from GriffinRichards/in-game-reload-message
Add in-game reload message
2025-02-25 00:02:15 -05:00
GriffinR
de703b4634
Merge pull request #679 from GriffinRichards/better-parse-errors
Combine parsing error messages
2025-02-24 23:59:15 -05:00
GriffinR
ae55d64e5b Stop rendering map connections twice on load 2025-02-22 19:38:32 -05:00
GriffinR
7637dc5ad6 Fix Qt5 build 2025-02-22 19:00:12 -05:00
GriffinR
491b003f2f Make use of the dimension fields in ObjectEventGraphicsInfo 2025-02-22 18:05:51 -05:00
GriffinR
9afaa4ae3e Add setting to re-enable global script autocomplete 2025-02-22 17:48:42 -05:00
GriffinR
880e5847c7 Remove global scripts from autocomplete 2025-02-22 17:48:33 -05:00
GriffinR
eef9a37d16 Cache event pixmaps 2025-02-22 17:47:57 -05:00
GriffinR
bf5ead848d Only load event sprites when requested 2025-02-22 17:46:59 -05:00
GriffinR
a2a8e27504
Merge pull request #682 from GriffinRichards/event-loading
Limit the maximum number of events
2025-02-22 17:44:49 -05:00
garak
a7ae458468 add support for drag+dropping multiple map groups 2025-02-22 16:36:46 -05:00
garak
632eeef53f fix dropping groups beyond end of group list
The issue was that the end-of-list drop zone is quite small
    and groups were being dropped outside of the bounds of the mapList
2025-02-22 16:36:46 -05:00
garak
29f88e6b76 fix drag+drop on groups moved upward in list 2025-02-22 16:36:46 -05:00
GriffinR
11d9d7b795 Add layout prefix to config, fix species prefix hardcoded length 2025-02-22 15:15:04 -05:00
GriffinR
1b510b6a6e Add utility.cpp, fix bug when map/layout name is just underscores 2025-02-22 15:00:06 -05:00
GriffinR
67c3a4befd Fix config appending 0s to saved window geometry/state 2025-02-22 12:45:17 -05:00
GriffinR
f093a16851 Add basic radio buttons to dark themes 2025-02-21 23:41:03 -05:00
GriffinR
73036f38e1 Move theme icons to separate folders 2025-02-21 23:40:56 -05:00
GriffinR
6ae5bf8b8c Update changelog 2025-02-21 21:57:17 -05:00
GriffinR
6c14b3ee15 Restore zoom behavior 2025-02-21 21:41:33 -05:00
GriffinR
8e86e2bf7f Fix tile usage not updating with Undo/Redo 2025-02-21 15:40:00 -05:00
GriffinR
70be815bdb Update changelog 2025-02-21 15:25:19 -05:00
GriffinR
239515366c Fix PrefixValidator being too strict 2025-02-20 21:53:34 -05:00
GriffinR
393d313d42 Minor startup speed improvement 2025-02-20 12:17:27 -05:00
GriffinR
5ea071d581
Merge pull request #684 from garakmon/res663
Update Tile / Metatile Usage When Painting
2025-02-19 23:38:59 -05:00
garak
089d90c9cb update tile & metatile usage counts automatically when painting 2025-02-19 16:39:29 -05:00
GriffinR
5890324c96 Fix crash when changing theme of an empty chart 2025-02-19 15:02:51 -05:00
GriffinR
88f5a90b2f Convert selected_events from DraggablePixmapItem to Event 2025-02-19 14:26:18 -05:00
GriffinR
ac8db41299 Add event group limit 2025-02-19 13:53:05 -05:00
GriffinR
7fc985fc1d Recognize local_id field 2025-02-19 13:25:21 -05:00
GriffinR
a2aa20ec46 Generalize event loading 2025-02-19 13:24:54 -05:00
GriffinR
c987cb322d Fix default save argument 2025-02-19 11:47:13 -05:00
GriffinR
1ab8b830d8 Add in-game reload message 2025-02-19 11:39:45 -05:00
GriffinR
43d5e32b96 Fix Save All after layout split changes 2025-02-19 11:39:31 -05:00
GriffinR
559f2ae6da Update changelog 2025-02-19 10:27:26 -05:00
GriffinR
007d11a337
Add events overlay to map view (#678) 2025-02-19 10:16:53 -05:00
GriffinR
8668504949
Merge pull request #677 from GriffinRichards/quiet-filewatcher
Only show the file watcher warning when Porymap is active
2025-02-19 10:14:09 -05:00
GriffinR
27ec547ac1 Fix regression re-enabling the Wild Pokemon tab 2025-02-18 15:22:42 -05:00
GriffinR
17c35a8d98 Condense parser error messages 2025-02-18 15:18:07 -05:00
GriffinR
00e71afd7d Clean up the wild encounter JSON parsing with some comments 2025-02-15 00:59:19 -05:00
GriffinR
59871d5739 Add version matrix to Linux build, bump macOS to LTS version 2025-02-14 14:48:38 -05:00
GriffinR
4180134a28 Update changelog 2025-02-14 13:17:03 -05:00
GriffinR
d421862ced
Merge pull request #673 from GriffinRichards/event-selection
Add event selection settings
2025-02-14 13:11:38 -05:00
GriffinR
3be7f54d05 Only show file watcher warning when Porymap is active 2025-02-13 21:14:58 -05:00
GriffinR
f442f44f72 Properly update search bar's clear text button 2025-02-13 11:40:09 -05:00
GriffinR
5feb391a9d Read colorpicker screen using cursor position 2025-02-13 11:17:05 -05:00
GriffinR
e67790a8d3 Merge branch 'dev' of https://github.com/huderlem/porymap into event-selection 2025-02-12 16:10:01 -05:00
GriffinR
6574e1b68a Re-enable workflow on PR for dev branch 2025-02-12 16:06:58 -05:00
GriffinR
8f5880f5bd Fix crash when duplicating maps 2025-02-12 15:54:32 -05:00
GriffinR
ee986b8e56 Remove unnecessary const qualifier, unused variable 2025-02-12 15:54:18 -05:00
GriffinR
78a9bac307
Merge pull request #671 from GriffinRichards/heal-locations
Read/write heal locations using new JSON data
2025-02-12 10:38:20 -05:00
GriffinR
e8f2713952
Merge branch 'dev' into heal-locations 2025-02-11 14:26:15 -05:00
GriffinR
165d49f7da
Merge pull request #670 from GriffinRichards/tileset-division
Keep metatile images on separate rows, fix metatile usage count
2025-02-11 14:24:55 -05:00
GriffinR
c20de521b8 Add event selection settings 2025-02-10 16:06:33 -05:00
GriffinR
a5141dea5d Fix events not rendering after certain layout changes 2025-02-10 11:50:39 -05:00
GriffinR
2100aaac93 Fix some internal use of 'objects' when referring to events 2025-02-09 17:06:30 -05:00
GriffinR
c49470c47e Fix some memory leaks 2025-02-07 23:15:18 -05:00
GriffinR
01126a888a Apply the "map opened" API callback to layouts, add utility functions 2025-02-07 16:25:58 -05:00
GriffinR
df861b59ad Shift events if map moves when resized 2025-02-07 14:59:00 -05:00
GriffinR
ac6750de44 Keep search focus when changing map list tabs 2025-02-07 13:43:10 -05:00
GriffinR
184f04202f Fix cursor and improperly-disabled edits when switching to Events tab 2025-02-07 13:22:21 -05:00
GriffinR
c212afcc20 Update changelog 2025-02-07 13:00:10 -05:00
GriffinR
8892c642f1 Remove redundant reload warning 2025-02-07 12:39:58 -05:00
GriffinR
6b9a4d73e9 Read/write heal locations using new JSON data 2025-02-06 13:46:42 -05:00
t
287e65b514 stop disabling spinboxes in resize popup 2025-02-06 13:06:30 -05:00
garak
51773926d2 resolve some goofiness 2025-02-06 13:06:30 -05:00
garak
1e7d5144b9 add back metatile limit upper bound check and popup 2025-02-06 13:06:30 -05:00
garak
035c326348 reset button working for change dimension dialog 2025-02-06 13:06:30 -05:00
garak
e4a4fb5ab1 add limits for resizing layouts 2025-02-06 13:06:30 -05:00
garak
54e41b0c20 redesign layout dimension change window 2025-02-06 13:06:30 -05:00
GriffinR
6dcbe45051
Merge pull request #669 from GriffinRichards/port-custom-attr
Port changes from Custom Attributes redesign
2025-02-06 10:11:14 -05:00
GriffinR
7173503f59 Fix Qt5 build, misc warnings 2025-02-05 23:35:25 -05:00
GriffinR
be02424f1c Reduce diff noise when saving maps 2025-02-05 15:59:13 -05:00
GriffinR
52a900b85d Hide map settings when exporting layout images 2025-02-05 15:31:14 -05:00
GriffinR
05c07e5a00 Keep metatile images on separate rows, fix metatile usage count 2025-02-05 15:01:32 -05:00
GriffinR
2aa2f8dbd4 Fix shortcuts editor crash 2025-02-05 11:07:37 -05:00
GriffinR
3e13986686
Merge pull request #668 from GriffinRichards/fix-sorting
Fix some lexical sorting of names with numbers
2025-02-02 15:45:14 -05:00
GriffinR
ecb2825e7d Update changelog 2025-01-31 11:11:20 -05:00
GriffinR
fe38e42591 Port changes from Custom Attributes redesign 2025-01-31 10:45:59 -05:00
GriffinR
748e51c3d5 Remove old comment 2025-01-30 12:12:23 -05:00
GriffinR
9bdf396679 Fix some lexical sorting of names with numbers 2025-01-30 12:07:25 -05:00
GriffinR
09694891f3
Merge pull request #665 from GriffinRichards/wild-enc-search
Add search feature to wild pokemon tab
2025-01-30 11:48:28 -05:00
GriffinR
361effe576
Merge pull request #667 from GriffinRichards/connection-fixes
Fix some issues with map connections after layout split
2025-01-30 11:33:30 -05:00
GriffinR
5a6d5ea929 Fix some issues with map connections after layout split 2025-01-29 13:48:03 -05:00
GriffinR
3bbb81e436 Add search feature to wild pokemon tab 2025-01-28 14:09:24 -05:00
GriffinR
de78a1172d Update changelog 2025-01-23 15:03:14 -05:00
GriffinR
9047cb8a28
Merge pull request #652 from GriffinRichards/new-map-dialog
Redesign creation dialogs
2025-01-22 15:53:11 -05:00
GriffinR
0cf7a45890 Don't automatically create empty MAPSEC display names 2025-01-22 15:49:20 -05:00
GriffinR
a00636260c Remove old layout suffix function 2025-01-22 15:29:11 -05:00
GriffinR
07e4d24b98 Enforce layout settings for duplicate maps 2025-01-22 15:19:21 -05:00
GriffinR
fe8f978a6b Fix map symbol editing regression, save new map/layout dialog geometry 2025-01-22 15:02:20 -05:00
GriffinR
cfb6f70580 Fix freeze when creating a new tileset 2025-01-22 14:38:49 -05:00
GriffinR
f4c0cb2d2d Use placeholder text for new map/layout names 2025-01-22 13:24:09 -05:00
GriffinR
90c904ecb9 Make it easier to edit MAPSEC names, Area -> Location 2025-01-22 13:12:22 -05:00
GriffinR
72f37d8983
Merge branch 'master' into new-map-dialog 2024-12-28 01:47:02 -05:00
GriffinR
2ca703e652 Update changelog 2024-12-28 01:38:13 -05:00
GriffinR
7a36fcc2ba
Merge pull request #655 from GriffinRichards/fix-transparency
Add setting for how to render fully transparent pixels
2024-12-28 01:34:26 -05:00
GriffinR
3ca1ee1650 Remove config diff noise from hashed containers changing order 2024-12-28 01:22:46 -05:00
GriffinR
8bd71a3860 Merge branch 'master' of https://github.com/huderlem/porymap into new-map-dialog 2024-12-23 15:06:22 -05:00
GriffinR
40adedef34 Fix editor's map/layout clearing if a map/layout fails to load 2024-12-23 15:02:14 -05:00
GriffinR
9efbe53238
Merge pull request #609 from GriffinRichards/commit-version
Include latest commit hash in version info
2024-12-23 14:58:06 -05:00
GriffinR
0d939772bf Add QMessageBox convenience classes 2024-12-22 23:58:59 -05:00
GriffinR
298306ce08 Add release build for intel macOS 2024-12-22 16:54:33 -05:00
GriffinR
ad0b8d6794 Render metatile/collision views by tab 2024-12-21 17:28:34 -05:00
GriffinR
486d1b7335 Add config settings for rendering transparency 2024-12-19 16:28:53 -05:00
GriffinR
d768075a26 Fix rendering for fully transparent pixels 2024-12-19 11:44:44 -05:00
GriffinR
01e586be62 Disable resizing the about window 2024-12-18 15:57:23 -05:00
GriffinR
c2b27fd2a1 Find git on Windows 2024-12-18 15:25:43 -05:00
GriffinR
12dba1a8b3 Add Qt version to About, remove changelog 2024-12-18 15:04:22 -05:00
GriffinR
64a9e2cacb Add dividing line for tilesets in Tileset Editor 2024-12-18 14:27:12 -05:00
GriffinR
883087d161 Fix chart button visibility 2024-12-18 13:39:12 -05:00
GriffinR
4f6291a3f6 Support non-Windows builds without QtCharts 2024-12-18 13:33:29 -05:00
GriffinR
bce32121f0 Bump GitHub Actions versions 2024-12-18 12:29:00 -05:00
GriffinR
d4ec14584d Merge branch 'master' of https://github.com/huderlem/porymap into commit-version 2024-12-17 21:42:07 -05:00
GriffinR
8f1e112858 Combine tile image export functions 2024-12-16 16:23:52 -05:00
GriffinR
81b6cfa537 Fix exported tile images writing garbage pixels 2024-12-16 16:23:46 -05:00
GriffinR
d9be7d594e Fix Qt5 build 2024-12-16 15:40:36 -05:00
GriffinR
8f16822f07 Merge branch 'master' of https://github.com/huderlem/porymap into new-map-dialog 2024-12-16 14:44:22 -05:00
GriffinR
59464aa89c Fix possible crash when layout fails to open 2024-12-16 14:39:23 -05:00
GriffinR
bf3820745a Add new QValidator classes 2024-12-16 14:34:45 -05:00
GriffinR
bdd64a6c6b Use applicationName() for window titles, clean up some remaining TODO items 2024-12-14 16:22:28 -05:00
GriffinR
4209c3e3f8 Fix checkerboard pattern for secondary tilesets 2024-12-12 16:38:51 -05:00
GriffinR
a6233e97c2 Ensure automatic new layout names are unique 2024-12-12 16:13:12 -05:00
GriffinR
52a7cd4f56 Combine minor creation dialogs 2024-12-12 15:46:13 -05:00
GriffinR
8e6aa78884 Update changelog 2024-12-11 23:24:52 -05:00
GriffinR
6b70abaaf0 Use QFile/QString for C parser files and paths 2024-12-11 23:21:53 -05:00
GriffinR
11dd7306d3 Remove unused parser_util 2024-12-11 23:21:47 -05:00
GriffinR
391f7b1685 Reserve MAP_DYNAMIC, fix some MAPSEC displays not updating, new error messages/handling 2024-12-09 21:43:36 -05:00
GriffinR
435d22c63a Fix layouts list sorting by ID rather than name 2024-12-06 11:02:38 -05:00
GriffinR
9c40b04ad5 Redesign new tileset dialog 2024-12-06 10:39:50 -05:00
GriffinR
c2cf3cc9c7 Fix tileset palette saving crash 2024-12-04 15:41:29 -05:00
GriffinR
b7c34a67e5 Fix AdvanceMap import memory leaks, revert name change 2024-12-03 16:16:54 -05:00
GriffinR
ba4a43d595 Reserve MAP_UNDEFINED 2024-12-03 15:46:25 -05:00
GriffinR
83ef14a242 Fix some problems with layout directory creation 2024-12-03 15:22:37 -05:00
GriffinR
06a263c689 Fix regression to map stitch images from layout split 2024-11-27 02:41:57 -05:00
GriffinR
6aa8802333 Fix map list empty folder regression 2024-11-27 00:15:21 -05:00
GriffinR
f1a4b78ca9 Fix map duplication 2024-11-26 20:44:43 -05:00
GriffinR
ff04a41db2 Add map list tool tips / copy actions, simplify MapListModel 2024-11-26 15:19:28 -05:00
GriffinR
b230f21e8d Automatically add new MAPSEC values from New Map dialog 2024-11-23 23:19:49 -05:00
GriffinR
4671321690 Add item to duplicate map/layouts from list 2024-11-23 22:36:37 -05:00
GriffinR
59c525e9fe Add icon for Summary Chart button 2024-11-23 14:39:01 -05:00
GriffinR
7eafae8cf7 Fix map grid not clipping in layout-only mode 2024-11-22 23:13:26 -05:00
GriffinR
d0101d807e Finish new layout dialog redesign 2024-11-22 14:22:18 -05:00
GriffinR
e7df829843 Group AdvanceMap parsing together, fix its tileset defaults 2024-11-21 14:11:47 -05:00
GriffinR
bd39bcfdd2 Begin new layout dialog redesign 2024-11-21 12:12:43 -05:00
GriffinR
d3a34cf5fc Fix scrolling over UIntSpinBox 2024-11-19 21:18:55 -05:00
GriffinR
724f42019c Automatically add new map groups 2024-11-19 13:49:00 -05:00
GriffinR
8bb0100540 Separate layout/header features of new map dialog 2024-11-14 14:43:20 -05:00
GriffinR
7d7db3857d Clean up new map dialog redesign 2024-11-12 15:06:14 -05:00
GriffinR
4f8224359e Use collapsible section for header data in new map dialog 2024-11-12 14:34:10 -05:00
GriffinR
205bb48c65 Header tab and new map dialog share UI setup 2024-11-12 14:27:35 -05:00
GriffinR
9e1ef2c741 Import collapsible section 2024-11-12 13:48:18 -05:00
GriffinR
d6a796e3b4 Start new map dialog redesign 2024-11-12 13:46:09 -05:00
GriffinR
9d87ece663 New map popup/prompt to dialog 2024-11-12 13:23:43 -05:00
GriffinR
acaed90d65 Read map.json constants on project open 2024-11-12 13:13:09 -05:00
garak
0a87f7b945 update changelog after #515 2024-11-12 13:08:46 -05:00
GriffinR
b7d78b0263 Make Map members private 2024-11-12 12:44:33 -05:00
GriffinR
18308fa9de Stop writing map_groups.h 2024-11-11 18:42:26 -05:00
t
c9695521c7
Merge pull request #515 from garakmon/slam
Separate Layouts and Maps
2024-11-11 11:10:00 -05:00
GriffinR
43c45f7d98 Fix some typos 2024-11-08 19:06:56 -05:00
GriffinR
e278d48380 Fix script API undo/redo for layouts, final TODO items 2024-11-08 15:26:43 -05:00
GriffinR
06ece16b93 Finish support for deleting MAPSEC values 2024-11-08 14:46:27 -05:00
GriffinR
d448765d63 Read/write MAPSEC values using the region map json 2024-11-07 22:49:52 -05:00
GriffinR
9c07533d1b Display main window maximized when first shown 2024-11-05 14:40:41 -05:00
GriffinR
727cce5d8b
Merge pull request #633 from GriffinRichards/api-images
Render API images as pixmaps
2024-11-05 00:29:06 -05:00
GriffinR
7d89031273 Resolve warnings and low-hanging TODO items 2024-11-04 21:35:36 -05:00
GriffinR
f90dae0da0 Set up map list tool bar to record setting states 2024-10-31 16:36:16 -04:00
GriffinR
ab8eb7c7e4 Reimplement disabled Delete key features 2024-10-31 14:58:01 -04:00
GriffinR
23e094d850 Update map list delete functionality 2024-10-31 14:30:56 -04:00
GriffinR
b89c1ddc80 Show unsaved changes warning for map list and layout-only edits 2024-10-29 21:51:05 -04:00
GriffinR
785ac958a5 Fix crash when file watcher message triggers 2024-10-29 20:09:01 -04:00
GriffinR
2ce5c3fcc5 Fix crash on tileset save, bugs with map resizing 2024-10-29 16:16:35 -04:00
GriffinR
3bd5ddbf2f Simplify saving the map list tab 2024-10-28 16:02:17 -04:00
GriffinR
a18b2c960b Stop unnecessary work/leaks from extra setProjectUI calls 2024-10-28 15:43:13 -04:00
GriffinR
7da2375998 Refactor map list buttons 2024-10-28 15:36:47 -04:00
GriffinR
d674856b18 Render API images as pixmaps 2024-10-28 11:42:44 -04:00
GriffinR
40d34b2d5b Merge branch 'master' of https://github.com/huderlem/porymap into slam 2024-10-25 14:33:00 -04:00
GriffinR
178dd16cf1
Merge pull request #626 from GriffinRichards/help
Update help buttons, chart help text
2024-10-25 14:29:34 -04:00
GriffinR
971a8b7b49 Fix grid settings dialog not restoring defaults when closed with X button 2024-10-24 12:10:47 -04:00
GriffinR
958b71afbb Stop leaking scripting overlay 2024-10-21 12:18:46 -04:00
GriffinR
b05f1d9ca1
Merge pull request #625 from GriffinRichards/metatile-leak
Stop leaking tileset metatiles
2024-10-20 18:37:55 -04:00
GriffinR
10aa6f6c3f Fix new name regexes, some assumptions about MAPSEC_NONE, memory leak 2024-10-17 15:56:05 -04:00
GriffinR
728355d202 Fix some missing constant usage 2024-10-17 12:12:33 -04:00
GriffinR
5e9ab4c7c7 Reopen Porymap to last-opened map/layout 2024-10-17 11:46:47 -04:00
GriffinR
b5c50e7660 Merge branch 'master' of https://github.com/huderlem/porymap into slam 2024-10-16 22:29:03 -04:00
GriffinR
09eaef4dbf Update help buttons, chart help text 2024-10-16 14:23:28 -04:00
GriffinR
70807fba3a Stop leaking tileset metatiles 2024-10-16 11:57:47 -04:00
GriffinR
3b6d3bef04 Update changelog 2024-10-16 10:42:44 -04:00
GriffinR
e431c161e7
Merge pull request #621 from GriffinRichards/file-dialogs
Correctly restore window focus for file dialogs
2024-10-16 10:41:17 -04:00
GriffinR
caeaeac1f6 Fix NoScrollComboBox and NoScrollSpinBox stopping parent's scrolling 2024-10-10 16:11:01 -04:00
GriffinR
e38e05e95a Update changelog 2024-10-10 13:56:12 -04:00
GriffinR
426faddad7
Merge pull request #619 from GriffinRichards/stitch-preview
Add actual preview to Export Map Stitch Image
2024-10-10 13:40:18 -04:00
GriffinR
f192b745dd Add additional static functions to filedialog 2024-10-10 01:43:35 -04:00
GriffinR
1ed9b1ee10 Correctly restore window focus for file dialogs 2024-10-09 12:35:12 -04:00
GriffinR
931b471cf1
Merge pull request #617 from GriffinRichards/custom-grid
Add map grid settings
2024-10-09 11:10:17 -04:00
GriffinR
a31a014b5d Fix Summary Chart animations stopping prematurely 2024-10-08 01:40:40 -04:00
GriffinR
4dc598455f Improve color slider edit history 2024-10-04 13:53:16 -04:00
GriffinR
bdcfc0467b Fix image exporter reset button 2024-10-04 03:45:47 -04:00
GriffinR
6e79c6c4c3 Add 'All' settings, avoid unnecessary work in a few places 2024-10-03 22:55:12 -04:00
garak
eed641f5ff fix connection mask in layout display 2024-10-03 11:06:40 -04:00
garak
7bfb064e80 fix main tab icon initialization 2024-10-02 02:50:41 -04:00
GriffinR
354680d125 Reduce time minimum for stitch image progress bar 2024-10-02 02:44:33 -04:00
GriffinR
ae6312c131 Add actual preview to Export Map Stitch Image 2024-10-02 02:29:33 -04:00
GriffinR
eefa46a2a2 Fix Qt 5.15 build 2024-10-01 10:19:40 -04:00
GriffinR
932c299935 Refactor palette editor to use new color input widget 2024-10-01 09:03:01 -04:00
GriffinR
44642c347f Add custom dash patterns to grid settings 2024-10-01 01:50:29 -04:00
GriffinR
a277e19334 Add linking buttons to grid settings 2024-09-28 21:43:41 -04:00
GriffinR
274d95eef5 Add color input to grid settings 2024-09-28 18:07:37 -04:00
GriffinR
2cd4cb9334 Add styles to grid settings 2024-09-27 22:42:07 -04:00
GriffinR
16536eb940 Add grid settings window 2024-09-27 22:19:29 -04:00
GriffinR
d369806c94 Fix height minimum for top bar on the Connections tab 2024-09-25 16:37:37 -04:00
garak
b622bec2be remove refs to old functions 2024-09-24 12:45:32 -04:00
garak
6d39d3afd4 fix project close order and clear new layout combo 2024-09-24 11:59:44 -04:00
garak
815a16e8ca Merge branch 'master' of https://github.com/huderlem/porymap into slam 2024-09-24 11:31:06 -04:00
GriffinR
5adf14590a Fix stitched map images sometimes rendering garbage 2024-09-16 13:22:03 -04:00
GriffinR
9feafd64b1
Merge pull request #610 from GriffinRichards/parse-speed
Improve #define parsing speed
2024-09-16 12:24:24 -04:00
GriffinR
036c159476
Merge pull request #613 from lhearachel/arch-install
Add installation instructions for Arch Linux to INSTALL.md
2024-09-15 22:16:09 -04:00
Rachel
f9f7d64692 Add installation instructions for Arch Linux to INSTALL.md 2024-09-15 18:10:03 -07:00
GriffinR
d6da284ddd Add .qtc_clangd to gitignore 2024-09-11 16:09:32 -04:00
GriffinR
2f5f401a37 Construct regex to filter defines beforehand 2024-09-11 15:04:06 -04:00
GriffinR
a0ebae00c6 Fix a bunch of memory leaks on startup->shutdown 2024-09-11 13:16:54 -04:00
GriffinR
bb33d48ea1 Remove unused Qt class variables 2024-09-11 12:02:18 -04:00
GriffinR
3178f20804 Clean up warnings 2024-09-11 12:02:09 -04:00
GriffinR
1e4ba6a668 Silence error if build directory is not a git repository 2024-09-09 19:02:37 -04:00
GriffinR
7c8d5d0d63 Include latest commit hash in version info 2024-09-09 15:41:15 -04:00
GriffinR
11bd41d000
Merge pull request #606 from GriffinRichards/parse-enum
Support for parsing enums
2024-09-08 21:38:10 -04:00
GriffinR
57f74d4b20
Merge pull request #607 from GriffinRichards/triple-layer
Interpret triple-layer metatiles from NUM_TILES_PER_METATILE
2024-09-02 23:15:58 -04:00
GriffinR
f7fc899627
Merge branch 'master' into parse-enum 2024-09-02 20:37:41 -04:00
GriffinR
d7e41e7190
Merge pull request #605 from GriffinRichards/encounter-graph
Add encounter charts
2024-09-02 20:30:33 -04:00
GriffinR
9ae336080e Consolidate event constructor calls 2024-08-30 23:33:46 -04:00
GriffinR
0b4f02779b Fix regression for dragging multiple events 2024-08-30 23:32:46 -04:00
GriffinR
1a456bc47b Save config in custom scripts editor, stop accidental 'refreshed' popup 2024-08-30 11:56:35 -04:00
GriffinR
d41d4d53e7 Interpret triple-layer metatiles from NUM_TILES_PER_METATILE 2024-08-29 12:44:50 -04:00
GriffinR
7c207a1558 Update changelog 2024-08-29 00:05:41 -04:00
GriffinR
c9022a9089 Fix freeze on mismatched parentheses 2024-08-29 00:05:27 -04:00
GriffinR
5c9a1d4140 Fix enum comma parsing 2024-08-29 00:05:05 -04:00
GriffinR
b1ad6d83f4 Replace 'prefix' names where we were actually using regex 2024-08-28 16:06:28 -04:00
GriffinR
869d0c7dec Restore display order for unevaluated defines 2024-08-28 15:38:41 -04:00
GriffinR
4b0d30fbc4 Initial enum support 2024-08-28 15:01:21 -04:00
GriffinR
8240cf55ef Exclude charts features for our Windows builds 2024-08-27 21:39:33 -04:00
GriffinR
c347fb174c Include qtcharts module for GitHub actions 2024-08-27 20:17:22 -04:00
GriffinR
febb82e0e9 Update changelog 2024-08-27 19:09:00 -04:00
GriffinR
325757d4ee Clean up in wildmonchart 2024-08-27 19:05:44 -04:00
GriffinR
8880aca829 Fix crash when closing project while editing table 2024-08-27 18:02:01 -04:00
GriffinR
0e9dacd159 Read MAX_ENCOUNTER_RATE from project 2024-08-27 16:14:02 -04:00
GriffinR
a7272191f4 Fix some species name issues for encounter table 2024-08-27 15:38:49 -04:00
GriffinR
d8d196b79d Connect wild mon chart to editor 2024-08-27 15:30:46 -04:00
GriffinR
dc79d5d258 Update changelog 2024-08-27 14:21:16 -04:00
GriffinR
97d9c5c03e Clear map list filter on project close 2024-08-27 14:19:15 -04:00
GriffinR
2ae87738fd Handle discontinous mapsec values in map list 2024-08-27 14:08:27 -04:00
GriffinR
dba3e524b3 Merge branch 'master' of https://github.com/huderlem/porymap into encounter-graph 2024-08-26 23:52:34 -04:00
GriffinR
91be6c1fa3
Merge pull request #602 from GriffinRichards/connections
Redesign Connections tab
2024-08-26 23:50:03 -04:00
GriffinR
6b5d191746 Fix level distribution max, theme issue 2024-08-24 01:36:16 -04:00
GriffinR
76e5fd4834 Add summary charts help button 2024-08-23 18:21:44 -04:00
GriffinR
2ec9012c07 Save summary chart settings in config 2024-08-23 16:00:42 -04:00
GriffinR
6f74909a3c Fixes for some visuals in chart window 2024-08-23 15:00:00 -04:00
GriffinR
7c9fcb6616 Add chart theme selector 2024-08-23 14:10:42 -04:00
GriffinR
8f6871dae0 Add grouped level distribution chart 2024-08-23 12:22:15 -04:00
GriffinR
c33e72f404 Add level distribution chart, more adjustments 2024-08-23 02:28:53 -04:00
GriffinR
9b09637b47 Summary chart adjustments 2024-08-22 01:31:46 -04:00
GriffinR
2c65c22b30 Summary chart to horizontal percent bar chart 2024-08-21 18:34:54 -04:00
GriffinR
b1814e0e3f Initial wild pokemon summary chart 2024-08-21 13:08:06 -04:00
GriffinR
4f4e8105cd
Merge branch 'master' into connections 2024-08-21 02:18:49 -04:00
GriffinR
baaf9c8c9d Fix group Event selections not clearing 2024-08-21 02:13:41 -04:00
GriffinR
2f24d45ca4 Fix map sort order regression 2024-08-20 23:53:55 -04:00
GriffinR
d154f47d98 Fix 'Dynamic' typo 2024-08-20 15:31:40 -04:00
GriffinR
9927d66389 Update changelog and manual 2024-08-20 15:02:28 -04:00
GriffinR
f70e77ab66 Final MapConnection testing fixes 2024-08-20 13:23:46 -04:00
GriffinR
7a0ae53143 Final MapConnection UI updates 2024-08-19 18:50:15 -04:00
GriffinR
186e20171b
Merge branch 'master' into connections 2024-08-19 14:59:40 -04:00
GriffinR
cbd75dc20b Map connection edit history 2024-08-19 14:54:08 -04:00
GriffinR
403bade407 Fix some minor window issues 2024-08-14 22:46:37 -04:00
GriffinR
0b800c1201 Skip unnecessary dive map rendering, fix rendering small connections 2024-08-14 02:11:11 -04:00
GriffinR
63b77a1fdc Ignore scrolling for connection map combo boxes 2024-08-13 21:43:23 -04:00
GriffinR
7c73161ad0 Merge branch 'master' of https://github.com/huderlem/porymap into connections 2024-08-13 21:21:45 -04:00
GriffinR
256f6eed54 Preserve NoScrollComboBox focus policy on macOS 2024-08-13 20:36:37 -04:00
GriffinR
2c1d363925
Merge pull request #603 from GriffinRichards/engine-leak
Fix script engine memory leak
2024-08-13 15:22:40 -04:00
GriffinR
724b35be95 Define destructor for Scripting 2024-08-13 15:12:02 -04:00
GriffinR
1686167714 Fix more minor map connection issues 2024-08-13 14:59:41 -04:00
GriffinR
bb0071e8ca Fix script engine memory leak 2024-08-11 03:29:17 -04:00
GriffinR
6fbc6d8d86 Prompt for new map connections 2024-08-08 21:24:15 -04:00
GriffinR
edb4a67994 Simplify map list icon updating 2024-08-08 17:26:42 -04:00
GriffinR
4af1c4d463 Take advantage of MapConnection as QObject 2024-08-08 17:25:23 -04:00
GriffinR
b5c7f9f86b Save mirroring in config 2024-08-04 17:39:56 -04:00
GriffinR
4e04e57c05 MapConnection to QObject 2024-08-04 17:21:30 -04:00
GriffinR
7eb3c17f4a Some connection TODO cleanup 2024-08-03 20:52:10 -04:00
GriffinR
2bb01a9988 Add dive map toggle under View 2024-07-25 16:32:26 -04:00
GriffinR
a07517be83 Preserve selection when deleting connections 2024-07-25 15:15:02 -04:00
GriffinR
13252f98f3 Add dive/emerge map overlay 2024-07-25 14:58:36 -04:00
GriffinR
c8434c85b3 Clean up project close for connections tab 2024-07-24 13:52:46 -04:00
GriffinR
3bf237ff45 Merge branch 'master' of https://github.com/huderlem/porymap into connections 2024-07-24 13:08:06 -04:00
GriffinR
019a23b870
Merge pull request #601 from GriffinRichards/window-closing
Project Open/Close improvements
2024-07-24 12:59:48 -04:00
GriffinR
80497805a1 Save project config on close 2024-07-24 12:00:34 -04:00
GriffinR
9ca5f6bc15 More map connection bug fixes 2024-07-18 15:14:52 -04:00
GriffinR
96b5fb1617 Performance & bug clean up 2024-07-17 16:48:37 -04:00
GriffinR
0012ea83e6 Update changelog 2024-07-17 12:31:07 -04:00
GriffinR
4c25813bd3 Add project close option 2024-07-17 12:16:02 -04:00
GriffinR
9efe67a72f Add sanity check to project opening 2024-07-16 14:19:47 -04:00
GriffinR
29ed696d9e Auto-detect more version names 2024-07-15 21:10:54 -04:00
GriffinR
db598a43db Write config files on close / save, not on modification 2024-07-15 20:03:37 -04:00
GriffinR
3fa06229aa Merge branch 'master' of https://github.com/GriffinRichards/porymap into window-closing 2024-07-15 14:19:00 -04:00
GriffinR
b60e54c07c Close subwindows gracefully, prompt save on quit 2024-07-15 14:15:56 -04:00
GriffinR
1e09d08c9c Reimplement connection mirroring 2024-07-11 16:44:51 -04:00
GriffinR
f1cfc3c78e Connections tab UI adjustments 2024-07-08 12:50:12 -04:00
GriffinR
7c6b33da1b Add selection highlight to connections list 2024-07-08 11:07:16 -04:00
GriffinR
0aa7ddf27d Add tab enums 2024-07-03 13:41:00 -04:00
GriffinR
6b0034e523 Fix border visibility in API 2024-07-03 13:33:55 -04:00
GriffinR
367198f98f Sync changes between connection list and map 2024-07-03 11:08:38 -04:00
GriffinR
1f78fb9c4f Remove strict offset limitations 2024-07-01 19:16:20 -04:00
GriffinR
2fa3a9b398 Connection reorganization 2024-07-01 13:58:58 -04:00
GriffinR
391285aee8 Add buttons to open Dive/Emerge maps 2024-06-28 22:01:13 -04:00
GriffinR
db35ec2c79 Initial connections tab UI redesign 2024-06-28 22:00:44 -04:00
GriffinR
18bdbc8a09
Merge pull request #598 from GriffinRichards/rme-fixes
Region map editor fixes
2024-06-26 15:13:25 -04:00
GriffinR
b28d4085ec Disable update promoter on Windows 2024-06-26 14:51:41 -04:00
GriffinR
cab710bb42 Merge branch 'master' of https://github.com/huderlem/porymap into rme-fixes 2024-06-17 15:19:54 -04:00
GriffinR
3af14307d3 Bump macOS Qt version 2024-06-17 14:47:19 -04:00
GriffinR
06b6651e46 Update changelog 2024-06-17 14:32:19 -04:00
GriffinR
79955715dd Fix crash if region map tileset file is too small 2024-06-17 14:32:02 -04:00
GriffinR
1c2be70ff0 Allow users to fix faulty region map settings 2024-06-17 14:31:37 -04:00
GriffinR
4a79114b98 Fix crash if region map tileset is missing 2024-06-17 11:43:17 -04:00
GriffinR
0954fe26ff Fix confusing error logging during region map setup 2024-06-17 11:26:45 -04:00
GriffinR
236ad9b73c Fix Add Region Map button 2024-06-12 11:44:25 -04:00
garak
bc454d6b13 fix some map combos not being populated with new items 2024-04-19 18:57:27 -04:00
garak
34478e69d9 cleanup: resolve remaining (outdated) TODOs 2024-04-19 18:41:52 -04:00
garak
f46ac36a94 cleanup: shortcuts, setLayout 2024-04-18 14:38:15 -04:00
garak
5bb0983c33 cleanup: resolve map list scrolling 2024-04-18 13:25:06 -04:00
garak
89fb4019a5 cleanup shortcuts 2024-04-18 12:21:09 -04:00
garak
dc72643e09 Merge branch 'master' of https://github.com/huderlem/porymap into slam 2024-04-03 14:11:09 -04:00
garak
70c6e414f1 reopen porymap on layout view when applicable 2024-03-28 10:21:35 -04:00
GriffinR
83a57c145c Update manual 2024-03-21 15:38:02 -04:00
GriffinR
199799f1c2 Release 5.4.1 2024-03-21 15:33:00 -04:00
GriffinR
6fe8539461 Fix number->string conversion in struct parsing 2024-03-21 15:24:08 -04:00
GriffinR
56e4955c54 Fix struct parsing using multiple methods to re-read a single member 2024-03-21 15:22:53 -04:00
garak
6520189352 Merge branch 'master' of https://github.com/huderlem/porymap into slam 2024-02-22 16:31:16 -05:00
garak
05beed21ca disable deletion of map sections and layouts 2024-02-18 19:56:52 -05:00
garak
879bb44bc0 functions to remove map groups and map sections 2024-02-17 22:47:48 -05:00
garak
74e4e2647c add new area (map section) functionality 2024-02-16 19:17:56 -05:00
garak
22b4108a7f create 'add layout' button 2024-02-15 22:19:49 -05:00
garak
963b09c866 create buttons to add items to map trees 2024-02-13 20:23:23 -05:00
GriffinR
012f2a213a Release 5.4.0 2024-02-13 16:36:54 -05:00
GriffinR
3eed13a162 Update changelog 2024-02-12 13:36:14 -05:00
GriffinR
b228c4e76c
Merge pull request #590 from GriffinRichards/update-promoter
Add update promoter
2024-02-12 13:27:49 -05:00
JakobDev
a960456c6e Remove include limits 2024-02-08 13:19:12 -05:00
JakobDev
ab108f8a60 Add missing include 2024-02-08 13:19:12 -05:00
GriffinR
142b5de5af
Merge pull request #592 from GriffinRichards/fix-zoom
Misc fixes for selection images
2024-02-07 16:30:40 -05:00
GriffinR
dc0d6fe267 Remove leftover comment 2024-02-07 16:20:09 -05:00
GriffinR
73b5c0501d Only alert user at most once per new release 2024-02-07 15:35:11 -05:00
GriffinR
e76729ce62 Limit update promoter to Windows/macOS 2024-02-06 16:15:56 -05:00
GriffinR
5def0e8be1 Reenable Retry button for parsing errors 2024-02-05 11:54:35 -05:00
garak
ad1b651f96 clear selection sticking when edits toggled for map list 2024-02-04 14:59:03 -05:00
garak
23b55a1074 fix bug disabling map edits after tab switches 2024-02-04 12:58:41 -05:00
GriffinR
582fb101cf Minor network fixes 2024-02-02 10:31:11 -05:00
GriffinR
ae341d144e Fix new maps parsing scripts file too early 2024-01-29 14:07:13 -05:00
GriffinR
13f14757be Smooth out scrolling for graphics views nested in scroll areas 2024-01-28 14:15:45 -05:00
GriffinR
d7f25f9ae5 More selection image fixes 2024-01-27 17:27:51 -05:00
GriffinR
0c03676f20 Update changelog 2024-01-26 15:41:44 -05:00
GriffinR
895c9466d7 Center selection when zooming 2024-01-26 15:38:12 -05:00
GriffinR
4cb7e8a9aa Fix selectors jumping when zooming 2024-01-26 15:38:03 -05:00
GriffinR
140b66862a Remove some unnecessary redrawing 2024-01-26 15:37:49 -05:00
GriffinR
d74affe0b9
Merge pull request #588 from GriffinRichards/preserve-settings
Stop changing settings if their features fail to load
2024-01-25 15:25:57 -05:00
GriffinR
a5ed554c68 Better client etiquette 2024-01-25 02:12:32 -05:00
GriffinR
34b2f9d881 Allow update checking with no project 2024-01-21 19:18:26 -05:00
GriffinR
58e4a21aa6 Revert oversimplified version check 2024-01-21 18:41:23 -05:00
GriffinR
fec1d1fdd4 Remove debug log 2024-01-21 12:09:23 -05:00
GriffinR
c04a89396c Add update promoter dialog 2024-01-21 12:01:31 -05:00
GriffinR
97b485284e Move version info to porymap.pro 2024-01-21 00:14:40 -05:00
GriffinR
09c2ed6b30 Add check for updates setting 2024-01-20 23:02:43 -05:00
GriffinR
d6dfab1805 Add update promoter network functions 2024-01-20 22:09:42 -05:00
GriffinR
42a95b32a2 Restore Project::defaultSong 2024-01-19 15:18:14 -05:00
GriffinR
3ebc7a93d4 Soften launch requirements, fix some potential crashes 2024-01-19 14:05:20 -05:00
GriffinR
3505251ad2 Stop changing settings if their features fail to load 2024-01-18 12:00:18 -05:00
GriffinR
662ada181a Remove leftover TODO 2024-01-16 13:30:22 -05:00
GriffinR
783fd0b304 Fix some issues with the Tileset Editor zoom sliders 2024-01-16 13:28:40 -05:00
GriffinR
cbb89d442f Update manual 2024-01-15 17:26:47 -05:00
GriffinR
5adb11f374 Release 5.3.0 2024-01-15 17:23:39 -05:00
GriffinR
fa8bb20fe2 Fix splitter limiting window resizing 2024-01-15 01:47:57 -05:00
GriffinR
43747bd8a1 Fix Tileset Editor UI briefly shrinking after window is shown 2024-01-12 23:05:44 -05:00
GriffinR
e873e4c665 Save states of new splitters in config 2024-01-12 22:47:50 -05:00
GriffinR
86d0200441 Add scrolling to border metatiles, splitter for Metatiles tab 2024-01-12 22:11:07 -05:00
garak
858c807856 fix bad merge 2024-01-12 19:22:54 -05:00
garak
0296c22845 Merge branch 'master' of https://github.com/huderlem/porymap into slam 2024-01-12 15:57:56 -05:00
garak
b620e3d816 add button to lock group edits 2024-01-12 15:48:51 -05:00
garak
abc433bc78 allow dragging and dropping to rearrange map groups 2024-01-12 14:39:49 -05:00
GriffinR
cef614f9f6 Update changelog 2024-01-11 23:14:37 -05:00
GriffinR
1428b250e6
Merge pull request #582 from GriffinRichards/tileset-zoom
Add zoom sliders to the Tileset Editor
2024-01-11 23:11:00 -05:00
GriffinR
07f68f6ab7
Merge pull request #581 from GriffinRichards/script-completer
Sort script dropdown, minor fixes
2024-01-11 22:59:21 -05:00
garak
99eb92c3b2 timelapse replay layout edits then map edits 2024-01-10 14:34:48 -05:00
garak
cd5b1f98d2 add toggleable button to hide empty map folders 2024-01-09 21:50:22 -05:00
garak
c0f32c6a17 Merge branch 'master' of https://github.com/huderlem/porymap into slam 2024-01-09 15:34:31 -05:00
garak
0f9c5873a2 Merge branch 'master' of https://github.com/huderlem/porymap into slam 2024-01-09 15:28:01 -05:00
GriffinR
c67835d350
Merge pull request #580 from GriffinRichards/open-proj
Fix minor issues with project opening
2024-01-08 21:29:03 -05:00
GriffinR
9538097a6f
Merge pull request #579 from GriffinRichards/hover-te
Display tile ID when hovering over Tileset Editor layer view
2024-01-07 21:17:15 -05:00
GriffinR
8e9e887344
Merge pull request #578 from GriffinRichards/heal-loc-name
Stop enforcing heal locations table name
2024-01-07 21:01:23 -05:00
GriffinR
bcba146be9 Add zoom sliders to the Tileset Editor 2024-01-07 18:01:59 -05:00
GriffinR
1212d7dfd8 Sort script dropdown, minor fixes 2024-01-06 17:40:59 -05:00
GriffinR
3d3811f3b1 Set focus to map on launch 2024-01-05 14:12:37 -05:00
GriffinR
4df8b1e6fd Fix minor issues with project opening 2024-01-05 02:49:22 -05:00
GriffinR
c9d8de8971 Display tile ID when hovering over Tileset Editor layer view 2024-01-05 02:47:23 -05:00
GriffinR
db1aabe3c2 Fix shortcuts editor clear buttons 2024-01-05 00:29:36 -05:00
GriffinR
941174d0ea Reduce redundant work in metatile selector 2024-01-04 21:36:14 -05:00
GriffinR
8c85209d53 Fix metatile selector rectangle jumping 2024-01-04 21:22:10 -05:00
GriffinR
ef165e29df Stop enforcing heal locations table name 2024-01-04 12:22:06 -05:00
GriffinR
28831a7ff0 Add get/setMetatileBehaviorName 2024-01-03 16:58:50 -05:00
GriffinR
d2a0d9299f Add some constants to the API 2024-01-03 16:34:55 -05:00
GriffinR
eecdd8c331 Hardcode URL colors (for Windows dark themes) 2024-01-03 15:17:56 -05:00
GriffinR
0b2a526e3d Fix event group tab selection 2024-01-03 15:09:12 -05:00
GriffinR
a0069b6a3f Add truncation warnings for Block masks 2024-01-03 14:24:14 -05:00
GriffinR
59f0d9fe11 Automatically adjust metatile ID strings 2024-01-03 13:36:42 -05:00
GriffinR
513e63193e Restore error interrupted silencing 2024-01-03 12:18:02 -05:00
GriffinR
e707fa20f2 Update changelog 2024-01-03 12:15:59 -05:00
GriffinR
2c61df578a Support relative paths in image API functions, combine projectDir calls 2024-01-03 12:13:53 -05:00
GriffinR
d1c25a8eca Fix API error reporting 2024-01-03 10:42:49 -05:00
GriffinR
16f0a1a030 Release 5.2.0 2024-01-02 15:13:23 -05:00
GriffinR
697459b61d Update manual 2024-01-02 14:55:25 -05:00
GriffinR
2088a5ec1c Fix some typos / confusing text 2024-01-02 14:20:56 -05:00
GriffinR
3a98ba9012 Fix right-click not updating selector if only collision changed 2024-01-02 12:06:18 -05:00
GriffinR
f9f0ff84fb Update changelog 2024-01-02 00:59:37 -05:00
GriffinR
d126a2b589
Merge pull request #575 from GriffinRichards/map-scripts
Add labels from scripts file to Script dropdowns
2024-01-02 00:56:51 -05:00
GriffinR
6682233079 Fix tileset editor desyncing with API changes 2024-01-02 00:54:54 -05:00
GriffinR
ecfc521a87
Merge pull request #573 from GriffinRichards/enc-rate
Set reasonable defaults for wild encounter rates
2024-01-01 23:05:50 -05:00
GriffinR
dc290652e0
Merge pull request #574 from GriffinRichards/vert-spritesheet
Support vertical spritesheets for overworld graphics
2023-12-31 17:53:05 -05:00
GriffinR
63102eccd6
Merge pull request #569 from GriffinRichards/recent-projects
Add 'Open Recent Project' menu
2023-12-31 17:39:43 -05:00
GriffinR
2fc906b5ae Fix tileset editor grid layering 2023-12-31 14:06:47 -05:00
GriffinR
331dc1f5c4 Fix window jostling when tile selection changes size 2023-12-29 23:27:51 -05:00
GriffinR
ced402a4c6 Add labels from scripts file to Script dropdowns 2023-12-29 21:54:37 -05:00
GriffinR
06ed730cd1 Support vertical spritsheets for overworld graphics 2023-12-29 00:34:52 -05:00
GriffinR
945201026e Set reasonable defaults for wild encounter rates 2023-12-29 00:15:51 -05:00
GriffinR
43ffc0bd36 Simplify recent projects config 2023-12-28 09:16:23 -05:00
GriffinR
6fedab9a22 Add 'Open Recent Project' menu 2023-12-28 01:00:12 -05:00
GriffinR
6a8d3a8197
Merge pull request #559 from GriffinRichards/custom-images
Update settings window
2023-12-27 23:05:22 -05:00
GriffinR
fb868a2d77 Stop reporting interruption errors 2023-12-27 01:28:59 -05:00
GriffinR
7cbe4333aa Update project files manual page 2023-12-27 01:16:10 -05:00
GriffinR
91b2ade693 Review changes 2023-12-25 01:57:31 -05:00
GriffinR
c543cc0899 Store warp behaviors as values, add version defaults 2023-12-21 23:33:36 -05:00
GriffinR
a2d230666b Add grids to tileset editor 2023-12-20 13:11:57 -05:00
GriffinR
93fb8cf471 Allow empty behavior names, simplify fieldmap parsing 2023-12-19 15:46:10 -05:00
GriffinR
ee6d6c7bcc Fix metatile behavior value displays 2023-12-19 13:42:07 -05:00
GriffinR
2cdbd029b6 Move warp behavior warning setting to porymap.cfg 2023-12-19 12:57:45 -05:00
GriffinR
59f365b16d Fix project reload not disabling window on failure 2023-12-19 12:46:47 -05:00
GriffinR
e0c6621abc Add truncation warning for metatile labels 2023-12-19 12:29:16 -05:00
GriffinR
cd1c3fef94 Fix settings window crash on close 2023-12-19 11:42:46 -05:00
GriffinR
7f871efccb Update changelog 2023-12-19 02:21:18 -05:00
GriffinR
902beeedcf Fix shuffled attributes 2023-12-19 00:23:32 -05:00
GriffinR
87911bb9fd Add new settings to manual 2023-12-19 00:02:51 -05:00
GriffinR
b74b007186 Add identifiers to the settings window 2023-12-18 21:07:36 -05:00
GriffinR
6d995cee9b Add identifier config settings 2023-12-18 20:48:40 -05:00
GriffinR
bfb827b736 Add by-name and recursive define evaluation 2023-12-17 20:47:28 -05:00
GriffinR
8d274c013f Merge branch 'master' of https://github.com/huderlem/porymap into custom-images 2023-12-17 16:18:16 -05:00
GriffinR
144b835c53
Merge pull request #531 from GriffinRichards/fix-label-saving
Fix metatile label saving
2023-12-17 02:05:34 -05:00
GriffinR
fc1e192087 Add warp behavior list to settings 2023-12-17 02:03:33 -05:00
GriffinR
5d4d88d11e Add warning for warp behaviors 2023-12-16 20:35:28 -05:00
GriffinR
60fb1a246e Clean up custom Block layouts 2023-12-16 17:54:06 -05:00
GriffinR
5a3907bf56 Use Block masks to update value limits, parse fieldmap.c 2023-12-16 01:48:13 -05:00
GriffinR
f0310d4a63 Generalize bit packing utility for Block 2023-12-15 14:33:01 -05:00
GriffinR
19e5e681e5 Add block layout to config 2023-12-13 00:06:37 -05:00
GriffinR
2228f78117 Privatize Block members 2023-12-12 18:32:54 -05:00
GriffinR
8164aae151 Custom image setting cleanup, update manual 2023-12-12 15:57:54 -05:00
GriffinR
80148c7176 Add missing tooltip, update changelog 2023-12-11 16:59:54 -05:00
GriffinR
c4adcc2963 Stop unnecessary evaluation when parsing constant names 2023-12-11 16:49:27 -05:00
GriffinR
06ff213691 Sturdier pokemon icon search, add icon override settings 2023-12-11 03:08:25 -05:00
GriffinR
d6dacf039e Enable clear button on new line edit settings 2023-12-09 17:47:52 -05:00
GriffinR
9174cff7f0 Update changelog 2023-12-09 12:59:55 -05:00
GriffinR
571ff8e328 Expose new settings, add tabs to settings editor 2023-12-09 12:52:51 -05:00
GriffinR
61b1789d4b Custom collision/event graphics cleanup 2023-12-08 14:50:00 -05:00
GriffinR
4f0e8716f2 Update Collision tab UI 2023-12-08 12:18:21 -05:00
GriffinR
d5210cf230 Support custom collision graphics 2023-12-07 13:43:24 -05:00
GriffinR
1b9b980121 Support custom event icons 2023-12-06 15:02:19 -05:00
GriffinR
b88d62ecc1
Merge pull request #554 from GriffinRichards/fix-encounters
Fix issues when user supplies incorrect number of encounters
2023-12-02 14:32:54 -05:00
GriffinR
a14a9dc3a4
Merge pull request #552 from GriffinRichards/update-scripts-editor
Update custom scripts editor
2023-12-02 14:27:02 -05:00
GriffinR
49cb69f2b8 Fix issues when user supplies incorrect number of encounters 2023-11-07 13:05:10 -05:00
GriffinR
4093ec17af Update manual for custom scripts editor 2023-11-03 16:37:59 -04:00
GriffinR
1454714343 Fix focus issue in custom scripts editor 2023-11-03 14:34:41 -04:00
GriffinR
c3c9936c67 Avoid Qt quick compiler for script_template 2023-11-03 10:48:20 -04:00
GriffinR
dcba9ececd Update custom scripts editor 2023-11-03 02:40:03 -04:00
garak
a00558a0d1 drop gMapGroup_ prefix necessity for renaming groups 2023-10-27 14:19:29 -04:00
garak
263e45fe20 fix new map popup population issue 2023-10-27 11:16:21 -04:00
garak
6041c46abf fix scripting api usage of map/layout pointers 2023-10-26 14:14:57 -04:00
garak
46ada32733 fix map tab icon 2023-10-25 12:25:19 -04:00
GriffinR
6ee76f80d1 Fix project settings editor regression 2023-10-01 02:48:32 -04:00
GriffinR
56d53d2693 Relax spacing requirements in heal location data table 2023-09-30 18:39:14 -04:00
garak
95c21a4572 do not show nonexistent map sections 2023-09-28 19:56:54 -04:00
GriffinR
ae1c7e8d9a Simplify closeSupplementaryWindows for QPointer use 2023-09-28 19:47:50 -04:00
garak
3f7913b694 fix segfault in map image exporter 2023-09-28 19:02:11 -04:00
garak
c0a46ae054 fix layout redraw when changing used tileset 2023-09-28 19:02:11 -04:00
garak
f4cd57c988 some code cleanup 2023-09-28 19:02:11 -04:00
garak
2d2b7f723b api util setMainTab ignores command when in layout only mode 2023-09-28 19:02:11 -04:00
garak
f485ebdd3e preserve layout in config 2023-09-28 19:02:11 -04:00
garak
e79b6e2fca add placeholder text for mapgroup label 2023-09-28 19:02:10 -04:00
garak
ac83e0fbe3 no need to manually crop map tab icon 2023-09-28 19:02:10 -04:00
garak
ff086a6fe6 remove redundant mapsceneeventfilter file 2023-09-28 19:02:10 -04:00
garak
2ea0590f6e save changes to layouts 2023-09-28 19:02:10 -04:00
garak
5d98f8e2f8 fix crash in model data function 2023-09-28 19:02:10 -04:00
garak
d6f3bb1008 allow editing map group names 2023-09-28 19:02:10 -04:00
garak
0ec8f4fee5 add drag-drop reordering for maps in groups 2023-09-28 19:02:10 -04:00
garak
a14e70ef53 update map lists when new maps and layouts are added 2023-09-28 19:02:10 -04:00
garak
a4fdb0de64 fix new map popup window to allow layout selection 2023-09-28 19:02:10 -04:00
garak
f8c7ada585 fix layout undo history 2023-09-28 19:02:10 -04:00
garak
72eb8f873f create dynamic map tab icon 2023-09-28 19:02:10 -04:00
garak
f7f06dab29 fix change dimensions for layouts 2023-09-28 19:02:10 -04:00
garak
e2ff93e5e7 add areaList model and filtering, scrolling for all trees 2023-09-28 19:02:10 -04:00
garak
9918159caa ui to change map's assigned layout id 2023-09-28 19:02:10 -04:00
garak
de8b005d77 gray out map icons until map is open
... because the color of the icon does not mean anything until map has been loaded into memory

for example, if the map's layout has changed then it should be marked as modified but
that wouldn't happen if the map is unloaded
2023-09-28 19:02:10 -04:00
garak
1497f42ab0 save progress 2023-09-28 19:02:10 -04:00
garak
e2253939fc use enum class for edit modes 2023-09-28 19:02:10 -04:00
garak
18eb3ceb1e setLayout to create layout-only edit mode 2023-09-28 19:02:10 -04:00
garak
90f8218c32 fix edit commands and ui things to use layout instead of map 2023-09-28 19:02:10 -04:00
garak
2bc51f1c29 move map pixmap item and metatile rendering from Map to Layout 2023-09-28 19:02:10 -04:00
garak
917e61b98a add different tabs for map list views 2023-09-28 19:02:10 -04:00
garak
61256d39ca reorganize some class data 2023-09-28 19:02:10 -04:00
GriffinR
5cf07c7f91 Close new options windows on project open 2023-09-28 16:26:56 -04:00
GriffinR
c42909d028 Merge branch 'master' into fix-label-saving 2023-09-25 10:50:07 -04:00
GriffinR
f9a14c0d56
Merge pull request #543 from GriffinRichards/options
Add Project Settings Editor
2023-09-25 10:45:16 -04:00
GriffinR
31c5ad6b95 Remove duplicate empty script labels in dropdown 2023-09-19 19:09:24 -04:00
GriffinR
4f459f5a06 Improve speed of setMetatileTiles 2023-09-19 15:49:56 -04:00
GriffinR
22fe7f2963 Use spin boxes for border metatile settings if using default size 2023-09-19 14:30:48 -04:00
GriffinR
8054a808a6 Add images to settings/project files manual pages 2023-09-19 12:38:57 -04:00
GriffinR
0c47866e3d Fix some window and scrollbox sizes 2023-09-12 13:51:09 -04:00
GriffinR
26620cd1d4 Update settings & options manual page 2023-09-12 12:46:10 -04:00
GriffinR
a508677b1d Move remaining Porymap config settings to Preferences 2023-09-11 16:54:15 -04:00
GriffinR
30a01b7061 Use UIntSpinBox for metatile attribute settings 2023-09-11 16:32:15 -04:00
GriffinR
603df4defa Add UIntSpinBox class 2023-09-11 16:31:44 -04:00
GriffinR
b00c644099 Update CHANGELOG 2023-09-10 18:08:32 -04:00
GriffinR
1c081f2011 Connect custom script editor to shortcuts editor 2023-09-10 17:04:44 -04:00
GriffinR
a5a864926a Enforce project folder for custom filepaths 2023-09-10 13:33:18 -04:00
GriffinR
7a399daaff Clean up project settings editor UI 2023-09-08 15:32:33 -04:00
GriffinR
7b03678b8e
Fix INSTALL code rendering 2023-09-08 13:07:11 -04:00
psf
9be5faecff Update INSTALL.md
Updated Ubuntu install instructions per discussion: https://discord.com/channels/442462691542695948/495019188042203147/1149746226263248896
2023-09-08 13:03:24 -04:00
psf
7766ae39e9 Update INSTALL.md
Removed breaking linux package
2023-09-08 13:03:24 -04:00
GriffinR
61cbbbf08a Add path override editor 2023-09-08 12:21:56 -04:00
GriffinR
7411ddaeef Ignore empty script paths 2023-09-06 21:52:42 -04:00
GriffinR
885695e705 Clean up for new editor windows 2023-09-06 16:41:34 -04:00
GriffinR
2aa18da255 Implement script engine reload 2023-09-06 13:40:55 -04:00
GriffinR
40e8824eca Add option to turn custom scripts on/off 2023-09-06 12:58:39 -04:00
GriffinR
d6d27ae8b3 Add Custom Scripts Editor window 2023-09-05 16:45:53 -04:00
GriffinR
143e5cf79b Add button to import default prefabs 2023-08-31 14:23:03 -04:00
GriffinR
871a6ed9b7 Add prompts to project settings editor 2023-08-29 14:43:50 -04:00
GriffinR
9bed66ecfc Write config with project settings editor 2023-08-28 16:48:27 -04:00
GriffinR
4d8f5ef150 Add project settings window 2023-08-23 21:06:14 -04:00
GriffinR
0148580bd2
Merge pull request #539 from GriffinRichards/recent-fail
Stop misleading error when recent project doesn't exist
2023-08-19 10:01:27 -04:00
GriffinR
ae68ab3a6f Stop single tile mode on prefab tab 2023-08-19 00:06:21 -04:00
GriffinR
d28849a533
Merge pull request #536 from GriffinRichards/4bpp
Support 8BPP tileset tile images
2023-08-13 22:33:07 -04:00
GriffinR
a366c7cffe Stop misleading error when recent project doesn't exist 2023-08-09 14:42:03 -04:00
GriffinR
e184295c9e
Merge pull request #538 from GriffinRichards/enc-levels
Automatically adjust min/max encounter levels
2023-08-04 12:14:44 -04:00
GriffinR
1ecb2cc369 Automatically adjust min/max encounter levels 2023-07-31 14:57:42 -04:00
GriffinR
0b293d2af0 Stop tileset editor from scrolling to map's selection when saving 2023-06-30 13:40:11 -04:00
GriffinR
ff6a51ffa4 Support 8BPP tileset tile images 2023-06-30 01:49:43 -04:00
GriffinR
cdf4556e23 Fix border not updating when tileset is changed 2023-06-30 00:53:14 -04:00
GriffinR
ba3a7afef3 Update changelog 2023-05-29 19:44:23 -04:00
GriffinR
4ec5238abb Fix deleting connections by clearing text 2023-05-29 19:18:38 -04:00
GriffinR
f232de68c9 Fix empty metatile label regression 2023-05-19 02:21:41 -04:00
GriffinR
ea704c8ef7 Fix metatile label saving 2023-05-19 01:41:20 -04:00
vinnydiehl
9f06dcf9ac Include cstdint in lexer.h
Build was failing due to missing `uint32_t` type.
2023-05-12 00:24:08 -04:00
GriffinR
0b6d61e3f1 Fix default object sprites 2023-03-15 21:38:58 -04:00
Marcus Huderle
11c2868b90 Update docs -- Fix argument type formatting 2023-03-06 19:01:14 -06:00
Marcus Huderle
bc052360cd Update docs 2023-03-05 19:13:11 -06:00
GriffinR
4fbe8bf5ef Add palette editor bit depth to config 2023-02-22 11:21:30 -05:00
GriffinR
420e92e912 Fix color calc in palette editor hex edit 2023-02-22 10:43:45 -05:00
garakmon
48d9d07689 fix broken action flow 2023-02-20 19:35:25 -05:00
garakmon
05181aa64e Release 5.1.1 2023-02-20 19:13:00 -05:00
garakmon
508e5f85f1 fix crash on project close from deleting events 2023-02-20 19:09:42 -05:00
garakmon
777a6c2e18 auto take changelog in porymap about window 2023-02-20 19:09:42 -05:00
garakmon
f80f15cc67 actions build: use tag name in windows bundle 2023-02-20 17:27:23 -05:00
garakmon
459496d350 upload macos release zip in actions 2023-02-20 17:27:23 -05:00
garakmon
37317fed1a update build action for macOS releases 2023-02-20 17:27:23 -05:00
GriffinR
49a5600e2d Fix tile limit being used for metatiles 2023-02-20 11:19:56 -05:00
GriffinR
a7ceca47fb
Merge pull request #520 from GriffinRichards/metatile-labels
Support sharing metatile labels between tilesets
2023-02-20 11:04:18 -05:00
GriffinR
51b57f9222 Fix map border layering above connections after map switch 2023-02-18 01:21:08 -05:00
GriffinR
5ffed045e4 Update changelog 2023-02-17 22:29:58 -05:00
GriffinR
26f07add79 Reset Tileset Editor history when tileset changes 2023-02-17 22:27:02 -05:00
GriffinR
f8bc65ad3f Fix metatile label name in manual 2023-02-17 17:48:03 -05:00
GriffinR
096c26b85a Fix label history being ignored if metatile didn't change 2023-02-17 15:40:10 -05:00
GriffinR
465d51f4a0 Update manual and changelog 2023-02-17 15:19:37 -05:00
GriffinR
6508fd10af Reimplement metatile label edit history 2023-02-17 14:59:03 -05:00
GriffinR
44dba9edc5 Set shared metatile labels as placeholders 2023-02-14 22:44:13 -05:00
Marcus Huderle
8246d62834 Enable Windows build and release CI workflow 2023-02-14 18:26:36 -06:00
GriffinR
16e5e9fad8 Update metatile label copy button 2023-02-14 15:28:18 -05:00
GriffinR
dbd6afb0c3 Move metatile labels to tilesets 2023-02-14 14:43:05 -05:00
GriffinR
72ae9dfc01 Fix regression in metatile label saving 2023-02-14 11:50:14 -05:00
GriffinR
36363febf7 Remove mistaken field addition to map_groups.json 2023-02-14 11:03:01 -05:00
GriffinR
6cc8db0292 Fix manual argument/return type formatting 2023-02-12 14:59:14 -05:00
Marcus Huderle
6dcb4c7e65 Add working template of Windows static build to Actions workflow 2023-02-12 13:49:43 -06:00
GriffinR
d88ae2b461
Merge pull request #518 from GriffinRichards/api-warnings
Add new API warnings
2023-02-12 14:25:13 -05:00
GriffinR
f4f93f4c98 Remove option to turn off script warning messages 2023-02-12 14:09:25 -05:00
GriffinR
a3a2f3bbcd Fix null characters being written to JSON files 2023-02-12 13:30:33 -05:00
Marcus Huderle
fcc140777d Fix docs styling 2023-02-11 09:49:16 -06:00
GriffinR
bc256053d0 Add registerToggleAction 2023-02-10 11:52:08 -05:00
GriffinR
bf0ec3395d Update changelog 2023-02-09 14:09:40 -05:00
GriffinR
314e6fff53 Allow script actions with the same name 2023-02-09 13:55:25 -05:00
GriffinR
880dabade3 Add script action warning 2023-02-09 13:15:02 -05:00
GriffinR
7dacfeb52b Add script load warning 2023-02-09 12:05:57 -05:00
GriffinR
e710567400 Revert changes to readCIncbin 2023-02-06 19:19:46 -05:00
garakmon
495532c032 update changelog 2023-02-05 18:26:35 -05:00
garakmon
62a6fe8515 allow copy/paste from mainwindow actions in encounter tab 2023-02-05 18:26:35 -05:00
garakmon
7973c91bcd change encounter copy behavior 2023-02-05 18:26:35 -05:00
garakmon
5de1bbd44c fix nonexistant font issues 2023-02-05 18:26:35 -05:00
GriffinR
63734aec7c
Merge pull request #511 from GriffinRichards/fix-tilemap
Support 8BPP images for 4BPP tilemaps
2023-02-05 15:07:07 -05:00
GriffinR
9727af5793
Merge pull request #512 from GriffinRichards/layout-warn
Improve layout parser warnings/errors
2023-02-05 15:06:47 -05:00
GriffinR
b6c97e845b
Merge branch 'master' into fix-tilemap 2023-02-05 14:55:36 -05:00
garakmon
c6e4407560 update changelog 2023-02-05 14:51:12 -05:00
garakmon
940e7355d0 fix crash resulting from deleting encounter fields with groups present 2023-02-05 14:48:40 -05:00
garakmon
f34aec824e fix map item render when collision tab is active 2023-02-05 10:57:55 -05:00
GriffinR
2ee60f4544 Delete layout when readMapLayouts fails 2023-01-25 23:39:10 -05:00
GriffinR
2fce82d1b4 Improve layout parser warnings/errors 2023-01-25 23:30:54 -05:00
GriffinR
0e6432c20d Update changelog for tileset fix 2023-01-25 22:57:24 -05:00
GriffinR
56ba0a8f77 Support 8BPP images for 4BPP tilemaps 2023-01-25 20:40:23 -05:00
garakmon
70980f5e42 fix incbin parsing for multiple matches 2023-01-24 13:37:18 -05:00
GriffinR
0e93e28f1b Update changelog 2023-01-24 03:35:26 -05:00
GriffinR
44780b2311 Fix connections occluding events 2023-01-24 03:31:04 -05:00
GriffinR
0f814d78bd Fix connection masks not clearing on Connection tab 2023-01-23 15:28:02 -05:00
GriffinR
5a8d93a20f Remove empty Tools menu from Region Map Editor 2023-01-22 16:08:56 -05:00
Marcus Huderle
0a940940e1 Update docs 2023-01-22 12:02:00 -06:00
Marcus Huderle
cdd21cbf91 Release 5.1.0 2023-01-22 11:37:52 -06:00
Marcus Huderle
7d3699457f Fix metatile mask config loading 2023-01-22 11:34:51 -06:00
garak
8ce6c2dfc9 accept single click action for editing encounter table 2023-01-19 15:11:42 -05:00
GriffinR
73d0cb8933 Set transparency on pokemon icons 2023-01-19 15:09:27 -05:00
garak
a2aa5c0129 add buttons for encounter tab actions 2023-01-19 13:26:05 -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
9cc55ef2f7 add option to copy mon info from another tab [closes #469] 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
5c63dc9bbc do not scroll encounter tabs with wheel, set current species combo by index instead of text 2023-01-17 13:15:07 -05:00
garak
b5444ce803 update changelog 2023-01-17 13:15:07 -05:00
garak
f4e7eb3e49 clean up timing functions 2023-01-17 13:15:07 -05:00
garak
23d790cc4a use custom model for encounter tables 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
1ed2f1d206 use static QImage for collision pixmap copying 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
f1b962bdf5 do not convert to stdString expensively when parsing ordered json numbers 2023-01-17 13:15:07 -05:00
garak
4df4e6ddd7 fix metatile label reading 2023-01-17 13:15:07 -05:00
garak
f9bb6196e2 do less work reading C defines while loading tileset labels 2023-01-17 13:15:07 -05:00
garak
55c97a45d9 render collision apart from metatiles, using graphics item layering to display 2023-01-17 13:15:07 -05:00
garak
07caad3fce add bounds to map render to prevent doing extra work when rendering only pieces of the map (eg, connections) 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
garak
d1bdbc2741 create temporary timing function 2023-01-17 13:15:07 -05:00
GriffinR
6101899b6d Set unsaved changes when pasting metatiles 2023-01-16 21:47:36 -05:00
GriffinR
c233e3cd59 Fix tileset change not updating border 2023-01-16 20:23:58 -05:00
t
debf9d99f0
Merge pull request #505 from GriffinRichards/connection-warp
Allow navigating to connected maps from any tab
2023-01-16 15:46:49 -05:00
t
d29506d755
Merge pull request #495 from GriffinRichards/keep-import-path
Preserve import/export path in file dialogs
2023-01-16 14:19:31 -05:00
Marcus Huderle
dcbf62e72f Remove inadvertent save to layouts.json 2023-01-16 11:59:21 -06:00
GriffinR
5ef4fbafbc Fix spacing typo 2023-01-16 00:46:30 -05:00
GriffinR
d8d124faea Update changelog 2023-01-15 23:56:47 -05:00
GriffinR
d5d0d64310 Fix new connections not appearing 2023-01-15 23:49:08 -05:00
GriffinR
0556afaf98 Only allow moving connections on connection tab 2023-01-15 23:18:19 -05:00
GriffinR
ca0c667135 Always allow connection warps 2023-01-15 22:47:27 -05:00
GriffinR
ab6d035ad8
Merge pull request #485 from GriffinRichards/metatile-attr
Allow reorganization of metatile attributes
2023-01-15 18:55:42 -05:00
GriffinR
d9324368a2 Fix Region Map Editor being opened by Shortcuts Editor 2023-01-15 00:26:40 -05:00
garakmon
f27c4e9ab4 fix itemfinder checkbox initialization bug 2023-01-10 15:50:30 -05:00
GriffinR
160a9c0713 Resolve shortcuts for Open Project 2023-01-06 12:42:29 -05:00
GriffinR
00a430d208 Fix crash when importing AdvanceMap metatiles 2023-01-06 11:53:42 -05:00
GriffinR
600af6dc72 Fix C parser crashing on #endif at EOF 2022-12-31 12:26:40 -05:00
GriffinR
5af662a49e
Merge pull request #496 from GriffinRichards/config-checkerboard
Add option to turn off the checkerboard fill for new tilesets
2022-12-15 17:12:22 -05:00
GriffinR
324bc3a517 Fix onMapResized not triggering 2022-12-15 02:13:30 -05:00
GriffinR
5ca3906f55
Merge branch 'master' into keep-import-path 2022-12-14 16:10:23 -05:00
GriffinR
066110f3a1
Merge pull request #497 from GriffinRichards/border-hover
Display message when hovering on border metatiles
2022-12-14 16:09:31 -05:00
GriffinR
471946dc60
Link to Region Map Editor's breaking changes for 5.0.0 2022-12-03 17:47:46 -05:00
GriffinR
b60e8cd732
Merge branch 'master' into border-hover 2022-12-03 08:51:58 -05:00
GriffinR
4065572ede
Merge branch 'master' into keep-import-path 2022-12-03 08:51:37 -05:00
GriffinR
32903e0d18 Set default New Map settings when switching projects 2022-12-03 08:49:08 -05:00
GriffinR
8594c2ce36 Display message when hovering on border metatiles 2022-11-28 23:08:57 -05:00
GriffinR
9d82a7af68 Add option to turn off checkerboard fill for new tilesets 2022-11-28 14:58:33 -05:00
GriffinR
b7ec693533 Sync with some additional dialogs 2022-11-28 03:27:39 -05:00
GriffinR
f507b3e8a3 Preserve import/export path in file dialogs 2022-11-27 21:24:55 -05:00
GriffinR
3a4ce68232 Remove old event label functions 2022-11-27 13:15:52 -05:00
GriffinR
d475286249
Merge branch 'master' into metatile-attr 2022-11-18 18:13:21 -05:00
GriffinR
254467451f
Merge pull request #489 from GriffinRichards/api-setscale
Add setScale to the API
2022-11-18 18:12:59 -05:00
GriffinR
97b8bb96cb Remove unused function 2022-11-07 01:02:33 -05:00
GriffinR
567a6d92e5 Enforce indexed tile images 2022-11-04 13:06:50 -04:00
Marcus Huderle
5b3252cc01 Fix docs 2022-11-03 17:49:03 -05:00
GriffinR
3770efd6c5 Add setScale to the API 2022-11-03 13:19:57 -04:00
garak
936ac56a7f add uncommitted docs files 2022-11-03 12:57:32 -04:00
garak
36688162d7 bump docs build 2022-11-03 11:33:06 -04:00
GriffinR
79ccad5941 Fix manual for [get|set]MetatileLayer[Order|Opacity] 2022-11-03 11:21:47 -04:00
GriffinR
a1d6c76fba Move changelog entry 2022-10-30 11:45:38 -04:00
GriffinR
bf9e670d4c Merge branch 'master' of https://github.com/huderlem/porymap into metatile-attr 2022-10-30 11:42:52 -04:00
Marcus Huderle
5362c996e5 Release 5.0.0 2022-10-30 10:05:55 -05:00
GriffinR
01cbb52341 Preserve null custom attributes 2022-10-29 17:16:52 -04:00
Marcus Huderle
16926144da Fix event offsets in map image exporting 2022-10-29 11:29:38 -05:00
GriffinR
eb80ee86f6
Merge branch 'master' into metatile-attr 2022-10-29 11:43:00 -04:00
GriffinR
f0c793424c Allow number values in the Metatile Behavior field 2022-10-29 11:41:09 -04:00
GriffinR
fa859a691f Fix minimum connection bounds 2022-10-29 10:57:08 -04:00
GriffinR
c16a6d5d23 Better support for parsing hex values 2022-10-28 13:29:33 -04:00
GriffinR
15e69dc9e7 Enforce border max for new maps 2022-10-28 13:25:04 -04:00
GriffinR
37b5656376 Fix some crashes on project close 2022-10-28 12:46:52 -04:00
GriffinR
d2fa68ba18 Allow number values for behavior in editor, add mask warning 2022-10-27 12:58:12 -04:00
GriffinR
577dc2fce2 Simplify metatile attribute layouts 2022-10-26 21:30:25 -04:00
GriffinR
9cd8777246 Remove last base game version difference 2022-10-26 04:01:01 -04:00
GriffinR
8b884f3847 Update manual/changelog 2022-10-26 03:37:09 -04:00
GriffinR
1283f5c19d Use custom attribute masks in API and Tileset Editor 2022-10-26 03:28:30 -04:00
GriffinR
1641ac00b0 Combine attribute shift/mask data 2022-10-26 00:39:46 -04:00
GriffinR
fa2b4d3edb Allow custom metatile attribute layouts 2022-10-25 22:35:26 -04:00
GriffinR
ce6abb0a81 Default to No for file watcher prompt 2022-10-25 17:53:12 -04:00
GriffinR
4187732baa Default to Cancel for reload warning 2022-10-25 17:40:40 -04:00
GriffinR
3656c3082f Fix Open Config Folder 2022-10-25 08:07:14 -04:00
GriffinR
8137388364 Fix QPalette highlights not working for all macOS themes 2022-10-25 02:00:00 -04:00
GriffinR
69c1ae678d Ignore empty deletes for custom attributes 2022-10-24 23:01:26 -04:00
GriffinR
0e039e0769
Merge pull request #482 from GriffinRichards/config-tilesets
Save new map settings, add default tileset config options
2022-10-24 20:07:01 -04:00
GriffinR
ea19b3a08c Sort asm tileset lists 2022-10-24 19:55:06 -04:00
GriffinR
d91ae9dab6 Update changelog 2022-10-24 17:07:13 -04:00
GriffinR
c50b8d0668 Restore last settings for new map popup 2022-10-24 16:54:34 -04:00
GriffinR
d451aaa8c0 Simplify new map popup internal 2022-10-24 16:54:27 -04:00
GriffinR
8fbcee7f21 Insert new tilesets in sorted order 2022-10-24 09:33:51 -04:00
GriffinR
09ce5b5913 Drop path_ from path config options 2022-10-24 08:03:51 -04:00
GriffinR
5ba3720405 is_secondary to bool 2022-10-24 00:02:27 -04:00
GriffinR
1728e708dd Update changelog/manual 2022-10-23 19:47:40 -04:00
GriffinR
f8a92c071c Add default tileset config options 2022-10-23 19:43:16 -04:00
GriffinR
35da77ca94 Treat tileset lists separately 2022-10-23 18:59:59 -04:00
GriffinR
c9d244bf9b Add missing object event defaults 2022-10-23 18:06:55 -04:00
GriffinR
469ea40984 Automatically convert enable_object_event_in_connection 2022-10-23 17:22:19 -04:00
Marcus Huderle
6fc82c9487 Fix overlay clipping by applying clipping before painter transformations 2022-10-23 10:08:59 -05:00
Marcus Huderle
6332e74d1f Fix typo in region map layout save 2022-10-22 14:31:38 -05:00
Marcus Huderle
0da261961b Fix tileset editor UI squishing 2022-10-22 14:08:41 -05:00
Marcus Huderle
1697f55b6c
Merge pull request #480 from GriffinRichards/combos
Display values for missing items in combo boxes
2022-10-22 13:08:38 -05:00
Marcus Huderle
7b66537d01
Merge pull request #479 from GriffinRichards/fix-json
Better type conversion for JSON data
2022-10-22 12:57:17 -05:00
GriffinR
c0d68c1103
Update CHANGELOG.md 2022-10-21 00:16:55 -04:00
garak
28df376df9 tree view icon hotfix 2022-10-19 22:23:33 -04:00
garak
ba3e9f34e1 add resources for tree view icons in custom themes 2022-10-19 21:29:59 -04:00
GriffinR
9277a2313f Display values for missing items in combo boxes 2022-10-19 14:28:45 -04:00
GriffinR
2f93caff14 Fix metatile behaviors with no constant not displaying 2022-10-19 00:33:53 -04:00
GriffinR
2425b0e7c7 Add note about HTML for addText 2022-10-19 00:03:49 -04:00
GriffinR
d2d28f9a5a Update changelog 2022-10-18 22:44:14 -04:00
GriffinR
4c3a508534 Better type conversion custom event attributes 2022-10-18 19:52:35 -04:00
GriffinR
7bb5eea7fa Use new config filepaths 2022-10-18 17:14:46 -05:00
GriffinR
f99a658a5d Update changelog 2022-10-18 17:14:46 -05:00
GriffinR
55f7b73b9b Fix id names of new heal locations 2022-10-18 17:14:46 -05:00
GriffinR
5f3efdc7a4 Rewrite heal location data writing 2022-10-18 17:14:46 -05:00
GriffinR
3e1d26f0ce Make heal location constants prefix-agnostic 2022-10-18 17:14:46 -05:00
GriffinR
43d0dc1e7b Rewrite heal location data reading 2022-10-18 17:14:46 -05:00
GriffinR
8e6585bbb2 Treat warp IDs as strings, stop deleting invalid warps 2022-10-18 13:44:45 -04:00
GriffinR
0e0da77c07 NONE_MAP -> DYNAMIC_MAP 2022-10-18 12:39:37 -04:00
GriffinR
551a771798 Fix some build warnings from event rewrite 2022-10-18 12:29:07 -04:00
GriffinR
75788ed3f9 Convert event JSON values by type 2022-10-18 01:20:53 -04:00
GriffinR
e6c3277b0c Update changelog for event rewrite 2022-10-18 00:16:50 -04:00
GriffinR
e2a31336c5 Merge branch 'master' of https://github.com/huderlem/porymap into fix-json 2022-10-17 22:20:06 -04:00
Marcus Huderle
f5c050828e
Merge pull request #447 from garakmon/and-i-oop--
Internal Event Rewrite
2022-10-17 17:41:00 -07:00
Marcus Huderle
4b565208f7 Fix one-frame EventFrame jank 2022-10-17 19:37:26 -05:00
Marcus Huderle
3de8e88b8e Add optional forceRedraw argument to palette API functions 2022-10-17 19:03:11 -05:00
GriffinR
5e83c1f716 WIP Adjust custom attributes table 2022-10-17 14:52:12 -04:00
garak
33014830cd set map early when creating new events because some types need map info for defaults 2022-10-16 22:15:48 -04:00
garak
c3a5e05f49 update clone sprite text 2022-10-16 21:04:29 -04:00
garak
715c37572e update clone object sprite icon with target change 2022-10-16 19:45:12 -04:00
garak
73ccc3d89d fix bug preventing selection of last event from spinner 2022-10-16 19:16:37 -04:00
garak
265340eed0 add local script labels to event combos for drop down 2022-10-16 18:47:35 -04:00
garak
3f2fea0980 event updates
- select first event in order of tabs and lowest index
  (prev: select top left event)
- maintain current event selection between tab changes
2022-10-16 18:37:55 -04:00
GriffinR
a0eff32f36 Remove more internal type conversions 2022-10-16 02:49:42 -04:00
GriffinR
67945cb297 Preserve custom header arrays and objects 2022-10-16 02:30:13 -04:00
GriffinR
6b55dc935d Add custom header value type selection 2022-10-16 02:29:44 -04:00
GriffinR
463a7e01f6 Save custom header values by type 2022-10-15 18:29:55 -04:00
GriffinR
acf9673807 Add 2D array version of addPath to manual 2022-10-15 11:22:55 -07:00
GriffinR
a2795d089b get/setAngle -> get/setRotation 2022-10-15 11:22:55 -07:00
Marcus Huderle
ad01ba0feb Fix Qt6 build and overloaded addPath ordering 2022-10-15 11:22:55 -07:00
GriffinR
ca04b99576 Update manual and changelog 2022-10-15 11:22:55 -07:00
GriffinR
d88d6a828e Scale to qreal, draw path border over fill 2022-10-15 11:22:55 -07:00
GriffinR
82dcecf8f2 Add addPath overload 2022-10-15 11:22:55 -07:00
GriffinR
47f6723bd2 Clean up rotation functions 2022-10-15 11:22:55 -07:00
GriffinR
ad5eea2293 Add rotation and scale to overlay API 2022-10-15 11:22:55 -07:00
GriffinR
67bec313a5 Add rounding to addRect, add fill color to addPath 2022-10-15 11:22:55 -07:00
GriffinR
77d04bb6de Combine addRect and addRectFilled, add color checking 2022-10-15 11:22:55 -07:00
GriffinR
385c17fd23 Add path drawing to the API 2022-10-15 11:22:55 -07:00
Marcus Huderle
dfb6a15379 Fix event tab sizing behavior 2022-10-15 13:17:35 -05:00
Marcus Huderle
37022c2b38 Adjust layout of events tab 2022-10-15 13:02:28 -05:00
Marcus Huderle
36de7b63ff Fix event frame window visibility issue 2022-10-15 12:49:29 -05:00
garakmon
2fa2fc52e8 fix save for region map layout new format 2022-10-15 12:08:42 -04:00
GriffinR
ec626a59a7 Display custom header values according to type 2022-10-15 11:40:04 -04:00
GriffinR
6ffcb58e5e Convert JSON values by type, except events 2022-10-15 03:22:13 -04:00
GriffinR
239f3935bf Stop treating map header bools as strings 2022-10-14 18:11:11 -04:00
GriffinR
614242f1fe Update project files page 2022-10-14 12:42:07 -04:00
garak
d433641bee allow numbers for gfx constants, code cleanup 2022-10-13 22:30:07 -04:00
garak
00504817db add methods for updating frame ui 2022-10-13 22:30:07 -04:00
garak
511c6ddb03 fix bug related to event id spinner 2022-10-13 22:30:07 -04:00
garak
af9c0192e0 hide heal location z spinner, and label every event type in frames 2022-10-13 22:30:07 -04:00
garak
cb6d1a4220 indicate map edited when event data is modified 2022-10-13 22:30:07 -04:00
garak
8ac556c0de properly hide configurable event ui 2022-10-13 22:30:07 -04:00
garak
679f2419b7 fix event tabs not updating with group size changes 2022-10-13 22:30:07 -04:00
garak
9e54537ba2 fix nonstandard use of pointer casting 2022-10-13 22:30:07 -04:00
garak
43960d4e9e add open script button next to script labels 2022-10-13 22:30:07 -04:00
garak
582405d68b change Event class design in favor of polymorphism 2022-10-13 22:30:07 -04:00
garakmon
dd66f967f8 support current pokeemerald region map layout format 2022-10-13 22:20:19 -04:00
GriffinR
2b78330660 Improve API text rendering speed 2022-10-13 09:55:48 -07:00
GriffinR
fbe5427c0b Prevent some script edit feedback loops 2022-10-11 22:50:08 -04:00
GriffinR
8059b7dcae
int layer -> layer in clearClippingRect 2022-10-10 17:16:03 -04:00
GriffinR
0f49c76757
Fix manual typos in setClippingRect 2022-10-10 13:23:04 -04:00
GriffinR
150c02b05b Update manual 2022-10-10 11:38:17 -05:00
GriffinR
c953a15523 Move error logging out of gameStringToBool 2022-10-10 11:38:17 -05:00
GriffinR
d7894f8399 Ignore unused map header fields for pokeruby 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
31d090f63c Update changelog 2022-10-10 11:38:17 -05:00
GriffinR
487cc8d367 Add config options to remove unnecessary tileset fields 2022-10-10 11:38:17 -05:00
GriffinR
374da65b7f Clean up tileset C parsing 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
70528bbc56 Write tilesets data in 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
85a5f07695 Display behavior in the bottom bar 2022-10-10 11:37:03 -05:00
Marcus Huderle
a619670a5f Update scripting documentation for clipping funcs 2022-10-10 11:31:20 -05:00
Marcus Huderle
47b6669feb Add clipping capabilities to overlay scripting api 2022-10-10 11:22:38 -05:00
Marcus Huderle
fc2f91023f Move default prefab prompt to when the user selects the prefab tab, rather than app startup 2022-10-09 14:36:12 -05:00
GriffinR
2fc4b6b53b Fix tileset editor including unused primary metatiles 2022-10-06 02:09:49 -04:00
GriffinR
e70b049887 Remove unnecessary null checks 2022-10-05 18:53:31 -05:00
GriffinR
564d24c4f3 Simplify TilesetEditorMetatileSelector::buildImage 2022-10-05 18:53:31 -05:00
GriffinR
56e24bba18 Update changelog 2022-10-05 18:53:31 -05:00
GriffinR
b0e12170fb Add image export for metatileset 2022-10-05 18:53:31 -05:00
GriffinR
c27ea49fcd Raise supplemental windows when reactivated 2022-10-05 11:55:43 -04:00
GriffinR
c3b9de61de Adjust width calculation in metatilelayersitem 2022-10-04 17:50:39 -05:00
GriffinR
10137d0ebb Update changelog 2022-10-04 17:50:39 -05:00
GriffinR
3181523799 Add convenience functions for triple layer metatiles 2022-10-04 17:50:39 -05:00
GriffinR
eb8b9b0352 Add Cut to Tileset Editor 2022-10-04 17:50:39 -05:00
GriffinR
691ab2b9cf Fix metatile render not updating when layer type is changed 2022-10-03 12:23:45 -04:00
GriffinR
5b5d6ddf25 Give metatile label copy feedback, skip empty labels 2022-10-03 10:14:41 -04:00
GriffinR
167710b4b2 Update manual and changelog 2022-10-01 17:43:50 -05:00
GriffinR
1b743f9625 Replace offset in createImage with x/y offset 2022-10-01 17:43:50 -05:00
GriffinR
9fd6d8417a Update manual 2022-10-01 08:41:14 -05:00
GriffinR
4b1498d059 Add name list functions to API 2022-10-01 08:41:14 -05:00
Marcus Huderle
1439599079 Fix tooltip to be compatible with Qt 5.14 2022-09-27 18:48:48 -05:00
GriffinR
c2e4fcde8f errorMap to QHash 2022-09-27 18:22:41 -05:00
GriffinR
58176c8ccc Update changelog 2022-09-27 18:22:41 -05:00
GriffinR
d353164244 Suppress errors for unneeded defines 2022-09-27 18:22:41 -05:00
Marcus Huderle
ddf0fe4e11 Display 'prefab selected' tooltip when selecting a prefab for painting 2022-09-27 18:22:08 -05:00
GriffinR
fa76e22508 Add missing project file path usage 2022-09-27 18:22:54 -04:00
GriffinR
4f5d98b81a Write configs on load 2022-09-26 13:31:10 -04:00
GriffinR
f42e148b6c Update default region map file paths 2022-09-25 11:55:54 -04:00
Marcus Huderle
af69916c24 Tweak prefab documentation 2022-09-25 10:18:11 -05:00
Marcus Huderle
4beb275a51 Merge remote-tracking branch 'origin/master' 2022-09-25 10:14:00 -05:00
Marcus Huderle
1e128bcdc1 Tweak documentation 2022-09-25 10:12:48 -05:00
Marcus Huderle
54be7a18a9 Merge remote-tracking branch 'tustin/path-in-config'
# Conflicts:
#	docsrc/manual/settings-and-options.rst
#	include/config.h
#	src/config.cpp
#	src/scriptapi/apimap.cpp
#	src/scriptapi/scripting.cpp
2022-09-25 10:02:24 -05:00
GriffinR
080dd0d0d7 Generalize pokefirered gate prefab 2022-09-24 19:54:14 -04:00
GriffinR
962efb3afa Generalize pokefirered gym prefab 2022-09-24 19:41:27 -04:00
GriffinR
af955fd218 Add Prefabs tab to API manual 2022-09-24 19:21:53 -04:00
Marcus Huderle
c81829cd3f Merge remote-tracking branch 'griffin/api-redesign' 2022-09-24 15:48:42 -05:00
Marcus Huderle
9c7d2e49b2 Fix build break with new getConfigBool() usage 2022-09-24 15:47:21 -05:00
Marcus Huderle
07f1dd7a62 Merge branch 'master' into new-map-config 2022-09-24 15:40:08 -05:00
Marcus Huderle
71a34c6b22 Add prompt to import default prefabs for each game version 2022-09-24 15:28:31 -05:00
Marcus Huderle
a081af85c4 Fix bug where dimensions of current selection would be incorrect after a prefab was selected 2022-09-24 11:16:03 -05:00
tustin2121
e241cdd104 Fixed path composing bug with goto script 2022-09-22 12:05:19 -04:00
GriffinR
4afd18bd34 Update manual and changelog for API redesign 2022-09-13 23:01:34 -04:00
GriffinR
126d264982
Merge branch 'master' into api-redesign 2022-09-12 13:01:22 -04:00
GriffinR
b06c6ef2aa Update changelog 2022-09-12 11:56:06 -04:00
GriffinR
7777eac9f4 Silence errors about SECRET_BASE_GROUP 2022-09-12 11:54:44 -04:00
GriffinR
856624addf Remove region map dimensions from config 2022-09-12 11:33:51 -04:00
GriffinR
089e214d2e Add new map config options 2022-09-12 11:31:35 -04:00
tustin2121
4c68c3cd77
Merge branch 'master' into path-in-config 2022-09-11 13:56:09 -04:00
Marcus Huderle
9f69e433f0 Merge branch 'master' of https://github.com/huderlem/porymap 2022-09-11 10:52:02 -05:00
Marcus Huderle
9e4a143b3a Properly use project root as base path for relative prefab filepaths 2022-09-11 10:19:55 -05:00
GriffinR
981888799c Fix prefab error log typo 2022-09-11 00:11:58 -04:00
Marcus Huderle
ce4d8bfc54 Update CHANGELOG 2022-09-10 13:10:11 -05:00
Marcus Huderle
b92fdaf94e Add documentation for prefabs 2022-09-10 13:08:48 -05:00
Marcus Huderle
b14d8b8a88 Add vlidation for metatile id range 2022-09-10 12:33:25 -05:00
Marcus Huderle
b715e43ba8 Fix prefab UI lag by attaching prefab widgets to separate wrapper frame 2022-09-10 09:14:52 -05:00
Marcus Huderle
4eeff2ed21 Set default prefabs config filepath 2022-09-10 08:54:16 -05:00
Marcus Huderle
300fde4b86 Add confirmation dialog for prefab deletion 2022-09-09 20:53:07 -05:00
Marcus Huderle
7957bbf7e7 Save prefabs file whenever one is added or deleted 2022-09-09 20:48:08 -05:00
Marcus Huderle
32cba33326 Properly filter available prefabs based on current map's tilesets 2022-09-09 20:09:28 -05:00
Marcus Huderle
4232410a79 Add ability to delete a prefab item from the list 2022-09-09 19:37:25 -05:00
Marcus Huderle
96ad32c6db Properly paint prefabs and create them from dialog box 2022-09-07 20:38:30 -05:00
Marcus Huderle
bc4cbbabfa Clicking on a prefab will make it the current selection for painting 2022-09-06 20:42:19 -05:00
GriffinR
60a665642f Drop useless object freezes 2022-09-06 12:22:22 -04:00
Marcus Huderle
3046a4d3ae Load and display prefabs in UI 2022-09-05 20:52:03 -05:00
Marcus Huderle
a943b6b260 Add prefab tab and refactor metatile selection data 2022-09-05 11:35:17 -05:00
GriffinR
6757d8afdb Standardize API file names 2022-09-05 12:17:27 -04:00
GriffinR
bd5446a40b Move script utility functions to own object 2022-09-05 12:13:03 -04:00
GriffinR
31b22bfcc1 Add constants object to API 2022-09-05 01:52:12 -04:00
GriffinR
a3dadadd5b Reorganize overlay functions under MapView 2022-09-04 22:36:35 -04:00
GriffinR
b25dbb849e Reorganize API files 2022-09-04 20:35:18 -04:00
Marcus Huderle
6f68e7e9de
Merge pull request #456 from GriffinRichards/api-scale
Add scale to API's createImage, add getPorymapVersion
2022-09-03 12:52:27 -05:00
Marcus Huderle
fe02c7ea70
Merge pull request #448 from GriffinRichards/handle-collision
Various minor API improvements
2022-09-03 12:49:07 -05:00
Marcus Huderle
a5136849b8
Merge pull request #455 from GriffinRichards/api-border
Add map border to the scripting API
2022-09-03 12:48:35 -05:00
Marcus Huderle
cd697df23d
Merge pull request #452 from GriffinRichards/rewrite-loadmetatiles
Clean up loadTilesetMetatiles
2022-09-03 11:33:57 -05:00
GriffinR
e9ac799ed2
Merge branch 'master' into handle-collision 2022-09-03 12:09:14 -04:00
Marcus Huderle
41dfa13de9
Merge pull request #445 from GriffinRichards/api-windows
Add message boxes and user input windows to API
2022-09-03 11:05:08 -05:00
Marcus Huderle
ebe94a1793
Merge pull request #442 from GriffinRichards/event-paste
Minor fixes to pasting events
2022-09-03 11:02:57 -05:00
tustin2121
d97ed4b64f Removing optional
- C++11 compliance: there's no optional, so use invalid enum value instead.
2022-09-01 13:29:05 -04:00
tustin2121
09a590e01a Fixing integration failure
- Apparently Qt 5.15 operations are not allowed.
2022-09-01 13:03:11 -04:00
tustin2121
3d9cd2ad0d Moving paths to project config
- Replaced all instances of hardcoded paths with requesting a path from the new project config file properties for "path/".
- As a result, all default paths hardcoded into porymap are now in one place.
- When reading the config file, it now trims out white space around the key and value.
2022-09-01 12:14:47 -04:00
tustin2121
8e83daac84 Split project config
- Project config is now split into project and user config.
- Backwards compatibility with the old project config included, porting old project items over to the new user config.
2022-09-01 00:57:31 -04:00
GriffinR
5af4d15d6b Fix mistake in manual 2022-08-31 14:55:43 -04:00
GriffinR
268cc9b30b Add getPorymapVersion 2022-08-31 13:38:07 -04:00
GriffinR
af2f1b6f7d Replace xflip/yflip in createImage with hScale/vScale 2022-08-31 11:00:17 -04:00
GriffinR
b6eaad7f77 Add border API functions to manual 2022-08-30 13:15:22 -04:00
GriffinR
be4a5e8528 Add onBorderVisibilityToggled callback 2022-08-30 12:53:33 -04:00
GriffinR
3e7bfe126a Add edit history for border edits via script 2022-08-29 20:20:09 -04:00
GriffinR
46b4b51302 Handle negative coordinates in Map::setBlock 2022-08-29 13:14:06 -04:00
GriffinR
21ed9bc140 Add onBorderMetatileChanged, onBorderResized, implement some basic border API 2022-08-29 12:57:20 -04:00
GriffinR
8f90ca64b4 Add basic border functions to API 2022-08-28 21:45:57 -04:00
GriffinR
778257ccd9 Add get/setMetatileAttributes 2022-08-26 19:37:07 -04:00
GriffinR
aad1266e91 Tile properties to bitfield 2022-08-26 19:30:40 -04:00
GriffinR
fd4ba874d2 Fix unused layer rendering for METATILE_LAYER_MIDDLE_TOP 2022-08-26 19:29:48 -04:00
GriffinR
d22aab9b10 Fix setOverlayOpacity setting the opacity of the cursor rect and map grid 2022-08-26 18:55:41 -04:00
GriffinR
f8edaec838 Update changelog 2022-08-26 18:55:31 -04:00
GriffinR
778cc2ba47 Fix API crashes on bad palette ids / tile numbers 2022-08-26 18:55:19 -04:00
GriffinR
b8636548dc Move function call outside loop 2022-08-20 16:08:53 -04:00
GriffinR
774c60cc88 Clean up loadTilesetMetatiles 2022-08-20 12:14:11 -04:00
GriffinR
c88b8b7663 Fix manual typo 2022-08-03 21:30:17 -04:00
GriffinR
0df5f87882 Update manual, changelog 2022-08-03 15:27:08 -04:00
GriffinR
4feb913fe8 Add setBlock overload, handle collision values of 2 or 3 2022-08-03 15:14:25 -04:00
GriffinR
fc944591dc Update changelog 2022-07-14 16:58:55 -04:00
GriffinR
597d03979f Update manual 2022-07-14 16:53:15 -04:00
GriffinR
c8b28be0b4 Add message boxes and user input windows to API 2022-07-14 16:47:08 -04:00
GriffinR
c05e03a576
Merge branch 'master' into event-paste 2022-07-11 22:45:38 -04:00
garak
0fa71dc4c8 update changelog 2022-07-11 22:14:18 -04:00
garak
26319cef9f reselect old metatile after tileset save 2022-07-11 22:06:17 -04:00
garak
0e3b07201a document tileset and palette editors 2022-07-11 22:06:17 -04:00
garak
ca0229f444 fix 15 bit depth hex value update 2022-07-11 22:06:17 -04:00
garak
12d5f22475 improve palette editor ui
- remove redundant RGB label
- in color picker, instruct user to press SPACE
- add toggle between 15 and 24 bit depth displaying
2022-07-11 22:06:17 -04:00
garak
ab6aa01973 use zoom_box_dimensions constant for color picker preview window 2022-07-11 22:06:17 -04:00
garak
1d596023c6 remove palette editor frame shadows 2022-07-11 22:06:17 -04:00
garak
7f24e5c9ee fix spinbox signal ambiguity 2022-07-11 22:06:17 -04:00
garak
635f1325a2 cleanup palette editor code 2022-07-11 22:06:17 -04:00
garak
725c601a06 fix slider rounding 2022-07-11 22:06:17 -04:00
garak
48baf627e8 palette editor: color hex boxes, spinboxes for sliders 2022-07-11 22:06:17 -04:00
garak
45cb2a19af add a color picker dialog to palette editor 2022-07-11 22:06:17 -04:00
GriffinR
a76c1eb14d Update changelog 2022-07-05 15:03:12 -04:00
GriffinR
22a42eaac1 Select newly-pasted events 2022-07-05 14:50:17 -04:00
GriffinR
d9b37ecb0b Prevent paste exceeding object limit, warn when copying healspots 2022-07-05 14:38:23 -04:00
GriffinR
11661818b6 Update manual 2022-07-04 16:22:52 -05:00
GriffinR
3e8082da3c Update changelog 2022-07-04 16:22:52 -05:00
GriffinR
2bdc8024f7 Add reopen on launch setting to UI 2022-07-04 16:22:52 -05:00
GriffinR
a407fa9e17 Add reopen on launch config option 2022-07-04 16:22:52 -05:00
GriffinR
4a41858e5b Condense config bool code 2022-07-04 16:22:52 -05:00
Marcus Huderle
2051127815 Update CHANGELOG.md 2022-07-03 11:28:24 -05:00
Marcus Huderle
02b0bc94c5 Make obj event gfx parsing backwards compatible 2022-07-03 11:28:24 -05:00
Marcus Huderle
0b0c588c64 Read object event gfx info by parsing its C file, rather than relying on regex 2022-07-03 11:28:24 -05:00
Marcus Huderle
ed30115d2e
Merge pull request #413 from GriffinRichards/label-copy
Add metatile label copy button
2022-07-03 10:46:50 -05:00
GriffinR
3a2d2ef3c2 Add sanity checks to setMetatileLayerOrder 2022-07-03 07:57:09 -05:00
GriffinR
d86d388db8 Update changelog 2022-07-03 07:57:09 -05:00
GriffinR
44bbef6105 Render unused metatile layer as it appears in-game 2022-07-03 07:57:09 -05:00
GriffinR
87b43080ba Fix auto-merge 2022-06-30 00:47:31 -04:00
GriffinR
441db4274e
Merge branch 'master' into label-copy 2022-06-30 00:41:10 -04:00
garak
d14bcdbdc1 update emerald default layout format 2022-06-29 22:15:21 -04:00
garak
f989096f30 update docs for new rme 2022-06-29 22:15:21 -04:00
garak
5f3653e7b0 remove unused city map code 2022-06-29 22:15:21 -04:00
garak
13603901e2 fix config update crash, add real swap & rename old swap to replace 2022-06-29 22:15:21 -04:00
garak
04ef5c5b7c expose config dialog to users after setup (File>Update Config) 2022-06-29 22:15:21 -04:00
garak
813845e0da address feedback, fix oversights 2022-06-29 22:15:21 -04:00
garak
15b29ff065 update changelog 2022-06-29 22:15:21 -04:00
garak
c76f6a8049 code cleanup: finish rme update core 2022-06-29 22:15:21 -04:00
garak
aeb56e579c support ruby in rme 2022-06-29 22:15:21 -04:00
garak
80909734c2 fix build for Qt5 2022-06-29 22:15:21 -04:00
garak
f7a0e02f95 resize region map tilemaps 2022-06-29 22:15:21 -04:00
garak
cff77ad58e update swap section feature for rme 2022-06-29 22:15:21 -04:00
garak
4334e5b2e9 save / load from the config 2022-06-29 22:15:21 -04:00
garak
e82ff92b2b add/remove map section entry in region map editor 2022-06-29 22:15:21 -04:00
garak
fa01768962 add history for region map layout size and mapsec entry edits 2022-06-29 22:15:21 -04:00
garak
2b152ce64e create edit history for region map tilemap and layout 2022-06-29 22:15:21 -04:00
garak
43ebeb1662 region maps: save layouts, save tilemaps 2022-06-29 22:15:21 -04: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
c1e3415417 Fix memory leak 2022-06-29 19:13:42 -04:00
GriffinR
73eabc92ca Prevent duplicate metatile pastes in the tileset editor 2022-06-29 19:13:42 -04:00
GriffinR
cd481892ae Update changelog 2022-06-29 19:13:42 -04:00
GriffinR
304b00b0f3 Add copy/paste to tileset editor 2022-06-29 19:13:42 -04:00
GriffinR
418f7ffc81 Update changelog 2022-06-28 13:22:34 -04:00
GriffinR
553da9a115 Fix missing music when importing from Advance Map 2022-06-28 13:22:34 -04:00
GriffinR
e8a9820f44 Update changelog 2022-06-28 13:20:02 -04:00
GriffinR
096a66067d Automatically disable encounters if JSON is missing 2022-06-28 13:20:02 -04:00
GriffinR
b20df82358 Assume objects with no type field are not clones 2022-06-24 23:47:43 -04:00
GriffinR
fc11e3d60b Add newline after appending to metatiles.inc 2022-04-22 16:18:01 -04:00
GriffinR
8a09df956e Adjust heal location icon 2022-03-30 10:22:07 -04:00
GriffinR
aad12f61f1 Update clipboard icon 2022-03-25 11:55:07 -04:00
GriffinR
60d407fe80 Add tool tip / icon for metatile label copy button 2022-02-10 11:14:19 -05:00
GriffinR
d548d3e025 Update changelog 2022-02-10 09:58:22 -05:00
GriffinR
d1883720c9 Add metatile label copy button 2022-02-10 09:53:04 -05:00
GriffinR
af0abaa38d Add getIndexOffset, change expected event fields to QSet 2022-02-09 18:31:55 -06:00
GriffinR
300d153849 Correct manual image path 2022-02-09 18:31:55 -06:00
GriffinR
ae17f9db12 Update changelog and manual 2022-02-09 18:31:55 -06:00
GriffinR
b91914310e Allow warping by double-clicking clone objects 2022-02-09 18:31:55 -06:00
GriffinR
b01581dc4d Add clone objects 2022-02-09 18:31:55 -06:00
GriffinR
31f400e2c9 Add event group constants 2022-02-09 18:31:55 -06:00
GriffinR
9963e4c8aa Move map bounds checking to map.cpp 2022-02-08 17:10:07 -06:00
GriffinR
41b269f908 Update changelog 2022-02-08 17:10:07 -06:00
GriffinR
7d51c11a94 Fix tile rect leaving map grid on paint, cursor rects not updating state on collision tab 2022-02-08 17:10:07 -06:00
GriffinR
d531c9407c Separate byte reads for metatile tiles 2022-02-08 16:26:19 -06:00
GriffinR
f92950c46d Move tile value masks to tile.cpp 2022-02-08 16:26:19 -06:00
GriffinR
cf973710c8 Preserve unused metatile attributes 2022-02-08 16:26:19 -06:00
garak
cca762ba94 do nothing with extra encounter groups
(ie. remove unnecessary error checking code that broke sometimes for no apparent reason)
2022-02-08 16:43:10 -05:00
GriffinR
ddc0f01460 Stop repeated parsing of src/data/object_events 2022-01-29 12:26:39 -06:00
GriffinR
366fb5c8a8 Stop repeated parsing of event_objects.h and songs.h 2022-01-29 12:26:39 -06:00
GriffinR
b79ba466e0 Fix paint edit history 2022-01-14 14:01:10 -06:00
GriffinR
2f6de2a285 Fix selected collision space not updating during paint 2022-01-14 14:01:10 -06:00
GriffinR
611e787122 Fix cursor tile rect not updating for selections 2022-01-08 08:26:05 -06:00
GriffinR
0b5414ace3 Clarify comment in manual entry for getTilePixels 2022-01-05 11:07:27 -06:00
GriffinR
47e3d809ff Update changelog and manual 2022-01-05 11:07:27 -06:00
GriffinR
1abdb301c1 Fix 'getBlock' functions use for tiles, add getTilePixels to API 2022-01-05 11:07:27 -06:00
GriffinR
6f872b7d96 Remove between-release bug fix from changelog 2022-01-05 10:53:53 -06:00
GriffinR
7d5b92c349 Add missing signal blocker 2022-01-05 10:53:53 -06:00
GriffinR
181cf4e253 Add map header / overlay opacity functions to script manual 2022-01-01 16:39:32 -06:00
GriffinR
d0dc12c8af Update changelog 2022-01-01 16:39:32 -06:00
GriffinR
b0dcadfd11 Fix checkboxes not receiving signals from script 2022-01-01 16:39:32 -06:00
GriffinR
7705806852 Write map header set functions in API 2022-01-01 16:39:32 -06:00
GriffinR
690e19e05a Add header API prototypes 2022-01-01 16:39:32 -06:00
GriffinR
fd88184b47 Add opacity to scripting overlay 2022-01-01 16:39:32 -06:00
GriffinR
98f4bae728 Only log completely absent script functions as an error 2021-12-31 15:19:23 -06:00
huderlem
3bc9497ea2
Update CHANGELOG.md 2021-12-27 16:57:36 -06:00
GriffinR
de0a5b526b Don't change frame for inanimate objects 2021-12-27 16:56:31 -06:00
Marcus Huderle
f6552c57af Fix changelog link 2021-12-26 12:47:42 -06:00
Marcus Huderle
5a06da96ad Release 4.5.0 2021-12-26 12:40:26 -06:00
Marcus Huderle
a143d2892e Allow getting the map view tab index even if a different main tab is currently opened 2021-12-26 12:17:47 -06:00
Marcus Huderle
e070a5a1b2 Fix Poryscript casing 2021-12-26 11:50:11 -06:00
GriffinR
05fb6c03b7 Fix timing of onMapShifted 2021-12-26 11:23:45 -06:00
GriffinR
6be4f2c946 Fix timing of onTabChanged callbacks 2021-12-26 11:23:45 -06:00
GriffinR
704b5894d1 Fix timing of onMapResized 2021-12-26 11:23:45 -06:00
GriffinR
94b2c98308 Fix fallback dimensions in getColoredTileImage 2021-12-26 11:23:45 -06:00
GriffinR
5f79f15554 Add onBlockHoverChanged and onBlockHoverCleared 2021-12-26 11:23:45 -06:00
GriffinR
9dc44b3373 Add save warning to new functions in manual 2021-12-26 11:23:45 -06:00
GriffinR
f37dd77b0c Update changelog 2021-12-26 11:23:45 -06:00
GriffinR
0944f9888c Remove addTilesImage, add overloaded addTileImage, add transparency to addMetatileImage 2021-12-26 11:23:45 -06:00
GriffinR
86f44c1a67 Add new image functions to manual 2021-12-26 11:23:45 -06:00
GriffinR
d692f80df0 Add new overlay functions to manual 2021-12-26 11:23:45 -06:00
GriffinR
fc3a5b372d Add third round of new 'Tileset Functions' to manual 2021-12-26 11:23:45 -06:00
GriffinR
fa7f2a785d Add second round of new 'Tileset Functions' to manual 2021-12-26 11:23:45 -06:00
GriffinR
b82061ad51 Add first round of new 'Tileset Functions' to manual 2021-12-26 11:23:45 -06:00
GriffinR
19112cf7a6 Add new functions to manual's 'Settings Functions' section 2021-12-26 11:23:45 -06:00
GriffinR
f4ba4091ad Change API game version to string 2021-12-26 11:23:45 -06:00
GriffinR
c0769a5e80 Add new functions to manual's 'Utility Functions' section 2021-12-26 11:23:45 -06:00
GriffinR
80010ee131 Add new script callbacks to the manual 2021-12-26 11:23:45 -06:00
GriffinR
574151aebb Clean up API changes 2021-12-26 11:23:45 -06:00
GriffinR
36dc1c6649 Move map cursor UI and grid to foreground 2021-12-26 11:23:45 -06:00
GriffinR
39cd1d335b Add map view tab to API 2021-12-26 11:23:45 -06:00
GriffinR
b39906c03f Add onMapShifted to API 2021-12-26 11:23:45 -06:00
GriffinR
8ed891d501 Add option to bypass the API image cache 2021-12-26 11:23:45 -06:00
GriffinR
fee9ffcd44 Add main tab to API 2021-12-26 11:23:45 -06:00
GriffinR
8f62268d00 Trigger onBlockChanged for blocks changed by undo/redo 2021-12-26 11:23:45 -06:00
GriffinR
d00cba3382 Call onMapResized for script changes to map size 2021-12-26 11:23:45 -06:00
GriffinR
a6395eefbb Add overlay x/y, split singular/plural overlay functions 2021-12-26 11:23:45 -06:00
GriffinR
206a1d12b3 Add onMapResized to scripting API callbacks 2021-12-26 11:23:45 -06:00
GriffinR
b16c971f00 Add some config settings to scripting API 2021-12-26 11:23:45 -06:00
GriffinR
05d04a5e2e Ignore undefined properties in script error messages 2021-12-26 11:23:45 -06:00
GriffinR
6518ba36b3 Fix crash switching between projects 2021-12-26 11:23:45 -06:00
GriffinR
03949d45a4 Add paletteId to createImage 2021-12-26 11:23:45 -06:00
GriffinR
eca84beae0 Add basic image cache to scripting API 2021-12-26 11:23:45 -06:00
GriffinR
1adc489bc0 Add transparency to addTileImage 2021-12-26 11:23:45 -06:00
GriffinR
ac988968b3 Add warn and error to script API 2021-12-26 11:23:45 -06:00
GriffinR
6c1e5b516d Add getMaxTilesetMetatiles to API 2021-12-26 11:23:45 -06:00
GriffinR
b5bdac8d36 Add tile/metatile to image functions to API, more tile->tileId/metatileId 2021-12-26 11:23:45 -06:00
GriffinR
6a5e4fe247 Split createImage from addImage 2021-12-26 11:23:45 -06:00
GriffinR
83a7ccac8b Add getNumTilesetMetatiles, getNumTilesInMetatile, and isPrimary/SecondaryTileset to API 2021-12-26 11:23:45 -06:00
GriffinR
6bae415fc1 Add onTilesetUpdated to scripting callbacks 2021-12-26 11:23:45 -06:00
GriffinR
5a5d16bdc6 Add overlay visibility toggle 2021-12-26 11:23:45 -06:00
GriffinR
af4c99537f Add layering to scripting overlay 2021-12-26 11:23:45 -06:00
GriffinR
630febff54 Expand addImage to allow image subsets, transformations, and transparency 2021-12-26 11:23:45 -06:00
GriffinR
ebd7af8846 Add get/setMetatileTiles array functions to API 2021-12-26 11:23:45 -06:00
GriffinR
6613318900 Disambiguate tile field names to tileId or metatileId 2021-12-26 11:23:45 -06:00
GriffinR
ce12a1e017 Add setMetatile functions to API (layerType, encounterType, terrainType, Behavior, Tile) 2021-12-26 11:23:45 -06:00
GriffinR
26f0042ff4 Add getMetatile functions to API (layerType, encounterType, terrainType, Behavior, Tile) 2021-12-26 11:23:45 -06:00
GriffinR
702497c4d8 Add function prototypes for metatile editing API functions 2021-12-26 11:23:45 -06:00
GriffinR
67af7e52da Add get/setMetatileLabel to API 2021-12-26 11:23:45 -06:00
GriffinR
9cf0575914 Log error when addImage API function fails 2021-12-26 11:23:45 -06:00
GriffinR
bcf5339c32 Update changelog 2021-12-26 11:23:45 -06:00
GriffinR
beb1f6ef27 Log more script errors 2021-12-26 11:23:45 -06:00
GriffinR
a6b490cf15 Update changelog 2021-12-26 10:18:25 -06:00
GriffinR
c6cec5f848 Preserve invalid metatile selections 2021-12-26 10:18:25 -06:00
GriffinR
a6fb7eaeca Process mod in defines 2021-12-26 10:13:06 -06:00
GriffinR
7368f443f0 Add config options for showing border/grid 2021-11-08 13:11:16 -05:00
garak
f64b03d684
Merge pull request #306 from ultima-soul/import_amap_map
Add Import Map from Advance Map 1.92 feature.
2021-11-08 13:10:44 -05:00
garak
795336f42c fix potential segfault on moveEvent 2021-11-05 15:39:19 -04:00
garak
755e922a93 use com.pret.porymap in macOS app bundles 2021-11-03 15:56:05 -04:00
GriffinR
3197cda157 Fix macOS crash parsing wild encounters 2021-11-01 15:40:03 -04:00
GriffinR
c372d7a01b Sync map group label comment format 2021-10-17 10:58:05 -04:00
garak
7bf07e72c2 better unsaved changes code, only block whitespace in combos 2021-09-08 17:39:38 -04:00
garak
0b63c438dd mark unsaved changes to map for heaeder and event edits
closes #305
closes #337
closes #347
2021-09-08 17:39:38 -04:00
garak
ef78b7957c validate combos to disallow junk characters
closes #362
2021-09-08 17:39:38 -04:00
garak
735a095ced fix pasted event id issue 2021-09-07 13:16:54 -05:00
garak
056b2164a8 draw event frame for pasted events 2021-09-07 13:16:54 -05:00
garak
97f2980cf0 update changelog 2021-08-12 20:24:46 -04:00
garak
6c3ee3c46d order wild encounter json reading 2021-08-12 20:24:46 -04:00
garak
a997fb69da
update linux install directions 2021-07-31 23:08:29 -04:00
ultima-soul
2d87a6222a Merge branch 'master' of github.com:huderlem/porymap into import_amap_map 2021-07-23 23:35:56 -07:00
ultima-soul
cdcf535894 Address review comments. 2021-07-23 16:20:41 -07:00
garak
2ee5676925 fix metatile selector filter draw 2021-07-23 12:11:35 -04:00
garak
b1c04dd0b2 update changelog 2021-07-22 12:36:00 -04:00
garak
fc0c404836 remove some commented old code 2021-07-22 12:23:21 -04:00
garak
df724a4682 find unused tiles 2021-07-22 12:23:21 -04:00
garak
601e671fc8 add options to count metatiles to tileset editor
- count the total number of usages across all maps of specific metatiles
- display the count and/or display unused metatiles
- this does not account for metatiles used in code (most of these are labeled)
2021-07-22 12:23:21 -04:00
garak
353a0b017f silence bad macOS warning 2021-07-07 18:11:35 -05:00
garak
4c4e6dbcbf fix rebase error 2021-07-07 18:11:35 -05:00
Marcus Huderle
28eebbed0a Fix Move tool rendering artifacts by enabling full viewport update during the Move tool 2021-07-07 18:11:35 -05:00
Marcus Huderle
b35e1d9af9 Use more sensible zoom levels, which eliminates zoom rendering artifacts 2021-07-07 18:11:35 -05:00
BigBahss
a7f12f1993 Fix DPI scaling of pixmaps 2021-07-07 18:11:35 -05:00
Marcus Huderle
6f394ce39c Code fixes for Qt 6 2021-07-07 18:11:35 -05:00
garak
39648eed41 add copy paste to edit menu 2021-05-03 15:48:21 -04:00
garak
47887aca4d add edit command for event pastes 2021-05-03 15:48:21 -04:00
garak
296d697df0 add copy paste to some aspects of porymap
- can copy currently selected metatiles
  - can copy currently selected events
  - can copy an image of the current map
  - what is copied depends on the currently focused widget
  - copied objects can be pasted into other instances of porymap
  - copied images live on in the clipboard, cannot be pasted into porymap

TODO:
  - shortcut in Edit menu
  - other things can be copied?
2021-05-03 15:48:21 -04:00
garak
d1be0d5a58
Merge pull request #343 from BigBahss/script-editing
Add completion suggestions for global event scripts
2021-05-03 15:03:03 -04:00
BigBahss
e310732169 Make eventScriptLabelModel and eventScriptLabelCompleter into values rather than pointers 2021-04-16 09:04:38 -04:00
BigBahss
f72d4bda50 Fix duplicate event script label completions 2021-04-16 08:22:05 -04:00
BigBahss
61ffcc3259 Merge branch 'master' into script-editing 2021-04-16 07:28:09 -04:00
BigBahss
a9c7691a2e Rename DraggablePixmapItem::move() overload as moveTo to avoid confusion 2021-03-24 19:11:49 -04:00
BigBahss
5f292ea3cc Place new events in the center of the map 2021-03-24 19:11:49 -04:00
Tyler Dennis
1c0001504d
Merge pull request #359 from hjk321:mus-new-map
Song Option in New Map Popup
2021-03-14 11:56:25 -04:00
GriffinR
29493f94da Add details to script api error messages 2021-03-09 19:54:10 -06:00
BigBahss
a68a9baf2e Fix Tileset copy construction/assignment 2021-03-07 19:17:17 -05:00
hjk321
0cebe438b6 Poryscript now generates with newline 2021-03-07 10:16:54 -05:00
hjk321
09cfde8280 Song Option in New Map Popup 2021-03-06 22:19:38 -05:00
BigBahss
f166652ccc Revert 80c5f74368 and validate map group 2021-02-21 08:47:03 -06:00
BigBahss
a4fc2bcb30 Fix crash when creating new map 2021-02-21 08:44:41 -06:00
BigBahss
b0e3b862e1 Remove unused addNewMapToGroup() overload 2021-02-21 08:44:41 -06:00
BigBahss
0d3e2d90e6 Fix memory leaks in addNewMapToGroup() 2021-02-21 08:44:41 -06:00
GriffinR
02af128913 Add setting to disable/enable map text file creation 2021-02-19 07:29:26 -06:00
BigBahss
80c5f74368 Fix #355 (map group validation) 2021-02-19 01:30:31 -05:00
BigBahss
d5270df3b6 Remove unnecessary QObject inheritance 2021-02-18 16:27:32 -06:00
huderlem
6ebf1b54a8
Merge pull request #352 from BigBahss/convert-to-namespace
Convert stateless classes into namespaces
2021-02-18 16:26:32 -06:00
BigBahss
3bcdb1d728 Fix memory leak when creating new tileset 2021-02-18 15:02:25 -05:00
BigBahss
f989563cc0 Correct UB in Map construction 2021-02-18 03:51:44 -05:00
BigBahss
c3718e28be Convert MetatileParser into a namespace 2021-02-18 03:38:34 -05:00
BigBahss
bc2cc7d089 Convert PaletteUtil into a namespace 2021-02-18 03:25:26 -05:00
huderlem
a629b07153
Merge pull request #351 from BigBahss/metatile-leaks
Metatile leaks
2021-02-17 17:05:00 -06:00
Marcus Huderle
c351f069ff Merge remote-tracking branch 'origin/master' into metatile-leaks 2021-02-17 16:56:15 -06: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
d9340d3b73 Add parentWidget() to Project to avoid name-shadowing the parent member 2021-02-17 16:34:46 -06:00
BigBahss
9a9143500f Convert remaing pointers in Project to values 2021-02-17 16:34:46 -06:00
BigBahss
820b514f26 Change many pointer members in Project to values 2021-02-17 16:34:46 -06:00
BigBahss
a9b7fd6b15 Correct build error 2021-02-16 22:25:50 -05:00
BigBahss
cc7a5f5819 Fix memory leaks in Tileset 2021-02-16 21:45:54 -05:00
BigBahss
c1303d98c3 Scriptapi: fix segfault in shift(), add missing flag to the caller of shift() 2021-02-16 16:51:00 -06:00
BigBahss
107ef528e2 Fix map resizing (broke from Blockdata refactoring) 2021-02-16 16:51:00 -06:00
BigBahss
a3326a764b Simplify some usages of Blockdata 2021-02-16 16:51:00 -06:00
BigBahss
f09e28f06c Convert usages of Blockdata pointers 2021-02-16 16:51:00 -06:00
BigBahss
42b56edc9d Begin refactoring Blockdata to simply inherit QVector<Block> 2021-02-16 16:51:00 -06:00
BigBahss
6a825d0b39 Use implicit copy constructor/assignment for Metatile 2021-02-16 13:22:41 -05:00
BigBahss
8187b2d4bb Plug leaks in Metatile 2021-02-16 12:14:27 -05:00
BigBahss
8e2388cf62 Correct UB in Event constructors; use member initializer lists 2021-02-16 10:49:14 -05:00
BigBahss
40a7e23b34 Remove undefined functions in Editor 2021-02-16 09:22:26 -05:00
BigBahss
fe5d4982f7 Use QPointer when we need to set a nullptr on destruction 2021-02-16 08:26:09 -05:00
BigBahss
c103142c65 Silence deprecated-copy warning 2021-02-14 12:39:14 -05:00
BigBahss
7937c3fe98 Upgrade signal/slot connections in all other files 2021-02-14 11:09:39 -06:00
BigBahss
51dccf7773 Upgrade signal/slot connections in Editor 2021-02-14 11:09:39 -06:00
BigBahss
ef449f6f8d Upgrade signal/slot connections in MainWindow 2021-02-14 11:09:39 -06:00
Marcus Huderle
e9c4d5b73f Fix getBlock() memory leak 2021-02-13 15:16:52 -06:00
Marcus Huderle
3c2aa5d2e9 Fix out-of-bounds array access in bucket fill 2021-02-12 17:23:45 -06:00
BigBahss
36a6212af6 Store recent map in ProjectConfig instead of PorymapConfig 2021-02-03 16:13:36 -06:00
BigBahss
3d394bc4bb Add option to open config folder 2021-02-03 16:01:54 -06:00
BigBahss
2c065ae5b6 Dont disable option to open log when project open fails 2021-02-03 16:01:54 -06:00
BigBahss
6335151c39 Add option to open log file 2021-02-03 16:01:54 -06:00
BigBahss
3ccf433d1e Add completion suggestions for global event scripts 2021-01-29 22:05:40 -05:00
BigBahss
d2386fac9b Add functions to parse all global event scripts labels in the project 2021-01-29 22:05:08 -05:00
GriffinR
e3edb503ed Exclude non-item constants in items.h 2021-01-25 11:15:16 -05:00
Marcus Huderle
776aac56bc Update changelog 2021-01-20 19:27:50 -06:00
Marcus Huderle
9439dc76d2 Only include relevant frames in the timelapse animation 2021-01-20 19:27:50 -06:00
Marcus Huderle
c354142f1b Add ability to export map timelapse GIFs 2021-01-20 19:27:50 -06:00
huderlem
2bf33a14b8
Update README.md 2021-01-20 13:21:51 -06:00
garak
3bf4aaf964 fix palette editor crash 2021-01-16 10:34:09 -06:00
BigBahss
a924938b9b Fix text editor commands for file-paths containing spaces 2020-12-30 18:13:12 -06:00
GriffinR
b819f82943 Add auto-generated file warning to map_groups.h write 2020-12-30 18:12:51 -06:00
Marcus Huderle
afa06b48d0 Release 4.4.0 2020-12-20 19:16:47 -06:00
BigBahss
5ca30c70dd Fix merge of #302 2020-12-14 18:53:46 -06:00
huderlem
53b9fa5dc7
Merge pull request #302 from garakmon/fix827
Should Fix Project Open?
2020-12-14 18:16:33 -06:00
Marcus Huderle
9c0876e4c0 Fix disabling of UI when failing to open project 2020-12-14 18:06:38 -06:00
Marcus Huderle
d63bebee69 Merge remote-tracking branch 'origin/master' into fix827
# Conflicts:
#	src/mainwindow.cpp
2020-12-14 17:57:30 -06: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
1d29a53237 Merge remote-tracking branch 'origin/master' into script-editing 2020-12-13 00:30:22 -05:00
BigBahss
8be6dc2f74 Adjust the appearance of PreferenceEditor
(Help text appeared too large on Windows)
2020-12-13 00:24:03 -05:00
BigBahss
520bd7e6c8 Fix external processes on Windows 2020-12-13 00:06:50 -05:00
huderlem
dfe3b2d519
Add very important build status badge 2020-12-11 17:50:54 -06:00
huderlem
cae826637e Create main.yml 2020-12-11 17:22:05 -06:00
GriffinR
6b6ad558b6 Remove unnecessary assignment 2020-12-11 16:24:18 -06:00
GriffinR
8261ad5bea Strip leading digits from new map names 2020-12-11 16:24:18 -06:00
huderlem
b854e5e597
Merge pull request #323 from BigBahss/shortcuts-editor
Shortcuts Editor
2020-12-09 18:43:24 -06:00
BigBahss
c0eb0503e2 Update CHANGELOG and docs.
Merge remote-tracking branch 'origin/master' into shortcuts-editor
2020-12-05 20:33:45 -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
9da465fe53 Update docs and CHANGELOG 2020-12-01 17:51:42 -05:00
BigBahss
789fe7d00c Merge remote-tracking branch 'origin/master' into script-editing 2020-12-01 16:43:53 -05:00
BigBahss
62f73bee04 Populate scripts comboboxes with scripts found in map.json 2020-12-01 16:32:08 -05:00
BigBahss
e97b50a249 Refine regexes for script parsing 2020-12-01 12:02:02 -05:00
BigBahss
e704793350 Disable actionOpen_Project_in_Text_Editor when no command is set 2020-12-01 10:13:56 -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
Ashley Coleman
7ea3dd6468 Fix formatting variables 2020-11-22 16:34:30 -06:00
Ashley Coleman
eeadef4734 Remove vscode editor settings 2020-11-22 16:34:30 -06:00
Ashley Coleman
8567d161b5 Add defensive checks on index and iterators 2020-11-22 16:34:30 -06:00
Ashley Coleman
f50743b3d0 Update changelog 2020-11-22 16:34:30 -06:00
Ashley Coleman
49737d16cc Implement delete for wild encounter table 2020-11-22 16:34:30 -06:00
BigBahss
b9aaef24c6 MapRuler: Fix artifacting, fix centering for other thickness values 2020-11-22 08:37:16 -06:00
BigBahss
6ca4802948 Use QGraphicsObject's signalling to enable/disable MapRuler 2020-11-22 08:37:16 -06:00
BigBahss
bc0127430b Fix MapRuler dimensions tooltip and refactor 2020-11-22 08:37:16 -06:00
BigBahss
4aaae1a264 Add support for opening .inc scripts to the selected event script 2020-11-22 01:04:46 -05:00
BigBahss
3478846b60 Add Project::getMapScriptsFilePath() and rename text editor config members 2020-11-21 17:33:16 -05:00
BigBahss
662fb2a367 Move themes to PreferenceEditor 2020-11-16 09:35:55 -05:00
BigBahss
ea9cfa47e5 Add basic prefences window with text editor command field 2020-11-16 07:39:42 -05:00
BigBahss
0a15dfbf4c Add preferred text editor to PorymapConfig 2020-11-16 06:46:21 -05:00
BigBahss
b310ccba79 Fix map sorting via shortcut 2020-11-13 09:06:03 -05:00
BigBahss
300a41c149 Add clear button to MultiKeyEdit 2020-11-13 02:52:37 -05:00
BigBahss
bb6786f24e Add extra shortcuts to main window and sub-editors 2020-11-12 23:48:03 -05:00
BigBahss
f044672d2e Add support for sub-editor shortcut customization 2020-11-09 05:50:15 -05:00
BigBahss
9a3609ee6d Fix MultiKeyEdit clear action not re-aligning key sequences 2020-11-09 02:56:22 -05:00
BigBahss
2fb3bf4e26 Redesign ShortcutsEditor to take an obj list and refactor config to reflect that 2020-11-08 12:03:44 -05:00
BigBahss
f5964fbe7f Refactor ActionShortcutEdit into MultiKeyEdit 2020-11-06 10:20:31 -05:00
BigBahss
43d3257d89 Extract functions in ShortcutsConfig 2020-11-05 06:32:31 -05:00
BigBahss
eabd2d6618 Convert QShortcut's to Shortcut's and add them to config 2020-11-03 05:58:10 -05:00
BigBahss
ed2f8bf180 Add custom Shortcut class 2020-11-03 03:18:34 -05:00
BigBahss
88fbf9f28b Add ShortcutsEditor to customize shortcuts for QAction's 2020-11-01 09:16:27 -05:00
BigBahss
ebb17476a7 Prevent capturing '=' in config key 2020-11-01 09:16:27 -05:00
BigBahss
5927f3dd7b Fix bug preventing map zoom resetting 2020-11-01 08:11:46 -06:00
BigBahss
174f66c35b Fix crash caused by shortcuts when no project is loaded 2020-10-30 19:33:14 -05:00
Blampharos
b371860eb1 Fix extraneous header flags being saved
Fixes a bug where the program would put map header flags from
firered and emerald to ruby-based projects.
2020-10-25 17:16:04 -05:00
garakmon
19633253f8 update objects when adding new event with button, closes #297 2020-10-24 15:51:10 -04:00
garakmon
f791157adc add #pragma once to include files 2020-10-24 15:51:10 -04:00
garakmon
d1af93f3b5 do not call initWindow() on failed load 2020-10-24 15:51:10 -04:00
huderlem
1b3bd9314d
Merge pull request #310 from BigBahss/ruler-tool
Ruler tool
2020-10-24 08:58:38 -05:00
BigBahss
9c57a5bc46 Refactor MapRuler event handling 2020-10-24 07:45:08 -04:00
BigBahss
40a155329e Merge branch 'master' into ruler-tool 2020-10-24 03:28:29 -04:00
huderlem
530ff4ce88
Merge pull request #316 from BigBahss/better-map-zoom
Focus map zooming on the cursor
2020-10-23 18:41:40 -05:00
Marcus Huderle
8ab5bfcdbd Merge remote-tracking branch 'origin/master' into better-map-zoom 2020-10-23 18:38:05 -05:00
huderlem
c6e3156d64
Merge pull request #318 from BigBahss/fix-window-size-issue
Fix window size issue
2020-10-23 17:58:12 -05:00
BigBahss
2a37c18612 Fix connection mask palette color 2020-10-23 00:43:25 -04:00
Tyler
de43c64118
Merge branch 'master' into fix-window-size-issue 2020-10-22 19:59:11 -04:00
BigBahss
f47e8b1903 Refactor TilesetEditor 2020-10-22 18:44:22 -05:00
BigBahss
e4095130c5 Fix closing tileset editor not closing palette editor 2020-10-22 18:44:22 -05:00
BigBahss
7cbdea4e26 Update CHANGELOG 2020-10-22 18:44:22 -05:00
BigBahss
81ad828a53 Fix palette editor windowTitle 2020-10-22 18:44:22 -05:00
BigBahss
8b7f4069cd Save & restore palette editor geometry & state from config 2020-10-22 18:44:22 -05:00
BigBahss
daae6fe52b Save & restore region map editor geometry & state from config 2020-10-22 18:44:22 -05:00
BigBahss
5624de750b Save & restore tileset editor geometry & state from config 2020-10-22 18:44:22 -05:00
BigBahss
ebe55c76e0 Update CHANGELOG 2020-10-20 19:13:11 -04:00
BigBahss
f08d02a67f Update CHANGELOG 2020-10-20 19:07:49 -04:00
BigBahss
5b24ac1bbe Allow frame_Objects width to resize smaller, cleanup various ui elements 2020-10-20 18:20:53 -04:00
BigBahss
8154b7c654 Allow MainWindow height to resize smaller 2020-10-20 16:23:41 -04:00
BigBahss
f449f370a0 Implement FlowLayout for frame_mapTools 2020-10-20 15:02:06 -04:00
BigBahss
bb61dc9b51 Add dynamic FlowLayout class 2020-10-20 14:41:51 -04:00
BigBahss
68d4f47dbb Add scrolling to collision tab 2020-10-20 14:41:51 -04:00
BigBahss
1ea50d7955 Cleanup large log file on startup 2020-10-14 19:21:41 -05:00
garak
4f68f85c90 docs: increase page width, add favicon 2020-10-14 19:19:17 -05:00
BigBahss
89e3ef16b4 Fix crash when setting map connection to "None" 2020-10-14 19:18:24 -05:00
BigBahss
2f20a5d0b3 Hide connection tiles that cant be seen from current map 2020-10-14 01:57:59 -04:00
BigBahss
f404f8c11f Remove scrollArea surrounding graphicsView_Connections 2020-10-13 12:23:13 -04:00
BigBahss
ef9c4c73c3 Remove scrollArea surrounding graphicsView_Map 2020-10-13 10:14:16 -04:00
BigBahss
5247dd18c0 Refactor map zooming into the Editor 2020-10-13 06:07:31 -04:00
BigBahss
db20d01f3c Focus map zoom on currently hovered metatile 2020-10-11 12:07:11 -04:00
ExpoSeed
18cb48f806 Fix typo
editing from github is poggers
2020-10-04 21:47:57 -04:00
BigBahss
273dbaa94f Prevent ruler activation when right-clicking event in paint mode 2020-10-02 22:31:44 -04:00
BigBahss
e50d562efe Update CHANGELOG and docsrc 2020-10-02 22:13:59 -04:00
BigBahss
fb5e35bd5f Use Metatile::coordFromPixmapCoord() in all remaining cases 2020-10-02 15:32:22 -04:00
BigBahss
e2dd4fb76b Disable MapRuler when switching tool buttons 2020-10-02 14:06:58 -04:00
BigBahss
39aa420265 Turn MapRuler dimensions into a mouse-tracking tooltip, and show in status bar 2020-10-02 12:12:19 -04:00
BigBahss
84f920bb03 Add static Metatile::coordFromPixmapCoord() 2020-09-27 12:17:12 -04:00
BigBahss
9565b677d2 Add tick marks to MapRuler 2020-09-25 11:56:02 -04:00
BigBahss
ca6969564f Add MapRuler (right-click & drag in events view) 2020-09-25 11:53:07 -04:00
BigBahss
502ebd449f Use correct function for setting cursorMapTileRect visibility 2020-09-24 19:40:02 -05:00
ultima-soul
8575b83212 Add support for FRLG .map files and border importing for pokefirered and custom border size supporting projects. 2020-09-21 14:26:58 -07:00
ultima-soul
38e7951f3e Add Import Map from Advance Map 1.92 feature. 2020-09-19 12:05:27 -07:00
BigBahss
457cd1bb85 Update CHANGELOG 2020-09-13 08:35:13 -05:00
BigBahss
698e4e38e7 Add clear buttons to all QLineEdit text boxes 2020-09-13 08:34:36 -05:00
garak
7db62de548 fix typo in changelog 2020-09-07 19:21:25 -04:00
garak
8d31d2f911 add complete list of shortcuts to docs 2020-09-07 17:56:28 -04:00
garak
e3c82881d1 update changelog 2020-09-07 15:01:25 -04:00
BigBahss
bc788b6caa Fix reintroduction of issue fixed by 79e384ef76 2020-09-07 14:54:34 -04:00
BigBahss
6251da65b2 Retain external selection on map change (closes #291) 2020-09-07 14:54:34 -04:00
GriffinR
4b5b84ed36 Fix status bar not updating while dragging events 2020-09-07 14:12:26 -04:00
garak
40078888f8 show or hide rects immediately with shortcuts 2020-09-07 14:06:07 -04:00
BigBahss
0aca9ba943 Update docs with new shortcuts 2020-09-07 14:06:07 -04:00
BigBahss
e430abe724 Add some useful shortcuts 2020-09-07 14:06:07 -04:00
BigBahss
939ec2520d Simplify lockNondominantAxis() and add comment 2020-09-07 13:12:15 -04:00
BigBahss
bb4e361f39 Add straight paths to docsrc 2020-09-07 13:12:15 -04:00
BigBahss
2fd3df9734 Remove straight paths checkbox and refactor 2020-09-07 13:12:15 -04:00
BigBahss
de2246e2fd Simplify some straight paths logic 2020-09-07 13:12:15 -04:00
BigBahss
5f5087df05 Fix checkBox_straightPaths styling 2020-09-07 13:12:15 -04:00
BigBahss
27c9fec0b4 Fix collision straight paths and general improvement 2020-09-07 13:12:15 -04:00
BigBahss
b8bbfe60e8 Add straight paths to script api 2020-09-07 13:12:15 -04:00
BigBahss
5e09d7b965 Create ui checkbox for enabling straight paths 2020-09-07 13:12:15 -04:00
BigBahss
713ded1754 Add straight paths for map shifting 2020-09-07 13:12:15 -04:00
BigBahss
a59e695907 Add straight paths for collision tiles 2020-09-07 13:12:15 -04:00
BigBahss
5da761ea94 Implement straight paths for map tiles and smart paths 2020-09-07 13:12:15 -04:00
BigBahss
6a9088c4ea Update docsrc 2020-09-07 12:16:45 -04:00
BigBahss
e597192cc0 Temporarily disable smart paths when checked and shift held (closes #294) 2020-09-07 12:16:45 -04:00
BigBahss
50e13ecae3 Update creating-new-maps docs 2020-09-07 12:06:41 -04:00
BigBahss
cfbcb8b623 Add 'Show Location Name' to newmappopup 2020-09-07 12:06:41 -04:00
garakmon
68098b8220 silence deprecation warnings 2020-08-26 20:42:42 -04:00
garakmon
3ac1fce840 update changelog 2020-08-26 20:11:15 -04:00
garak
34b88c97c7 change new event default action when tab is changed 2020-08-26 20:04:14 -04:00
garakmon
2b55e49933 fix bucket fills for CollisionPixmapItem 2020-08-26 20:03:47 -04:00
garakmon
9fb938939f allocate new map lastUpdatedBlockdata 2020-08-26 20:03:47 -04:00
garakmon
3c5401551d add Map class destructor to manage Event memory 2020-08-26 20:03:47 -04:00
garakmon
1151f9fc26 make some performance improvements to event rendering 2020-08-26 20:03:47 -04:00
garakmon
2a11760afd fix error in script edit command 2020-08-26 20:03:47 -04:00
garakmon
24f970628e do not push new EventDelete if there was no deletion 2020-08-26 20:03:47 -04:00
garakmon
5e4cc9a182 do not add no-ops to edit history for map painting 2020-08-26 20:03:47 -04:00
garakmon
d671470cb0 fix PaintMetatile subclass issues 2020-08-26 20:03:47 -04:00
garakmon
d121701da0 expose undoview with ctrl+E, fix redo shortcut 2020-08-26 20:03:47 -04:00
garakmon
392e595a03 fix the scripting api and many other changes
- remove obsolete Map::commit()
- add ScriptEditMap command
- reorganize metatile history
- fix next selected event for multi event deletion
2020-08-26 20:03:47 -04:00
garakmon
6c2d035dfa more undo commands
- add edit command for duplicating map events
- add edit commands for painting map collision
- edit commands that delete events now select
  the proper next event
2020-08-26 20:03:47 -04:00
garakmon
98c3298805 add edit command for duplicating events
- also select next event when performing redo actions on deletion
2020-08-26 20:03:47 -04:00
garakmon
c3defd6887 small fixes
- connect DEL key to event deletion action
- update checks for unsaved changes to map
- add an asterisk next to the map name in the
  window title when a map has unsaved changes
2020-08-26 20:03:47 -04:00
garakmon
4c154501f1 fix multi event deletion crash, allow spinboxes to commit move history 2020-08-26 20:03:47 -04:00
garakmon
2598ca2277 edit commands for creating and deleting events 2020-08-26 20:03:47 -04:00
garakmon
a0dc347ad3 add EventMove command, fix extra signal call in map border resize 2020-08-26 20:03:47 -04:00
garakmon
fb1eec1755 begin refactoring undo history 2020-08-26 20:03:47 -04:00
garakmon
90aba5e433 define a setMap for current_metatile_selection_item to prevent crash on project transition 2020-08-19 19:31:13 -04:00
GriffinR
79e384ef76 Fix metatile selection not updating properly when changing tilesets 2020-08-19 15:13:37 -04:00
BigBahss
268af50783 Add missing resources to Qt resource system 2020-08-17 13:47:55 -04:00
garak
2e077b45c7 fix scene scaling for metatile selection, replace deprecated setMatrix with setTransform 2020-08-15 19:30:46 -04:00
BigBahss
62e86b3c94 Toggle menuFile actions and menuHelp when no project is open 2020-08-04 18:31:35 -04:00
garak
55bd16db40 actually use new function to disable ui 2020-08-03 19:28:26 -04:00
garak
2c6d8f3d8d enable file menu for OSes with attached menu bars (#281 cont.) 2020-08-03 19:21:35 -04:00
garak
1575d3f799 disable ui when no project is open (closes #281) 2020-08-03 15:35:14 -04:00
GriffinR
3312280287 Fix 1x1 layer tile selection not highlighting 2020-07-23 19:30:48 -05:00
Marcus Huderle
acc6da4c58 Release 4.3.1 2020-07-17 16:55:31 -05:00
huderlem
9f4409f7e9
Update CHANGELOG.md 2020-07-15 18:44:06 -05:00
Marcus Huderle
7d70505b90 Fix crash when opening new project 2020-07-14 18:10:55 -05:00
Marcus Huderle
45cfb3aabd Allow 6-wide selections in tileset editor when triple layer is enabled 2020-07-14 17:54:56 -05:00
GriffinR
00ad1ec22a Fix flags being listed out of order 2020-07-14 17:44:33 -05:00
GriffinR
70b8806737 Fix layer flip to work on all incomplete metatile selections 2020-07-14 17:40:53 -05:00
GriffinR
cf9314eaa6 Reflect palette changes in TE metatile selection 2020-07-14 17:40:53 -05:00
GriffinR
5798ef7fda Apply xflip to layers individually, fix palette in selection 2020-07-14 17:40:53 -05:00
GriffinR
b5b227a6a0 Respect x/y flip for selections with different flip states 2020-07-14 17:40:53 -05:00
GriffinR
023be7f541 Respect x/y flip and palette for external tileset editor tile selections 2020-07-14 17:40:53 -05:00
GriffinR
c68e352bb1 Fix deleted events persisting after all events deleted 2020-07-13 19:11:51 -05:00
GriffinR
e518e2c554 Prevent heal locations from being duplicated 2020-07-13 19:08:46 -05:00
GriffinR
1b832929b2 Enforce limit for object events 2020-07-13 19:08:46 -05:00
GriffinR
159e20bd7a Add duplicate to docs, move Add/Remove events to top 2020-07-13 19:08:46 -05:00
GriffinR
7f2aefc050 Update CHANGELOG 2020-07-13 19:08:46 -05:00
GriffinR
ea2bfa7274 Add duplicate shortcut for events 2020-07-13 19:08:46 -05:00
ultima-soul
a5bd797914 Dropdown indexes for Event tab now properly set upon loading an event. 2020-07-13 18:58:45 -05:00
GriffinR
d20f4a5c83 Fix metatile selection rect disappearing during map selection 2020-07-10 01:15:22 -04:00
ultima-soul
38bbb2c4c8 Fix increasing metatileset size in tileset editor crashing when triple layer is enabled. 2020-07-09 13:07:48 -04:00
GriffinR
8b600fb59c Ignore invalid metatiles in selection calls to metatile selectors 2020-07-08 17:35:59 -04:00
GriffinR
35af5557d3 Remove unnecessary check in metatileIsValid 2020-07-08 17:35:59 -04:00
GriffinR
0e04d2250b Ignore invalid metatiles in tileset editor when syncing 2020-07-08 17:35:59 -04:00
GriffinR
b04638b4cf Validate metatile selection when changing tilesets 2020-07-08 17:35:59 -04:00
GriffinR
c4cdc47e20 Fix tileset editor syncing selection on save 2020-07-06 12:45:10 -05:00
GriffinR
257405f451 Unsaved changes prompt for tileset editor when switching tilesets or maps 2020-07-02 16:01:07 -05:00
GriffinR
b16703a397 Update tileset editor when current tileset is changed 2020-07-02 16:01:07 -05:00
GriffinR
016c65448e Track unsaved changes to metatile attributes and labels 2020-07-02 16:01:07 -05:00
GriffinR
a92d0eb006 Sync metatile selection from the map to the tileset editor 2020-07-02 16:01:07 -05:00
Marcus Huderle
b06070df5f Update docs 2020-07-02 15:28:17 -05:00
SBird
7bece548fb layer-scripting: fix layer transparency for reordered layers 2020-07-02 15:16:44 -05:00
Marcus Huderle
4557e22115 Fix wrong opacity layer assignment 2020-07-01 20:59:01 -05:00
Marcus Huderle
96ca895daa Add scripting api for metatile layer opacity 2020-07-01 20:43:19 -05:00
Marcus Huderle
dac4a0e8f7 Add scripting api for metatile layer draw order 2020-07-01 20:19:08 -05:00
GriffinR
08bc85dde0 Open tileset editor with selected metatile 2020-07-01 13:38:27 -05:00
Marcus Huderle
cc16440336 Allow Ctrl+Shift+Z to redo in the tileset editor 2020-06-30 18:55:13 -05:00
Marcus Huderle
64f9976d81 Fix bug where newly-created tileset couldn't be used 2020-06-30 18:20:07 -05:00
GriffinR
16f7373816 Fix crash when reducing tileset metatiles past current selection 2020-06-30 10:24:03 -05:00
GriffinR
1747a4bf2e Disable invalid metatile selection in tileset editor 2020-06-30 10:24:03 -05:00
GriffinR
2e29e19605 Fix sprite transparency not updating when changing object event graphics 2020-06-30 10:12:04 -05:00
SBird
9c8fb686eb update CHANGELOG.md 2020-06-30 10:10:44 -05:00
SBird
18b9e5fbee triple-layer: fix creating tilesets 2020-06-30 10:10:44 -05:00
Marcus Huderle
b7d1db61a8 Remove pointless check on metatile layer mouse event 2020-06-28 16:36:55 -05:00
Marcus Huderle
b31b2c2fc7 Release 4.3.0 2020-06-27 17:28:36 -05:00
Marcus Huderle
7392105297 Early exit magic fill if it would be a no-op 2020-06-27 17:14:37 -05:00
Marcus Huderle
370221a974 Disable map zoom when middle button is pressed 2020-06-27 17:07:34 -05:00
huderlem
c1ed591125
Update CHANGELOG.md 2020-06-27 13:17:27 -05:00
ultima-soul
9183a297d4 Change layer slot labels when Triple Metatile Layers is enabled. 2020-06-26 16:22:15 -05:00
ultima-soul
4cc3d60dc4 Revert unecessary changes and hide Layer Type for Triple Metatile Layers. 2020-06-26 16:22:15 -05:00
ultima-soul
8ceb783056 Remove checkbox for enabling triple metatile layers. 2020-06-26 16:22:15 -05:00
ultima-soul
debb1c66ac Implement proper triple metatile layer support. 2020-06-26 16:22:15 -05:00
Marcus Huderle
b58ec89854 Properly filter the map search results when switching sort types 2020-06-25 18:34:46 -05:00
GriffinR
dd91e29e85 Fix exported tileset images using x/y flip 2020-06-15 16:43:21 -05:00
GriffinR
ee7978ea2d Open scripts.inc when scripts.pory doesn't exist 2020-06-15 16:42:00 -05:00
Marcus Huderle
a9bd7b884d Release 4.2.0 2020-06-06 11:57:53 -05:00
huderlem
3572ad4b86
Update CHANGELOG.md 2020-06-06 11:38:56 -05:00
GriffinR
afb157beb3 Assign editor->map to nullptr after clearing map cache 2020-06-06 11:35:44 -05:00
GriffinR
c382190e8b Fix crash parsing C defines from unknown token 2020-06-04 19:11:15 -05:00
GriffinR
32726d4a6a Show mouse coords in map event editor 2020-06-02 18:21:23 -05:00
GriffinR
6cb1c532a4 Show metatile label names in map editor 2020-06-02 18:21:23 -05:00
huderlem
edfa3cb779
Update CHANGELOG.md 2020-05-27 19:24:45 -05:00
GriffinR
628fe96498 Add new config options to documentation 2020-05-27 18:58:43 -05:00
GriffinR
90aa26197d Set project-specific config defaults 2020-05-27 18:58:43 -05:00
GriffinR
125a287b9c Add config options for some project-specific features 2020-05-27 18:58:43 -05:00
garak
aa2ce13551
Merge pull request #232 from GriffinRichards/monitor-labels
Monitor metatile_labels.h
2020-05-22 16:07:05 -04:00
GriffinR
febc788097 Ignore metatile_labels when saving 2020-05-22 16:02:11 -04:00
GriffinR
ed2777c397 Monitor metatile_labels.h 2020-05-22 15:52:34 -04:00
huderlem
59aeb4fdb0
Update CHANGELOG.md 2020-05-21 19:21:18 -05:00
Marcus Huderle
2f533a86b2 Optimize displayMapEvents() 2020-05-21 19:11:37 -05:00
Marcus Huderle
81cd43933b Eliminate unnecessary expensive map redraws when saving or changing tilesets 2020-05-20 19:21:18 -05:00
Marcus Huderle
f6c86e0eed Eliminate unnecessary expensive map redraw when opening a map 2020-05-20 18:30:17 -05:00
Marcus Huderle
bc51fcf0be Release 4.1.0 2020-05-18 18:04:05 -05:00
huderlem
914a4a3ba6
Update CHANGELOG.md 2020-05-18 17:29:36 -05:00
Marcus Huderle
93661bbe1b Fix crash when painting an event when no existing events exist for the map 2020-05-18 17:25:53 -05:00
Marcus Huderle
c7495c24a3 Fix new map popup layout 2020-05-18 17:25:53 -05:00
garakmon
4ee22fa06a decouple map and event edit modes 2020-05-18 17:25:53 -05:00
garakmon
9f5b13c287 use a more descriptive warning message for the new map dimensions 2020-05-18 17:25:53 -05:00
garakmon
482d3cd8fb fix map dimension checks in new map window 2020-05-18 17:25:53 -05:00
Marcus Huderle
c0ad1216d2 Merge remote-tracking branch 'origin/update-docs' 2020-05-16 18:47:57 -05:00
Marcus Huderle
7307c39561 Merge branch 'update-docs' 2020-05-16 18:45:51 -05:00
GriffinR
638ce5370f Typo fix 2020-05-16 18:26:39 -05:00
GriffinR
374020f94d Split readMaxMapDataSize, move mapDimensionsValid to project 2020-05-16 18:26:39 -05:00
GriffinR
731fbce6af Read MAX_MAP_DATA_SIZE 2020-05-16 18:26:39 -05:00
garakmon
9c844fb0b3 add documentation for config settings 2020-05-16 17:06:05 -04:00
garakmon
8b673757a8 document event shift and pencil tools 2020-05-16 15:35:42 -04:00
Marcus Huderle
8a908050bc Use githubpages extension, rather than manually managing .nojekyll. Cleanup recommonmark usage 2020-05-16 13:49:50 -05:00
huderlem
61b5654f14
Update CHANGELOG.md 2020-05-16 10:20:56 -05:00
Marcus Huderle
c20b2c91a1 Add missing scripting documentation 2020-05-16 10:14:34 -05:00
garakmon
b8c2fa41ee add 'create new map' docs 2020-05-15 21:43:24 -04:00
GriffinR
99b95882fe Object event coords from unsigned to signed 2020-05-15 15:57:27 -05:00
GriffinR
9330e3bfcf Add pokefirered documentation 2020-05-15 12:31:33 -05:00
Marcus Huderle
77d9f13453 Add content to Related Projects 2020-05-14 19:54:56 -05:00
Marcus Huderle
92223711e7 Add scripting documentation 2020-05-14 19:42:41 -05:00
Marcus Huderle
23a20dd736 Clear scripting map overlay when closing project 2020-05-13 16:16:51 -05:00
huderlem
f172be5500
Update CHANGELOG.md 2020-05-13 16:01:44 -05:00
GriffinR
a860f3f110 Support importing FRLG Advance Map metatilesets 2020-05-13 16:00:08 -05:00
huderlem
bae692699f
Update CHANGELOG.md 2020-05-12 17:34:28 -05:00
GriffinR
53ba6f5ab9 Warn when closing with unsaved encounter changes 2020-05-11 17:11:01 -05:00
garakmon
fcb320bd79 fix crash when attempting to close project that is never opened 2020-05-11 17:12:37 -04:00
huderlem
a47ed7b402
Update INSTALL.md 2020-05-10 09:59:43 -05:00
huderlem
1cc786547c
Update CHANGELOG.md 2020-05-10 09:54:24 -05:00
huderlem
73b5e2b272
Merge pull request #217 from huderlem/scripting
Add Scripting API
2020-05-10 09:50:40 -05:00
Marcus Huderle
2161312122 Add optional args to dictate map refresh and commit 2020-05-09 11:31:14 -05:00
Marcus Huderle
8013921d43 Remove test script 2020-05-08 11:42:36 -05:00
Marcus Huderle
e0afb24002 Merge remote-tracking branch 'origin/master' into scripting 2020-05-08 11:35:58 -05:00
garakmon
37c849f9b5 allow current widget to dictate size of stacked widget for metatile/collision and events pages 2020-05-08 11:35:14 -05:00
GriffinR
ac92534576 Disallow drawing heal locations 2020-05-08 11:34:40 -05:00
GriffinR
399474c1f2 Fix heal loc duplicates, rename flyableMaps 2020-05-08 11:34:40 -05:00
Marcus Huderle
f139365faf Add log() to api 2020-05-08 11:29:39 -05:00
Marcus Huderle
998ea1fcc8 Add custom_scripts project config, and cleanup scripts when switching projects 2020-05-08 11:26:23 -05:00
Marcus Huderle
b8d0268d5d Move script api into separate file 2020-05-08 09:59:01 -05:00
Marcus Huderle
3c1549cc93 Add setTimeout to script api, and properly refresh scene when overlay is changed 2020-05-08 09:46:26 -05:00
Marcus Huderle
71242e5714 Add ability to set keyboard shortcuts for custom actions 2020-05-08 08:49:29 -05:00
Marcus Huderle
7072c001af Implement api for checkboxes 2020-05-07 20:13:56 -05:00
Marcus Huderle
bf64764103 Implement the rest of the palette api 2020-05-07 20:00:14 -05:00
Marcus Huderle
09a892f525 Add ability to register custom actions 2020-05-03 11:28:02 -05:00
Marcus Huderle
434bafe0b2 Call on_block_changed from more places 2020-05-03 10:48:48 -05:00
Marcus Huderle
0ef3c6a898 Add palette preview scripting commands 2020-05-03 10:31:44 -05:00
Marcus Huderle
8697adf186 Add true tileset scripting functions 2020-05-03 10:00:56 -05:00
Marcus Huderle
567a45b7e4 Implement some overlay functions and on_map_opened callback 2020-05-02 16:25:35 -05:00
Marcus Huderle
95012838fd Implement more map api functions 2020-04-30 18:30:24 -05:00
Marcus Huderle
d685718f8d Implement three map scripting functions 2020-04-29 20:41:19 -05:00
Marcus Huderle
267cd5e2cb Implement proof of concept for scripting capabilities 2020-04-29 19:46:01 -05:00
Marcus Huderle
37ab54019b Release 4.0.0 2020-04-28 20:07:55 -05:00
huderlem
dd359d03f8
Update CHANGELOG.md 2020-04-28 19:50:15 -05:00
Marcus Huderle
16b451ab19 Extend min/max connection offsets to player's view 2020-04-28 19:38:40 -05:00
huderlem
5aea9e7dd0
Update CHANGELOG.md 2020-04-28 19:23:04 -05:00
huderlem
f6cdd700b8
Merge pull request #195 from garakmon/merge-tabs
Merges The Event and Map Views
2020-04-28 19:11:40 -05:00
Marcus Huderle
438a36f29a Remove spacing between top tab bar and main contain frames 2020-04-28 19:09:42 -05:00
Marcus Huderle
6a27536cbb Automatically select the newly-created event via the Pencil tool 2020-04-26 19:47:57 -05:00
garakmon
333fe69dd8 keep selected tool when switching tabs 2020-04-26 18:55:18 -04:00
garakmon
f57ef7a819 change main tab for every click 2020-04-26 16:18:25 -04:00
garakmon
9e883a8a2f remember edit mode in map tab 2020-04-26 16:18:25 -04:00
garakmon
7e039121bb fix mainwindow ui conflicts 2020-04-26 16:18:25 -04:00
garak
ccccb7cec0 fix bug with adding new widget to event frame outside of a paint event 2020-04-26 16:17:51 -04:00
garak
b5adbe782d extend most toolbuttons for use in event editing 2020-04-26 16:17:51 -04:00
garak
bf58549666 update midnight theme disabled widgets, disable some ui in event tab 2020-04-26 16:17:51 -04:00
garak
fa42beac1d update ui so that map and events tabs share widgets
- use a programmatically created QTabBar to switch between pages of stacked widget
- use stacked widget to display selected objects and metatiles frames
- remove unique map events tab

this gives access to the toolbuttons while editing events (not functional yet)
2020-04-26 16:17:51 -04:00
huderlem
c0674d9676
Merge pull request #200 from garakmon/closeproject
Fix Open Project & Monitor Changed Project Files
2020-04-25 16:28:02 -05:00
huderlem
d2ed1701bf
Update INSTALL.md 2020-04-25 16:27:12 -05:00
GriffinR
a3d10ef306 Set border visibility after redo/undo 2020-04-25 16:15:34 -05:00
Marcus Huderle
b9522c24f5 Centralize file-changed logic in the callback. Ignore watched files for 5 seconds, when saving them. On Windows, there is a fuzzy delay between the time a file is written and when the signal fires in Qt, and we can't rely on blocking signals or temporarily removing the watched filepaths. It also fires three or four duplicate times for a single file. 2020-04-25 16:11:14 -05:00
Marcus Huderle
5b26ba678b Remove qstringhash implementation needed by older versions of Qt 2020-04-24 19:21:09 -05:00
garak
52596ea38c
Merge pull request #209 from GriffinRichards/fix-ttype
Use first trainer type constant for new objects
2020-04-21 19:05:54 -04:00
GriffinR
d1853a576b Use first trainer type constant for new objects 2020-04-21 19:03:00 -04:00
garak
dba9d866d8
Merge pull request #208 from GriffinRichards/fix-frlg
Re-enable RSE-specific events when switching projects
2020-04-21 16:32:22 -04:00
GriffinR
1bd1db2a7d Re-enable RSE-specific events when switching projects 2020-04-21 16:31:24 -04:00
garakmon
b849ace6e2 fix mainwindow.ui action tag 2020-04-21 16:22:09 -04:00
garak
03082e5920
Merge branch 'master' into closeproject 2020-04-20 22:05:28 -04:00
garakmon
4d2fa5ee38 show file changed warning once at a time 2020-04-20 22:02:14 -04:00
garakmon
401d2e4884 let user change some config settings
- use encounter json
    - use poryscript
    - monitor files
2020-04-20 21:54:20 -04:00
Marcus Huderle
f07422585b Fix typo 2020-04-20 20:29:07 -05:00
Marcus Huderle
bb6dbedabf Add ability to export map stitch images. 2020-04-20 20:29:07 -05:00
garakmon
800d584eb5 update icon 2020-04-20 20:18:24 -04:00
GriffinR
141f0fa773 Fix adding new mapsec regression 2020-04-20 17:45:34 -05:00
GriffinR
1b3d4a44e0 Forbid . and - in new tileset names 2020-04-20 17:39:31 -05:00
garak
4a23c90695
Merge pull request #205 from garakmon/encord
use ordered map for wild encounter json
2020-04-20 14:27:47 -04:00
garakmon
05fe994e32 update changelog 2020-04-20 14:26:16 -04:00
garakmon
df8dac965f move fileWatcher signals to project class, block when saving 2020-04-20 14:08:32 -04:00
garakmon
96a870552e monitor files for changes
- add fileWatcher to project that monitors changes to most files
      (except map and layout json files)
    - add config setting whether to monitor files for changes (monitor_files)
2020-04-20 14:07:06 -04:00
garakmon
6026266afd add File>Reload Project 2020-04-20 14:07:06 -04:00
garakmon
ca5a0247f7 delete project with editor 2020-04-20 14:07:06 -04:00
garakmon
0e9deff4bc clear config data between loads 2020-04-20 14:07:06 -04:00
garakmon
c0bffa0107 add some destructors, prevent value set on combobox update
- add destructors to Project and Editor
    - properly close project when opening a new one
    - when reloading comboboxes, do not set map values
      with the new first item
2020-04-20 14:07:06 -04:00
garak
91f8db10a5
Merge pull request #192 from GriffinRichards/pokefirered
Add pokefirered support
2020-04-20 14:05:27 -04:00
garakmon
e5122ef94f use ordered map for wild encounter json 2020-04-20 14:04:34 -04:00
GriffinR
0c92dc05da Save metatile attributes label in new order for FRLG 2020-04-20 13:29:01 -04:00
GriffinR
d91107a07d Read callback_label for FRLG 2020-04-19 18:23:37 -04:00
GriffinR
f2ae83b33e Use metatile attributes path from header 2020-04-19 18:11:45 -04:00
GriffinR
5f16ae7dd0 Use value() instead of at() for defaults 2020-04-19 10:16:49 -04:00
GriffinR
8c428c578b
Merge branch 'master' into pokefirered 2020-04-19 09:48:21 -04:00
garakmon
799e5537f9 add tsl::ordered_map for json objects,
update project code to save json files with new ordered object
2020-04-19 07:55:51 -05:00
garakmon
12614a174a modify Json::dump to preserve our format 2020-04-19 07:55:51 -05:00
garakmon
7bef1eb1e1 convert to use QVector 2020-04-19 07:55:51 -05:00
garakmon
8cb2e6e2ba add json library, begin modifications 2020-04-19 07:55:51 -05:00
garakmon
ef5ba968b1 do not allow selection of invalid metatiles
- also display invalid metatiles as magenta to stand out more
2020-04-18 15:31:28 -05:00
garak
3a52c8680c
Merge pull request #201 from garakmon/tabbing
allow TAB key to navigate through encounter table widget
2020-04-08 22:13:03 -04:00
garakmon
d3c212edb3 allow TAB key to navigate through encounter table widget 2020-04-08 22:12:20 -04:00
GriffinR
129db88453 Minor cleanup 2020-04-06 12:09:45 -04:00
GriffinR
c9b6f87e06 Apply undo/redo to border drawing 2020-04-05 11:56:13 -04:00
GriffinR
d5908c0045 Draw border up to players view 2020-04-05 00:03:36 -04:00
GriffinR
d4cf3edfc7 Use default tileset for invalid tilesets, fix segfault caused by loadMapLayout 2020-04-04 14:14:16 -04:00
GriffinR
e4a41cf201 Align border blocks 2020-04-03 16:29:40 -04:00
GriffinR
c28730e834 Fix crash with open windows when switching projects 2020-03-31 12:41:15 -04:00
GriffinR
e9210f96aa
Merge branch 'master' into pokefirered 2020-03-29 13:15:23 -04:00
GriffinR
76a8c0dc44 Read trainer type constants 2020-03-27 10:51:57 -04:00
GriffinR
1a2e7623ef Prefer oamtable name for sprite dimensions 2020-03-27 09:23:25 -04:00
GriffinR
0fb483b5d3 Editable trainer type, minor fixes 2020-03-26 15:11:42 -04:00
GriffinR
8e26f4c3f5 Enable readInitialFacingDirections for pokefirered 2020-03-26 14:59:33 -04:00
GriffinR
9924a36950 Set floor minimum 2020-03-24 00:33:10 -04:00
GriffinR
3ff5483267 Correctly initialize palette for palette editor 2020-03-23 21:12:56 -05:00
GriffinR
8137abd656 Disable respawn editing for pokeemerald/pokeruby 2020-03-20 13:52:30 -04:00
GriffinR
20b112de52 Support editing heal location respawns 2020-03-20 13:41:40 -04:00
GriffinR
d365ebb664 Support reading/saving pokefirered heal locations 2020-03-20 03:09:48 -04:00
GriffinR
083874ce9e Minor fixes 2020-03-18 03:12:43 -04:00
GriffinR
2a3b222e3e Locate tileset folders with _[0-9]* 2020-03-17 00:29:54 -04:00
GriffinR
f15d7102fc Remove dummied logInfo 2020-03-16 16:34:08 -04:00
GriffinR
bf72ecede9 Parse remaining pokefirered metatile attributes, allow editing/saving them 2020-03-16 16:31:08 -04:00
GriffinR
3fa77609c6 Remove hard-coded new map constants 2020-03-16 03:57:39 -04:00
GriffinR
ffddc35b60 Parse pokefirered metatile behaviors/layer types 2020-03-15 03:03:12 -04:00
GriffinR
c0a512803e Allow editing border dimensions 2020-03-14 18:06:35 -04:00
GriffinR
5cf0e35ffc Fix border block cache usage 2020-03-13 19:10:40 -05:00
GriffinR
629abd3c06 Support reading/displaying custom border sizes 2020-03-13 02:23:47 -04:00
garak
2792869e45
Merge pull request #193 from GriffinRichards/fix-bdpatherr
Fix blockdata_path error check
2020-03-12 22:41:30 -04:00
GriffinR
d04f1e913a Fix blockdata_path error check 2020-03-12 22:38:36 -04:00
GriffinR
a5c47b6333 Disable RME(temporarily), secret bases, and weather triggers for pokefirered 2020-03-12 12:30:37 -04:00
GriffinR
a8b381a0b5 Match tileset names with underscores and unknown paths 2020-03-11 19:33:22 -04:00
GriffinR
a2f38341f5 Save changes to floor_number 2020-03-11 17:06:26 -04:00
GriffinR
8d89b370b4 Add in_connection to object events 2020-03-11 16:45:52 -04:00
GriffinR
7125cd7c8d Add underfoot and quantity to hidden items 2020-03-11 16:23:07 -04:00
GriffinR
eb44201f5b Skip MUS_DAN02 for pokefirered 2020-03-11 02:35:24 -04:00
GriffinR
3eca227d07 Basic pokefirered empty layout, floor number, version selection support 2020-03-11 02:06:13 -04:00
Marcus Huderle
c058794597 Release 3.0.1 2020-03-04 11:56:09 -06:00
Marcus Huderle
4ab8d17c32 Update documentation 2020-03-04 11:48:19 -06:00
huderlem
456c497d01
Update CHANGELOG.md 2020-03-04 11:05:12 -06:00
garakmon
79843c07b6 export tile image files as indexed 4bpp 2020-03-04 11:01:02 -06:00
Marcus Huderle
4d21548a7f Release 3.0.0 2020-02-12 18:30:50 -06:00
Marcus Huderle
f2844c2ec0 Update grid tooltip and update object event filepaths 2020-02-12 18:13:48 -06:00
huderlem
8f0bade8f7
Update CHANGELOG.md 2020-02-12 16:59:46 -06:00
Marcus Huderle
85c21855ef Update C array regex to allow explicitly-sized arrays 2020-02-12 16:38:07 -06:00
garak
b83ead44d0 update to use new object event file and variable names 2020-02-12 15:56:03 -06:00
Marcus Huderle
342bcae174 Add better error handling for region map editor loading 2020-02-12 15:45:21 -06:00
huderlem
9a48fc1467
Update CHANGELOG.md 2020-02-12 11:52:51 -06:00
Marcus Huderle
5978aedc30 Fix bug where dragging the metatile selector would visually extend beyond map boundary 2020-02-12 11:52:05 -06:00
huderlem
33a2cfe06a
Update CHANGELOG.md 2020-02-12 11:37:44 -06:00
Marcus Huderle
2df0ac7d16 Show alert windows when a fatal map-loading error occurs 2020-02-12 11:23:28 -06:00
Marcus Huderle
8b4970413d Log errors for invalid event types 2020-02-12 10:43:17 -06:00
Marcus Huderle
cd9b8b12a5 Validate map layout and tileset loading 2020-02-12 10:22:40 -06:00
Marcus Huderle
8a4456f7b0 Validate remaining data loads, and fix duplicating combobox data 2020-02-12 09:13:58 -06:00
Marcus Huderle
a152404ce8 Validate region map sections 2020-02-12 08:12:12 -06:00
Marcus Huderle
79c74b8814 Validate layouts 2020-02-11 18:34:08 -06:00
huderlem
262bd9e4e5
Update CHANGELOG.md 2020-02-02 16:29:09 -06:00
Marcus Huderle
cfaf23aa3e Copy collision properties when selecting metatiles from the map area 2020-02-02 16:25:37 -06:00
garak
7a84ca872c toggle grid in map view with CTRL+G 2020-01-15 20:44:01 -05:00
huderlem
1ece107979
Update CHANGELOG.md 2019-11-30 09:16:07 -06:00
Diegoisawesome
67f8b09c6e Fix tileset image export on exact multiple of 16 tiles 2019-11-30 08:24:43 -06:00
garak
62a42d6b3c update changelog 2019-11-04 18:51:05 -05:00
garak
81d02f57a5
Merge pull request #171 from huderlem/fix-event-deletion-crash
Fix event deletion crash
2019-11-04 18:48:03 -05:00
garak
2f21f83217 draw map connections with current map tilesets 2019-11-04 18:44:57 -05:00
Marcus Huderle
75f5045116 Update CHANGELOG 2019-11-02 18:23:03 -05:00
Marcus Huderle
654b788937 Guard against index out of bounds when deleting last event in group 2019-11-02 18:22:42 -05:00
huderlem
631896a708
Update CHANGELOG.md 2019-10-22 19:42:08 -05:00
Karathan
bc4d9e2276 add a switch for using .pory script files in the project config 2019-10-22 19:41:10 -05:00
Marcus Huderle
b9ec239655 Release 2.0.0 2019-10-16 20:43:09 -05:00
garak
66346dc4e1 update changelog 2019-10-16 21:21:30 -04:00
huderlem
ec02215554
Update CHANGELOG.md 2019-10-16 20:10:12 -05:00
huderlem
e3193dc876
Update CHANGELOG.md 2019-10-16 20:06:11 -05:00
garak
8f218c8c2b fix inconsistent table header text size 2019-10-16 20:04:19 -05:00
garak
a7e6dd9ebf add warning when encounter slot total exceeds 8 bytes 2019-10-16 20:04:19 -05:00
garak
6324980a8d don't save empty wild encounter field groups 2019-10-16 20:04:19 -05:00
garak
da59c82b7d add list of files porymap edits to docs 2019-10-16 20:04:19 -05:00
garak
5409855efd update encounter editing docs 2019-10-16 20:04:19 -05:00
garak
55573099b5 keep track of encounter data when navigating porymap 2019-10-16 20:04:19 -05:00
garak
9e03ac5e14 update pokemon constants path, error check level constants 2019-10-16 20:04:19 -05:00
garak
10c99dd0a2 add 'groups' field to encounter json to accomodate fishing 2019-10-16 20:04:19 -05:00
garak
09dd9380bb add Encounter Chance column to mon tables 2019-10-16 20:04:19 -05:00
garak
91b498ee62 configuring encounter JSON applies changes to all mon data 2019-10-16 20:04:19 -05:00
garak
911b30089c rename TokenType to TokenClass to fix Windows issues 2019-10-16 20:04:19 -05:00
garak
c816801429 change ComboBox::activated calls to currentTextChanged 2019-10-16 20:04:19 -05:00
garak
797ec63e23 encounter slot minimum chance is 1, not 0 2019-10-16 20:04:19 -05:00
jiangzhengwenjz
c29486063a fix build on qt 5.9.5 2019-09-21 17:31:47 -05:00
garak
b1509cb000 make wild encounter windows obey theme 2019-09-21 12:27:05 -05:00
garak
9375fd580c fix menu bar in themes
- remove sticky highlighting of the menu bar items
- add menu checkboxes, finesse highlighting
2019-09-21 12:27:05 -05:00
garak
8db6f73c0d recolor dropdown in midnight theme 2019-09-21 12:27:05 -05:00
garak
8d4ea0721c add icon attribution 2019-09-21 12:27:05 -05:00
garak
8767904b5e update theme checkboxes, remove novelty themes 2019-09-21 12:27:05 -05:00
garak
02d16b6a12 revamp dark theme colors, add new themes
new themes:
- midnight (the old dark theme)
- emerald green
- pink and blue
2019-09-21 12:27:05 -05:00
garak
230b018834 add themes to config so they persist between sessions 2019-09-21 12:27:05 -05:00
garak
376cfbf9c3 add light and dark themes 2019-09-21 12:27:05 -05:00
garak
ec98312340 change event object sprite when using completer 2019-09-21 13:04:17 -04:00
garak
303cf37b48 fix encounter field slot change config limits
- add min and max value limits *before* setting value
2019-09-21 12:37:02 -04:00
garak
029c4fddfc
Merge pull request #144 from garakmon/wild_encounters
Wild Encounters Editing
2019-09-10 20:31:01 -04:00
garak
96020c21dd change encounterRate slider to a spin box 2019-09-09 23:51:37 -04:00
garak
6fa715db09 rebuild docs 2019-09-09 18:26:54 -04:00
garak
dc6f962292 silence warnings 2019-09-09 18:26:54 -04:00
garak
e623c22da8 use custom (faster) combos for species selectors 2019-09-09 18:26:54 -04:00
garak
088ad7453b add tooltip for mon field tabs 2019-09-09 18:26:54 -04:00
garak
d794dee8c0 add wild encounters to config 2019-09-09 18:26:54 -04:00
garak
c52b6fe4cd add wild encounter documentation 2019-09-09 18:26:54 -04:00
garak
7129510aea add read misc project values function 2019-09-09 18:26:54 -04:00
garak
267c71d40e clean wild encounter code 2019-09-09 18:26:54 -04:00
garak
78a6944a3c configure field JSON 2019-09-09 18:26:54 -04:00
garak
f3928d2c6d add tall grass icon 2019-09-09 18:26:54 -04:00
garak
3c2b7a8df7 fix copy from existing encounter group function 2019-09-09 18:26:54 -04:00
garak
f7022fc3d2 allow saving new encounter groups to maps 2019-09-09 18:26:54 -04:00
garak
eb3fb44542 custom table widget for mon data, add new encounter fields to maps 2019-09-09 18:26:54 -04:00
garak
d7dae219b1 fix saving for multi encounter group maps 2019-09-09 18:26:54 -04:00
garak
5a62df9f55 add json saving to wild encounter editor 2019-09-09 18:26:54 -04:00
garak
4b0e0b0bff continue work on wild encounter editor 2019-09-09 18:26:54 -04:00
garak
1369113a1b add encounter rate slider to wild mon tables 2019-09-09 18:26:54 -04:00
garak
ce002bcb4d speed up combobox load for wild mons 2019-09-09 18:26:54 -04:00
garak
3f9ad3afbb extend wild encounter tab for all fields (dynamic) 2019-09-09 18:26:54 -04:00
garak
0ad71286b1 begin work on wild pokemon editor 2019-09-09 18:26:54 -04:00
garak
e3f92fff12 fix build:
- use parser class when parsing metatile label files
- use QString() over QString::null which is deprecated
2019-09-09 18:24:33 -04:00
garak
b9ba7777d3 fix typo / bad error message 2019-09-08 20:26:39 -04:00
garak
3cbba869ae update changelog 2019-09-08 20:24:07 -04:00
garak
22fe92840f
Merge pull request #108 from Phlosioneer/metatile-labels
Add a way to name metatiles, for use in c code
2019-09-08 20:15:00 -04:00
garak
45af8f57f5 update changelog 2019-09-03 23:12:03 -04:00
garak
d50444b9cb remove comments 2019-08-27 18:00:56 -05:00
tustin2121
13b6f8f6e3 Event_object_graphics_pointers are now read for explicit indexes. 2019-08-27 18:00:56 -05:00
garak
dae8f7deaf only read map-related WEATHER_ constants 2019-08-19 16:52:39 -05:00
garak
11d6d35b68 fix rme close with unsaved changes 2019-08-19 16:52:39 -05:00
garak
bb7e15785c draw region map layout when label is changed 2019-08-19 16:52:39 -05:00
garak
9e7ce82f45 fix region map entries save bug where NONE map section was being saved in array 2019-08-19 16:52:39 -05:00
garak
60e68116c4 parsing heal locations allows spaces around parentheses 2019-08-19 16:52:39 -05:00
garak
9800abfdb2 make all ui names in mainwindow.ui unique 2019-08-19 16:52:39 -05:00
garak
16d25796bf use the custom combobox for all porymap comboboxes 2019-08-19 16:52:39 -05:00
garak
2beb0ccd38 update changelog 2019-08-13 22:31:56 -04:00
garak
7a239fafda fix tile image export 2019-08-13 22:28:20 -04:00
garak
50a4610d2b
fix typo in changelog 2019-08-12 10:47:25 -04:00
garak
e672493d4f update changelog 2019-08-08 11:55:50 -04:00
garak
89f2779291
Merge pull request #151 from garakmon/misc190806
Miscellaneous
2019-08-07 11:28:19 -04:00
garak
b990e661e3 remove old comment 2019-08-07 11:27:52 -04:00
garak
ee5d85b171 fix new map layout dir creation and erroneous error 2019-08-07 11:17:20 -04:00
garak
3e39ebccdf add unsaved changes dialog to mainwindow close 2019-08-07 10:48:07 -04:00
garak
f89804dd16 silence compiler warnings 2019-08-06 23:35:02 -04:00
garak
e87d669e1d
Merge pull request #150 from garakmon/speedup
Improve Combobox Speed & Autocompletion
2019-08-06 21:52:57 -04:00
garak
5470ade7bb improve combobox speed and autocompletion 2019-08-06 21:50:03 -04:00
garak
e7732bfb42 fix secondary tileset metatile values; format save file 2019-07-18 16:35:00 -04:00
Marcus Huderle
e501a92c30 Fix exporting tileset images with duplicate-color palettes 2019-06-17 12:00:31 -05:00
garak
a240bf5038 allow spaces in C INCBINS 2019-06-10 20:36:58 -05:00
garak
889efd752f
Merge pull request #138 from garakmon/bugs
Small Bugs
2019-06-03 21:36:03 -04:00
garak
e898baf098 update changelog 2019-06-03 21:34:35 -04:00
garak
1e5ac54147 parse C defines with line breaks 2019-06-03 21:29:09 -04:00
garak
14a92c4c16 clear flyableMaps when reading heal locations 2019-06-02 16:48:55 -04:00
huderlem
a7aa64527e
Update README.md 2019-05-27 13:31:23 -05:00
huderlem
47b4b55af6
Update CHANGELOG.md 2019-05-23 16:53:09 -05:00
garak
358732aa00 fix bug in tileset editor where selection is drawn at improper coordinates 2019-05-23 16:45:06 -05:00
garak
0b28a95e9f flip entire selection contents in tileset editor 2019-05-23 16:45:06 -05:00
garak
8f2e47e937 fix preview scene memory leak, fix borders 2019-05-23 16:43:07 -05:00
garak
f750c56e29 create map image export window 2019-05-23 16:43:07 -05:00
garak
ca438fdc50
Merge pull request #134 from garakmon/map-grp-num
Create New Maps In Correct Group When Group Names Are Not Numbered
2019-05-20 22:54:22 -04:00
garak
24562fdaae handle un-numbered map groups when creating new maps 2019-05-20 22:33:28 -04:00
Marcus Huderle
ef0b79d580 1.2.2 Release 2019-05-16 17:05:27 -05:00
huderlem
a8cd7896cd
Update CHANGELOG.md 2019-05-16 16:35:50 -05: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
54e431617f improve tileset label reading to silence unnecessary warnings 2019-05-09 18:08:52 -05:00
garak
eb3964bcc3 improve way selected events are rendered on top 2019-05-09 18:06:34 -05:00
garak
cdf39e6eb2
Merge pull request #127 from garakmon/430typo
fix typo in mainwindow.cpp
2019-05-02 11:13:02 -04:00
garak
69a7a24ed6 fix typo in mainwindow.cpp 2019-05-02 11:05:20 -04:00
garak
a214b66353 use more appropriate default elevations for new events, hide heal spot z 2019-05-01 19:30:19 -05:00
garak
f805f3af37 finish region map editor docs 2019-04-29 19:48:50 -05:00
garak
41e17ec69e begin region map editor documentation 2019-04-29 19:48:50 -05:00
garak
2cc5a92cc8 disallow region map entries to have out of bounds dimensions 2019-04-29 19:38:40 -05:00
garak
4774def5cd draw selected event on top when stacked 2019-04-29 19:38:40 -05:00
garak
c189d2fac8 revert hideArrow() function, fix rme swap window 2019-04-29 19:38:40 -05:00
garak
0a4be71ae2 add regex support to C define reading 2019-04-29 19:38:40 -05:00
garak
9098055054 add data qualifiers struct 2019-04-29 19:38:40 -05:00
garak
8c29b00fa4 modify event comboboxes, fix heal location parsing 2019-04-29 19:38:40 -05:00
Marcus Huderle
099b197452 Add map connections editing docs 2019-04-27 13:43:41 -05:00
Marcus Huderle
e1e44dab81 Add map header editing docs, and fix changelog 2019-04-26 17:46:04 -05:00
Marcus Huderle
276f0a3827 Add map events editing documentation 2019-04-25 18:32:32 -05:00
Marcus Huderle
a81c356467 Add map collision editing documentation 2019-04-24 18:49:08 -05:00
Marcus Huderle
13e3e660e9 Fix bug where tryParseJsonFile() wasn't explicitly returning true 2019-04-24 17:26:08 -05:00
garak
cf32047e46 add changelog and recommonmark req 2019-04-24 17:17:29 -05:00
Marcus Huderle
ebf0bd9ce3 Add Editing Map Tiles docs 2019-04-23 18:41:26 -05:00
Marcus Huderle
5cc2b400cd Added Navigation docs 2019-04-21 20:07:41 -05:00
Marcus Huderle
afbcaf0f59 Update GitHub Pages 2019-04-21 11:20:49 -05:00
Marcus Huderle
656715fb9e Add introduction docs 2019-04-21 11:08:37 -05:00
Marcus Huderle
7b440f38a4 Log error messages when JSON parsing fails 2019-04-20 09:06:59 -05:00
Marcus Huderle
f82126df45 Use rtd sphinx theme for docs and add docs README 2019-04-18 20:17:36 -05:00
Marcus Huderle
2018ff0ac1 Add .nojekyll 2019-04-18 20:00:31 -05:00
Marcus Huderle
7ccc1e7098 Update docs 2019-04-18 19:39:57 -05:00
Marcus Huderle
f5949c2b20 Add sphinx docs sources skeleton 2019-04-18 19:36:49 -05:00
garak
e30ec429ab allow entries to be moved by dragging them around map 2019-04-13 16:24:12 -05:00
garak
92ea089876 insert new map entries when edited 2019-04-13 16:24:12 -05:00
garak
875320ae26 add entries editing tab to rme 2019-04-13 16:24:12 -05:00
Phlosioneer
edcb8f9285 Only commit metatile label if it changes 2019-04-08 00:17:30 -04:00
Phlosioneer
03186e4591 Fix metatile label bug while saving
The metatile label only saved when the text field lost focus. But
saving doesn't cause the lineEdit to lose focus. This forces a
check whenever the tileset is saved.
2019-04-08 00:13:55 -04:00
Phlosioneer
6b661db952 Fix incorrect regex validator
This fixes the bug where an empty line wouldn't clear the metatile
label. It also removes the '.' and '-' characters.
2019-04-07 20:46:53 -04:00
garak
d094dced1f fix region map editor ui 2019-04-07 18:33:06 -05:00
huderlem
06a3e0049b
Update CHANGELOG.md 2019-04-06 20:23:02 -05:00
huderlem
e91df38714
Merge pull request #77 from garakmon/rme
Region Map Editor
2019-04-06 19:59:08 -05:00
Marcus Huderle
a61dd168cf Write JASC files with \r\n line endings 2019-04-06 19:58:38 -05:00
garak
fe22a2fbbc Merge branch 'rme' of https://github.com/garakmon/porymap into rme 2019-04-06 18:12:21 -04:00
garak
5bfc32fb7f write palette of region map image, fix ruby city map render 2019-04-06 18:11:56 -04:00
garak
0a0eaba788 draw sprites based on movement type 2019-04-06 17:04:41 -05:00
Marcus Huderle
d7287ce54b Re-draw map status icons when changing the map filter 2019-04-06 16:58:18 -05:00
garak
01bb74bf8c draw map icons for all maps in project 2019-04-06 16:57:46 -05:00
garak
f8c9f97cb6 hide cursor tile rect when changing tabs 2019-04-06 16:50:54 -05:00
garak
4628fe400b double click on secret base acts as warp 2019-04-06 16:42:27 -05:00
garak
bb7983c4e3 select next event in group when deleting an event 2019-04-06 16:36:48 -05:00
garak
da5048a616 use project values for new event defaults 2019-04-06 16:36:48 -05:00
garak
2ee3731ed8
Merge branch 'master' into rme 2019-04-06 10:20:35 -04:00
Phlosioneer
01c6d09bc2 Add a way to name metatiles, for use in c code
Metatiles can be given a name. The name becomes a constant in
includes/contstants/metatile_labels.h.

The plan is to be able to reference metatiles in code using a macro
like `METATILE(Building, TV_ON, Primary)`, which will evaluate to the
value 0x003, or `METATILE(BrendansMaysHouse, MOVING_BOX_OPEN, Secondary)`,
which will evaluate to the value 0x270.
2019-04-04 01:44:31 -04:00
garak
a475823fee further refine region map editor 2019-03-31 14:57:24 -04:00
Karathan
e305e42e61 rename getTilesets->getTilesetLabels 2019-03-24 15:55:40 -05:00
Karathan
8c3c498ac9 further clearify error messages, and add sanity symbol checking 2019-03-24 15:55:40 -05:00
Karathan
37a688b32a fix nasty padding misalign 2019-03-24 15:55:40 -05:00
Karathan
b8915995b9 fix line endings 2019-03-24 15:55:40 -05:00
Karathan
be371aed17 add success message to tileset creation 2019-03-24 15:55:40 -05:00
Karathan
cf9a4bc0fc dont allow primary/secondary tileset with the same (friendly) name, clearify duplicate error message 2019-03-24 15:55:40 -05:00
Karathan
45be05426c add shortcut for adding a tileset 2019-03-24 15:55:40 -05:00
Karathan
092eb2b9aa add ellipsis to new map and new tileset 2019-03-24 15:55:40 -05:00
Karathan
af96054baf Save all tilesets
because the loader wants to have them all
2019-03-24 15:55:40 -05:00
Karathan
1b62c15ba4 add dialog to add tilesets 2019-03-24 15:55:40 -05:00
garak
545e2134d8 remember changes to region map layout between saves 2019-03-23 16:56:30 -04:00
huderlem
d456847f43
Update CHANGELOG.md 2019-03-17 12:06:48 -05:00
Marcus Huderle
4dc9ebada9 Preserve x/y flip status when selecting a single tile from the metatile picker 2019-03-17 11:56:47 -05:00
Marcus Huderle
8af714a681 Rename 'Reset' actions to 'Clear', and add 'Clear Background Map' to edit history 2019-03-17 11:37:13 -05:00
garak
34cc6fe5c7 fix map icons in mapList 2019-02-26 15:56:45 -06:00
garak
3ab64f493d scale metatile selection and border with selector 2019-02-26 15:56:45 -06:00
garak
9e7611d3ae fix metatile selector selection when zoomed 2019-02-26 15:56:45 -06:00
garak
5b6f658e29 add new convenience features to rme and fix typos 2019-02-25 13:31:34 -05:00
garak
3cef77a174 add map section swap feature and smooth zooming 2019-02-18 13:45:45 -05:00
garak
38cb97793d fix outstanding rme bugs and history 2019-02-16 19:58:13 -05:00
garak
a951fc85da region map ui updates and other fixes 2019-02-16 19:58:13 -05:00
garak
41f3780c8a add region map data to config, fix some bugs 2019-02-16 19:58:13 -05:00
garak
c75ce5db1d resize region map, move map squares 2019-02-16 19:58:13 -05:00
garak
83f3cef52e clean rme UI, undo / redo history, new city maps 2019-02-16 19:58:13 -05:00
garak
d3a16d34df move region map editor to its own window 2019-02-16 19:58:13 -05:00
garak
62009373f7 city map editor 2019-02-16 19:55:58 -05:00
garak
0f02d7b955 fix saving region map layout 2019-02-16 19:55:58 -05:00
garak
a9098cfd7a add layout view to region map editor 2019-02-16 19:55:58 -05:00
garak
7cffe07579 add region map image editor with basic functionality 2019-02-16 19:54:54 -05:00
Marcus Huderle
c3e41976e8 1.2.1 release 2019-02-16 17:00:38 -06:00
Marcus Huderle
3225ff5133 Update changelog 2019-02-16 16:55:09 -06:00
Marcus Huderle
bf17f29a13 Treat trainer_type and trainer_sight_or_berry_tree_id as strings 2019-02-16 16:50:39 -06:00
Marcus Huderle
576180bc79 Update About window 2019-02-16 16:23:33 -06:00
huderlem
323cbac5eb
Update CHANGELOG.md 2019-02-16 14:39:59 -06:00
Marcus Huderle
b2742498d1 Save metatile zoom in config 2019-02-16 14:32:46 -06:00
garak
f587e03a49 add slider to scale metatiles view 2019-02-16 14:32:46 -06:00
Marcus Huderle
4dedf73f76 Treat var_value field as string, not integer 2019-02-16 14:04:20 -06:00
garak
6bc28e7cd5 specify utf-8 when reading in files 2019-02-09 17:43:54 -06:00
huderlem
ed39c36db4
Update CHANGELOG.md 2019-02-08 16:14:50 -06:00
garak
5ffd6d84e4 fix unloaded blockdata when creating new map from layout 2019-02-08 16:13:40 -06:00
huderlem
c2a033e3fe
Update CHANGELOG.md 2019-02-04 21:39:29 -06:00
Marcus Huderle
6ac440e3eb Update About window for 1.2.0 release 2019-02-04 21:15:42 -06:00
huderlem
5391c6a18b
Update CHANGELOG.md 2019-02-04 21:02:02 -06:00
Marcus Huderle
02d6ed3cff No custom attributes for heal events 2019-02-04 20:53:35 -06:00
Marcus Huderle
c4ad0971d0 Support custom fields for all event types 2019-02-04 20:53:35 -06:00
Marcus Huderle
a894bea71b Support custom fields for top-level map attributes 2019-02-04 20:53:35 -06:00
Marcus Huderle
d70145d89a Respect shared_events_map and shared_scripts_map 2019-02-04 20:53:35 -06:00
Marcus Huderle
94686e6f0a Support map JSON data 2019-02-04 20:53:35 -06:00
huderlem
d2508b1f1d
Update CHANGELOG.md 2019-01-21 19:21:03 -06:00
Marcus Huderle
532c32cc00 Don't dynamically flip the tiles image in the tileset editor 2019-01-21 19:18:09 -06:00
huderlem
c14904f13c
Update CHANGELOG.md 2019-01-20 11:00:13 -06:00
garak
f8d6095708 add macOS INSTALL.md instructions 2019-01-20 10:46:15 -06:00
garak
a2e3d17dbb ignore multi line comments when reading C defines (courtesy WWMB) 2019-01-20 10:46:15 -06:00
garak
596216d5fb remove first map tile outline on project open 2019-01-20 10:46:15 -06:00
Marcus Huderle
228b646b0e Change trainer checkbox to a combobox 2019-01-20 10:43:32 -06:00
huderlem
2f21465d8d
Update CHANGELOG.md 2019-01-11 08:56:27 -06:00
Marcus Huderle
9412057f6a Export tileset images as proper 4-bit-depth .png files 2019-01-11 08:52:47 -06:00
Marcus Huderle
a3ecbecd20 Don't show cursor tile outline in event or connection editing tabs 2019-01-11 08:52:44 -06:00
Marcus Huderle
16bbfcb654 Make map tile cursor more responsive according to metatile selection 2019-01-11 08:52:35 -06:00
Diegoisawesome
a04db82c2b Make events (besides objects with valid sprites) partially transparent (#86)
* Make events transparent

* Change which events are transparent
2019-01-10 19:59:41 -06:00
huderlem
a31f6053c9
Update CHANGELOG.md 2019-01-09 09:36:11 -06:00
Marcus Huderle
61b919566a Add option to show an outline around the currently-hovered map tile 2019-01-09 09:35:34 -06:00
huderlem
543743bcd0
Update CHANGELOG.md 2019-01-08 18:14:21 -06:00
Marcus Huderle
4d088766a0 Add player view rectangle option 2019-01-08 18:04:48 -06:00
Marcus Huderle
3f88072981 Add ability to import metatiles from Advance Map (.bvd files) 2019-01-08 18:04:41 -06:00
Marcus Huderle
b469cc047f Add 'About Porymap' window that contains useful information about the program 2019-01-08 10:28:20 -06:00
Marcus Huderle
8317dc2276 Add expand-all and collapse-all buttons for map list 2019-01-08 09:30:36 -06:00
Marcus Huderle
48a0d13926 Only create new map text.inc file in pokeruby projects 2019-01-08 08:59:43 -06:00
huderlem
420ec59d7d
Fix typos in CHANGELOG.md 2019-01-07 17:35:18 -06:00
huderlem
d24f96bf35
Update CHANGELOG.md 2019-01-07 17:21:37 -06:00
garak
d13a4da50a Remember window sizes, add new map popup window (#54)
* save window state on app close

* new map popup window

* window title, groupItem fix

* fix new map heal location generation

* fix newmappopup form size

* empty map name check, increase max dimensions

* tool tips

* delete new window

* fix mainwindow.ui new map action

* use new config for window state

* clean window restore config settings

* extend "Add New Map" to different MapSortOrders

* fix crash when creating new map from unloaded layout

* fix new map from layout extra files
2019-01-07 17:14:44 -06:00
Diegoisawesome
aa0709243d Fix crash if layout blockdata size mismatches layout dimensions 2019-01-07 12:28:31 -06:00
huderlem
fd58eb9dab
Update CHANGELOG.md 2019-01-07 09:40:11 -06:00
Marcus Huderle
d58918a554 Read tiles image data from buffer, rather than auto-detecting format from file extension 2019-01-07 09:32:10 -06:00
Marcus Huderle
fa61663465 Allow importing tileset tiles from un-indexed images, by also uploading a palette with it 2019-01-07 09:32:10 -06:00
huderlem
04465bfc3b
Update CHANGELOG.md 2019-01-06 12:56:32 -06:00
Marcus Huderle
022dc899da Add transparency slider for overlayed collision tiles on the map 2019-01-06 12:53:36 -06:00
Diegoisawesome
7c51f50d76 Fix segfault when using magic fill outside map 2019-01-06 12:42:24 -06:00
huderlem
0c673323a7
Update CHANGELOG.md 2019-01-06 10:40:05 -06:00
Marcus Huderle
36b7f361cf Fix crash that could occur when shrinking the number of metatiles in a tileset 2019-01-06 10:39:00 -06:00
huderlem
32ec2a80b2
Update CHANGELOG.md 2019-01-06 10:09:56 -06:00
Marcus Huderle
42db5f1d1c Fix map-shifter tooltip typo. 2019-01-06 10:04:47 -06:00
Marcus Huderle
cd37192657 Fix palette editor crash 2019-01-06 09:43:54 -06:00
huderlem
9f8849aced
Update CHANGELOG.md 2019-01-05 17:16:10 -06:00
Diegoisawesome
fdd5e4851a Prevent autoexpanding all map groups on resort (#78)
Also fix path separator in status bar text
2019-01-05 16:38:37 -06:00
Marcus Huderle
f1caa03c6c Add ability to export tileset tiles image 2019-01-05 15:52:55 -06:00
Marcus Huderle
95f712ef6f Explicitly initialize members of Settings class to fix undefined behavior 2019-01-05 14:44:09 -06:00
huderlem
955093cb80
Update CHANGELOG.md 2019-01-05 12:08:11 -06:00
Marcus Huderle
851f8ec813 Add ability to import JASC and A-Map palettes into the tileset palette editor. 2019-01-05 12:06:22 -06:00
Marcus Huderle
99a71afbfe Allow focus on the palette editor's palette id spin box 2019-01-05 09:17:55 -06:00
Diegoisawesome
060a3e359a Magic fill collision and elevation (#76) 2019-01-04 20:49:21 -06:00
Diegoisawesome
bd9fc001b4 Magic fill Y check fix (#75) 2019-01-04 19:53:46 -06:00
huderlem
4b7bf87da1
Update CHANGELOG.md 2019-01-04 18:24:11 -06:00
Diegoisawesome
fa0ec02143 Fix fill bug 2019-01-04 18:21:41 -06:00
Diegoisawesome
c6e0d017ea Add magic fill functionality 2019-01-04 18:21:41 -06:00
Marcus Huderle
5cf595532a
Update CHANGELOG.md for 1.1.0 release 2018-12-27 10:41:50 -06:00
Marcus Huderle
b477df608d
Update CHANGELOG.md 2018-12-27 09:02:44 -06:00
Marcus Huderle
1e1f09d07c Add changelog 2018-12-27 08:41:35 -06:00
Melody
1ccc8f72df write porymap settings and log to writeable path 2018-12-27 07:56:02 -06:00
Melody
a5ff02c4c9 fix icon on macos 2018-12-27 07:55:43 -06:00
Marcus Huderle
8b843855f0 Fix tileset editor crash caused by the TilesetEditor instance being destroyed while still running 2018-12-26 16:49:43 -06:00
Marcus Huderle
d7282ac5c7 Use FLAG_TEMP_1 when creating new hidden item event 2018-12-26 15:38:38 -06:00
Marcus Huderle
08ff21e415 Properly create new emerald map headers. Use 'trigger' instead of coord script, trap, etc. 2018-12-26 15:36:44 -06:00
Marcus Huderle
ebdab421cb Pivot map header experience based on base_game_version 2018-12-26 12:20:51 -06:00
Marcus Huderle
6b01d5a942 Add project-specific configuration file. Only contains base_game_version right now. 2018-12-25 15:26:13 -06:00
Marcus Huderle
525ef8c67c Refactor config into generic key-value base class and settings-specific child class 2018-12-25 14:41:57 -06:00
Marcus Huderle
7758124235 Clear existing map layouts when opening a new project 2018-12-25 13:36:39 -06:00
Marcus Huderle
1de1ab94ff Emit MAP_GROUPS_COUNT macro to maps.h 2018-12-25 13:27:02 -06:00
Marcus Huderle
99a21ccf29 Add porymap config file 2018-12-21 09:25:28 -06:00
Marcus Huderle
dcf6b5af6b Fix bug where tilesets were not displaying their bottom row 2018-12-20 18:26:27 -06:00
Marcus Huderle
220d13c335 Properly select an event after creating it 2018-12-20 17:46:43 -06:00
Marcus Huderle
b2053e593f Merge remote-tracking branch 'diego/tabbed_events' 2018-12-20 17:35:59 -06:00
Marcus Huderle
0c761edb88 Merge branch 'master' of https://github.com/huderlem/porymap 2018-12-20 17:35:11 -06:00
Marcus Huderle
40257193a4 Don't crash on startup if recent map can't be loaded. Write logs to porymap.log file 2018-12-20 17:30:35 -06:00
Diegoisawesome
9da5d84960 Fix segfault on map switch 2018-12-04 22:16:35 -06:00
Diegoisawesome
2799a3b584 Make sure event of type exists first 2018-12-04 13:36:22 -06:00
Diegoisawesome
e184ff2a04 Allow scrolling in event tabs 2018-12-04 13:06:18 -06:00
Diegoisawesome
1907dcbe1d Remove spinbox from multiple event view 2018-12-04 12:58:49 -06:00
Diegoisawesome
15e16798fc Fix double event select change 2018-11-30 00:24:56 -06:00
Diegoisawesome
68905aae1c Tabbed events mostly working 2018-11-29 21:59:03 -06:00
Diegoisawesome
f0b74ada93 Tabs working 2018-11-27 19:39:57 -06:00
Diegoisawesome
4550f80dc4 Begin tabs properly 2018-11-13 13:32:36 -06:00
Diegoisawesome
db96e33ffd Begin event view overhaul 2018-11-13 12:47:12 -06:00
garak
92b23e515d c define ignore nonexistent values (#56) 2018-11-08 17:55:50 -06:00
Marcus Huderle
761c25ee4c Don't reload metatiles from disk when importing tileset image 2018-10-10 18:14:43 -05:00
Marcus Huderle
62c1ed2dc7 Clarify save prompt when closing tileset editor 2018-10-10 18:07:55 -05:00
Marcus Huderle
e8d33c04db
Merge pull request #48 from phase/master
Add installation instructions and fix compile issues
2018-10-10 17:04:45 -05:00
Marcus Huderle
1c3e0b96bd Fix index out of bound error with tileset editing 2018-10-09 17:31:12 -05:00
Diegoisawesome
9067a077cf Tidy up tileset editor UI 2018-10-08 23:58:26 -05:00
Diegoisawesome
41a0c1d2d2 Change 2x2 limit to 4x2 on tileset editor selection 2018-10-08 21:10:57 -05:00
Diegoisawesome
c102a2b7d0 Scroll to selected tile and metatile 2018-10-08 14:46:46 -05:00
Jadon Fowler
4c371517e6
Add installation instructions and fix compile issues
By changing the call to QString#chopped to QString#left, we remove the
Qt 10 dependency.

I also changed the C++ version to C++11 as that's what the code is
using my compiler (and others) didn't default to it.

Ref #2

Signed-off-by: Jadon Fowler <jadonflower@gmail.com>
2018-10-07 21:59:34 -07:00
Marcus Huderle
2d3a10fdd8 Fix bug where map border became visible after editing the border metatiles when 'show borders' is disabled 2018-10-06 17:11:40 -05:00
Marcus Huderle
e42c2e1a81 Add edit-undo history to tileset metatile editing 2018-10-06 17:07:36 -05:00
Marcus Huderle
888270f3ef Add right-click selection to tileset editor metatile layer item 2018-10-06 15:49:26 -05:00
Marcus Huderle
bbfecba1ba Add edit-undo history for tileset palette changes 2018-10-05 18:38:11 -05:00
Marcus Huderle
7a47c64509 Display RGB values in tileset palette editor 2018-10-05 17:57:55 -05:00
Marcus Huderle
74ce9c9a45 Misc cleanup, and 'Sort by Name' -> 'Sort by Area' 2018-10-05 17:42:14 -05:00
Marcus Huderle
cbeb79b7f9
Merge pull request #41 from Diegoisawesome/master
Add map filtering and sorting
2018-10-05 17:41:49 -05:00
Diegoisawesome
7a6354cc0a Redo metatile count fix 2018-10-05 13:43:15 -05:00
Diegoisawesome
8a7a4c1e8e Change filter clearing logic 2018-10-05 11:23:40 -05:00
Diegoisawesome
0e58fed23b Add map list sorting and filtering 2018-10-05 01:02:40 -05:00
Diegoisawesome
54a9d8b23b Merge branch 'master' of github.com:huderlem/porymap 2018-10-04 11:03:33 -05:00
Diegoisawesome
6269d4822a Add filter to UI 2018-10-02 21:46:08 -05:00
Diegoisawesome
9f55dbfa23 Merge branch 'master' of github.com:huderlem/porymap 2018-09-30 13:59:27 -05:00
Diegoisawesome
f767d257f0 Start work on tileset editor 2018-09-30 13:51:50 -05:00
857 changed files with 149568 additions and 11116 deletions

163
.github/workflows/main.yml vendored Normal file
View File

@ -0,0 +1,163 @@
name: Build Porymap
permissions:
contents: write
on:
push:
branches:
- master
- dev
tags:
- '*'
pull_request:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build-linux:
strategy:
matrix:
qtversion: [5.14.2, 6.8.*]
runs-on: ubuntu-latest
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4
- name: Install Qt
uses: jurplel/install-qt-action@v4
with:
version: ${{ matrix.qtversion }}
modules: 'qtcharts'
cache: 'true'
- name: Configure
run: qmake porymap.pro
- name: Compile
run: make -j8
build-macos:
strategy:
matrix:
os: [macos-latest, macos-15-intel]
runs-on: ${{ matrix.os }}
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4
# We need a separate step to expand matrix.os
- name: Set Build Name
run: echo "BUILD_NAME=porymap-${{ matrix.os }}" >> $GITHUB_ENV
- name: Install Qt
uses: jurplel/install-qt-action@v4
with:
# 6.10 is the first Qt version (by release date) to support macOS 26
version: '6.10.*'
modules: 'qtcharts'
cache: 'true'
- name: Configure
run: qmake -config release porymap.pro
- name: Compile
run: make -j8
- name: Create Disk Image
if: startsWith(github.ref, 'refs/tags/')
run: macdeployqt porymap.app -dmg
- name: Prep Release Directory
if: startsWith(github.ref, 'refs/tags/')
run: |
mkdir ${{ env.BUILD_NAME }}
cp porymap.dmg ${{ env.BUILD_NAME }}/porymap.dmg
cp RELEASE-README.txt ${{ env.BUILD_NAME }}/README.txt
- name: Bundle Release Directory
if: startsWith(github.ref, 'refs/tags/')
run: zip -r ${{ env.BUILD_NAME }}.zip ${{ env.BUILD_NAME }}
- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: ${{ env.BUILD_NAME }}.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
build-static-windows:
if: false # Windows job is currently disabled; it's failing to find required modules in the Qt build
runs-on: windows-latest
env:
BUILD_NAME: porymap-windows
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4
- uses: dsaltares/fetch-gh-release-asset@master
if: steps.cache-static-qt.outputs.cache-hit != 'true'
with:
repo: 'huderlem/porymap'
version: 'tags/qt-static-6.9.0-windows'
file: 'Qt-Static-Windows-mingw-6.9.0.zip'
token: ${{ secrets.GITHUB_TOKEN }}
- name: Unzip Static Qt
if: steps.cache-static-qt.outputs.cache-hit != 'true'
run: powershell.exe -Command "Expand-Archive -Path Qt-Static-Windows-mingw-6.9.0.zip -DestinationPath ../Qt"
- uses: dsaltares/fetch-gh-release-asset@master
with:
repo: 'huderlem/porymap'
version: 'tags/qt-static-6.9.0-windows'
file: 'mingw1310_64.zip'
token: ${{ secrets.GITHUB_TOKEN }}
- name: Unzip mingw
run: powershell.exe -Command "Expand-Archive -Path mingw1310_64.zip -DestinationPath ../mingw1310_64"
- name: Add Qt Static to PATH
run: echo "$env:GITHUB_WORKSPACE/../Qt/6.9.0/bin" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8
- name: Add static config to .pro file
run: echo "CONFIG += qt static" >> porymap.pro
- name: Add static qmake flags to .pro file
run: echo "QMAKE_LFLAGS += -static-libgcc -static-libstdc++ -static -lwinpthread" >> porymap.pro
- name: Run Qmake
env:
QTDIR: ../Qt/6.9.0
QMAKESPEC: ${{ github.workspace }}/../Qt/6.9.0/mkspecs/win32-g++
run: |
dir $env:GITHUB_WORKSPACE/../Qt/6.9.0/mkspecs
qmake.exe -o Makefile porymap.pro "CONFIG+=qtquickcompiler"
- name: Add mingw to PATH
run: echo "$env:GITHUB_WORKSPACE/../mingw1310_64/bin" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8
- name: Compile
env:
QTDIR: ../Qt/6.9.0
run: mingw32-make.exe -j8
- name: Prep Release Directory
if: startsWith(github.ref, 'refs/tags/')
run: |
mkdir $BUILD_NAME
cp release/porymap.exe $BUILD_NAME/porymap.exe
cp RELEASE-README.txt $BUILD_NAME/README.txt
- name: Bundle Release Directory
if: startsWith(github.ref, 'refs/tags/')
run: powershell.exe -Command "Compress-Archive -Path $BUILD_NAME -DestinationPath $BUILD_NAME.zip"
- name: Create Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: $BUILD_NAME.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

19
.gitignore vendored
View File

@ -1,10 +1,19 @@
Makefile
porymap.pro.user
*.autosave
*.stash
*.o
moc_*
qrc_*
*.DS_Store
porymap.app*
Makefile
ui_mainwindow.h
ui_objectpropertiesframe.h
porymap
porymap.cfg
porymap.log
build/
venv/
# Qt generated files
ui_*.h
moc_*.h
moc_*.cpp
qrc_*.cpp
.qtc_clangd

739
CHANGELOG.md Normal file
View File

@ -0,0 +1,739 @@
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project somewhat adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). The MAJOR version number is bumped when there are **"Breaking Changes"** in the pret projects. For more on this, see [the manual page on breaking changes](https://huderlem.github.io/porymap/manual/breaking-changes.html).
## [Unreleased]
Nothing, yet.
## [6.3.0] - 2025-12-26
### Added
- Add option to sort Locations and Layouts lists by value, rather than alphabetically.
- Add color space settings for exported images.
- Add setting to disable the project loading screen.
### Changed
- Separate `File > Duplicate Current Map/Layout` into two options to allow duplicating the current layout when a map is open.
- The name field now receives focus immediately for the new map/layout dialogs.
- The middle mouse button can now be used to pan around the map views, rather than needing to select the Map Tool. This is a very convenient shortcut that matches popular image-editing programs.
- Previously, the middle mouse button could be used as a shortcut with the pencil tool to switch to bucket-fill mode. This is now achieved using the `Alt` key.
### Fixed
- Fix crash when a painted tile selection goes out of bounds of the metatile layer view in the Tileset Editor.
- Fix crash on older versions of Qt when reopening a project with certain windows open.
- Fix potential crash when painting and the cursor leaves the map area.
- Fix potential crash when changing maps with the Tileset Editor open.
- Fix rare crash while quitting Porymap.
- Fix `Edit > Clear Map Entries` in the Region Map Editor not saving the applied changes.
- Fix `Edit > Undo/Redo` appearing enabled even when they don't do anything.
- Fix `Help > Open Manual` being disabled when no project is open.
- Fix new tilesets potentially overwriting data in an existing directory.
- Fix exported images on macOS using a different color space than in Porymap.
- Fix some `INCBIN` statements not being parsed correctly.
- Fix excessive logging if Porymap fails to monitor all map files.
- Fix map connections getting cut off in exported map images if they're on the same side as another short map connection.
- Fix the project version check failing for some versions of `git`.
- Fix some error highlights persisting after the error is resolved.
- Fix the Layout/Tileset labels on the `Metatiles` panel disappearing if the panel is too narrow.
## [6.2.0] - 2025-08-08
### Added
- Add `View > Show Unused Colors` to the Palette Editor.
- Add `Tools > Find Color Usage` to the Palette Editor. This opens a dialog showing which metatiles use a particular color.
- Add `Edit > Swap Metatiles` to the Tileset Editor. While in this mode, selecting two metatiles in the selector will swap their positions. When changes to the tilesets are saved these relocations will be applied to all layouts that use the relevant tileset(s).
- Add `View > Layer Arrangement` to the Tileset Editor, which changes whether the metatile layer view is oriented vertically (default) or horizontally.
- Add an `Export Metatiles Image` option to the Tileset Editor that provides many more options for customizing metatile images.
- Add an `Export Porytiles Layer Images` option to the Tileset Editor, which is a shortcut for individually exporting layer images that Porytiles can use.
- Add an option under `Preferences` to include common scripts in the autocomplete for Script labels.
- Add a setting under `Project Settings` to change the width of the metatile selectors.
- Add versions of the API functions `[get|set]MetatileLayerOrder` and `[get|set]MetatileLayerOpacity` that work globally, rather than on individual layouts.
- A link to Porymap's manual is now available under `Help`.
### Changed
- The Player View Rectangle is now visible on the Events tab, as is the Cursor Tile Outline for certain tools.
- When hovering over tiles in the Tileset Editor their palette and x/yflip are now listed alongside the tile ID.
- The scroll position of the map view now remains the same between the Connections tab and the Map/Events tabs.
- The Move tool now behaves more like a traditional pan tool (with no momentum).
- The map image exporter now uses a checkered background to indicate transparency.
- Invalid tile IDs are now rendered as magenta (like invalid metatiles), instead of rendering the same as a transparent tile.
- While holding down `Ctrl` (`Cmd` on macOS) painting on the metatile layer view will now only change the tile's palette.
- Full menu paths are now listed for shortcuts in the Shortcuts Editor.
- Adding new event data to a map that has a `shared_events_map` will now remove the `shared_events_map`, rather than discard the event data.
### Fixed
- Fix crash when rendering tiles with invalid palette numbers.
- Fix crash when opening the Tileset Editor for tilesets with no metatiles.
- Fix crash when changing the map/border size in certain API callbacks.
- Fix metatile images exporting at 2x scale.
- Fix display errors when a project's metatile limits are not divisible by 8.
- Fix incorrect dividing line position for primary tiles images that are smaller than the maximum size.
- Fix the checkered background of the `Change Dimensions` popup shifting while scrolling around.
- Fix pasting Wild Pokémon data then changing maps resetting the pasted data.
- Fix click-drag map selections behaving unexpectedly when the cursor is outside the map grid.
- Fix events being dragged in negative coordinates lagging behind the cursor.
- Fix the shortcut for duplicating events working while on the Connections tab.
- Fix the Shortcuts Editor displaying the duplicate shortcut prompt repeatedly.
- Fix the clear text button on the left in each row of the Shortcuts Editor also clearing the shortcut on the right.
- Fix Undo/Redo ignoring the automatic resizing that occurs if a layout/border was an unexpected size.
- Fix Undo/Redo in the Tileset and Palette Editors and Paste in the Tileset Editor appearing enabled even when they don't do anything.
- Fix `Ctrl+Shift+Z` not being set as a default shortcut for Redo in the Palette Editor like it is for other windows.
- Fix the Tileset Editor's status bar not updating while selecting tiles in the metatile layer view, or when pasting metatiles.
- Fix the main window's status bar not immediately reflecting changes made while painting metatiles / movement permissions.
- Fix cleared metatile labels not updating until the project is reloaded.
- Fix some changes in the Tileset Editor being discarded if the window is closed too quickly.
- Fix the Region Map Editor incorrectly displaying whether a `MAPSEC` has region map data.
- Fix the Primary/Secondary Tileset selectors allowing invalid text, and considering a map unsaved if changed to invalid text then back again.
- Fix broken error message for the primary tileset on the new map/layout dialogs.
- Fix the dialog for duplicating/importing a map layout not allowing the tilesets to be changed.
- Fix warning not appearing when the log file exceeds maximum size.
- Fix possible lag while using the Tileset Editor's tile selector.
- Fix unnecessary resources being used to watch files.
- Fix possible crash on Linux if too many inotify instances are requested.
## [6.1.0] - 2025-06-09
### Added
- Add settings to change the application font and the map list font.
### Changed
- The scale of the map can now be changed while resizing the map.
### Fixed
- Fix duplicated maps writing the wrong name.
- Fix small maps being difficult to see while resizing.
- Fix the map border sometimes not updating to reflect changes.
- Fix expressions using the prefix '0X' as opposed to '0x' not being recognized has hex numbers.
- Fix certain characters not writing correctly to JSON files.
- Fix all `map.json` files being added to the file watcher at launch.
- Fix files sometimes being removed from the file watcher if they're deleted as part of a write.
- Fix `porymap.cfg` and `porymap.shortcuts.cfg` writing outside the `pret/porymap` folder.
## [6.0.0] - 2025-05-27
### Breaking Changes
- See [Breaking Changes](https://huderlem.github.io/porymap/manual/breaking-changes.html) in the manual.
### Added
- Redesigned the map list, adding new features including opening/editing layouts with no associated map, editing the names of map groups, rearranging maps and map groups, and hiding empty folders.
- Add a drop-down for changing the layout of the currently opened map.
- Add an option to duplicate maps/layouts.
- Redesigned the Connections tab, adding new features including the option to open or display diving maps and a list UI for easier edit access.
- Add a `Close Project` option
- Add a search button to the `Wild Pokémon` tab that shows the encounter data for a species across all maps.
- Add charts to the `Wild Pokémon` tab that show species and level distributions for the current map.
- Add options for customizing the map grid under `View -> Grid Settings`.
- Add an option to display Event sprites while editing the map.
- Add an option to display a dividing line between tilesets in the Tileset Editor.
- Add an input field to the Tileset Editor for editing the full metatile attributes value directly, including unused bits.
- An alert will be displayed when attempting to open a seemingly invalid project.
- Add support for defining project values with `enum` where `#define` was expected.
- Add support for referring to object events and warps with named IDs, rather than referring to them with their index number.
- Add a setting to specify the tile values to use for the unused metatile layer.
- Add a setting to specify the maximum number of events in a group. A warning will be shown if too many events are added.
- Add a setting to customize the size and position of the player view distance.
- Add `onLayoutOpened` to the scripting API.
- Add a splash loading screen for project openings.
- Add Back/Forward buttons for navigating to previous maps or layouts.
### Changed
- `Change Dimensions` now has an interactive resizing rectangle.
- Redesigned the new map dialog, including better error checking and a collapsible section for header data.
- New maps/layouts are no longer saved automatically, and can be fully discarded by closing without saving.
- Map groups and ``MAPSEC`` names specified when creating a new map will be added automatically if they don't already exist.
- Custom fields in JSON files that Porymap writes are no longer discarded.
- Edits to map connections now have Undo/Redo and can be viewed in exported timelapses.
- Changes to the "Mirror to Connecting Maps" setting will now be saved between sessions.
- A notice will be displayed when attempting to open the "Dynamic" map, rather than nothing happening.
- The base game version is now auto-detected if the project name contains only one of "emerald", "firered/leafgreen", or "ruby/sapphire".
- It's now possible to cancel quitting if there are unsaved changes in sub-windows.
- The triple-layer metatiles setting can now be set automatically using a project constant.
- `Export Map Stitch Image` and `Export Map Timelapse Image` now show a preview of the full image/gif, not just the current map.
- `Custom Attributes` tables now display numbers using spin boxes. The `type` column was removed, because `value`'s type is now obvious.
- Unrecognized map names in Event or Connections data will no longer be overwritten.
- It's now possible to click on an event's sprite even if a different event's rectangle is overlapping it. The old selection behavior is available via a new setting.
- Reduced diff noise when saving maps.
- Map names and ``MAP_NAME`` constants are no longer required to match.
- Porymap will no longer overwrite ``include/constants/map_groups.h`` or ``include/constants/layouts.h``.
- Primary/secondary metatile images are now kept on separate rows, rather than blending together if the primary size is not divisible by 8.
- The prompt to reload the project when a file has changed will now only appear when Porymap is the active application.
- `Script` dropdowns now autocomplete only with scripts from the current map, rather than every script in the project. The old behavior is available via a new setting.
- `Script` dropdowns now update automatically if the current map's scripts file is edited.
- The options for `Encounter Type` and `Terrain Type` in the Tileset Editor are not hardcoded anymore, they're now read from the project.
- The `symbol_wild_encounters` setting was replaced; this value is now read from the project.
- The max encounter rate is now read from the project, rather than assuming the default value from RSE.
- `MAP_OFFSET_W` and `MAP_OFFSET_H` (used to limit the maximum map size) are now read from the project.
- The rendered area of the map border is now limited to the maximum player view distance (prior to this it included two extra rows on the top and bottom).
- Right-clicking on the border metatiles image will now select that metatile.
- An error message will now be shown when Porymap is unable to save changes (e.g. if Porymap doesn't have write permissions for your project).
- Error and warning logs are now displayed in the status bar. This can be changed with a new setting.
- A project may now be opened even if it has no maps or map groups. A minimum of one map layout is required.
- The file extensions that are expected for `.png` and `.pal` data files and the extensions outputted when creating a new tileset can now be customized.
- Miscellaneous performance improvements, especially for opening projects.
### Fixed
- Fix `Add Region Map...` not updating the region map settings file.
- Fix some crashes on invalid region map tilesets.
- Improve error reporting for invalid region map editor settings.
- Fix the region map editor's palette resetting between region maps.
- Fix the region map editor's h-flip and v-flip settings being swapped.
- Fix config files being written before the project is opened successfully.
- Fix the map and other project info still displaying if a new project fails to open.
- Fix unsaved changes being ignored when quitting (such as with Cmd+Q on macOS).
- Fix selections with multiple events not always clearing when making a new selection.
- Fix the new event button not updating correctly when selecting object events.
- Fix duplicated `Hidden Item` events not copying the `Requires Itemfinder` field.
- Fix event sprites disappearing in certain areas outside the map boundaries.
- Fix deselecting an event still allowing you to drag the event around.
- Fix events rendering on top of the ruler at very high y values.
- Fix new map names not appearing in event dropdowns that have already been populated.
- Fix `About porymap` opening a new window each time it's activated.
- Fix the `Edit History` window not raising to the front when reactivated.
- New maps are now always inserted in map dropdowns at the correct position, rather than at the bottom of the list until the project is reloaded.
- Fix species on the wild pokémon tab retaining icons from previously-opened projects.
- Fix invalid species names clearing from wild pokémon data when revisited.
- Fix editing wild pokémon data not marking the map as unsaved.
- Fix editing an event's `Custom Attributes` not marking the map as unsaved.
- Fix changes to map connections not marking connected maps as unsaved.
- Fix numerous issues related to connecting a map to itself.
- Fix incorrect map connections getting selected when opening a map by double-clicking a map connection.
- Fix a visual issue when quickly dragging map connections around.
- Fix map connections rendering incorrectly if their direction name was unknown.
- Fix map connections rendering incorrectly if their dimensions were smaller than the border draw distance.
- Fix metatile/collision selection images skewing off-center after opening a map from the Connections tab.
- Fix the map list filter retaining text between project open/close.
- Fix the map list mishandling value gaps when sorting by Area.
- Fix a freeze on startup if project values are defined with mismatched parentheses.
- Fix stitched map images sometimes rendering garbage
- Fix the `Reset` button on `Export Map Timelapse Image` not resetting the Timelapse settings.
- Fix events in exported map stitch images being occluded by neighboring maps.
- Fix the map connections in exported map images coming from the map currently open in the editor, rather than the map shown in the export window.
- Fix crash when exporting a map stitch image if a map fails to load.
- Fix possible crash when exporting a timelapse that has events edit history.
- Fix exported timelapses excluding pasted events and certain map size changes.
- Fix exporting a timelapse sometimes altering the state of the current map's edit history.
- Stop sliders in the Palette Editor from creating a bunch of edit history when used.
- Fix scrolling on some containers locking up when the mouse stops over a spin box or combo box.
- Fix the selection index for some combo boxes differing from their displayed text.
- Fix some file dialogs returning to an incorrect window when closed.
- Fix bug where reloading a layout would overwrite all unsaved changes.
- Fix bug where layout json and blockdata could be saved separately leading to inconsistent data.
- Fix crash when saving tilesets with fewer palettes than the maximum.
- Fix projects not opening on Windows if the project filepath contains certain characters.
- Fix custom project filepaths not converting Windows file separators.
- Fix exported tile images containing garbage pixels after the end of the tiles.
- Fix fully transparent pixels rendering with the incorrect color.
- Fix the values for some config fields shuffling their order every save.
- Fix `key`s in `Custom Attributes` disappearing if given an empty name or the name of an existing field.
- Fix some problems with tileset detection when importing maps from AdvanceMap.
- Fix certain input fields allowing invalid identifiers, like names starting with numbers.
- Fix crash in the Shortcuts Editor when applying changes after closing certain windows.
- Fix the Shortcuts Editor clearing shortcuts after selecting them.
- Fix `Display Metatile Usage Counts` sometimes changing the counts after repeated use.
- The Metatile / Tile usage counts in the Tileset Editor now update to reflect changes.
- Fix regression that stopped the map zoom from centering on the cursor.
- Fix `Open Map Scripts` not working on maps with a `shared_scripts_map` field.
- Fix the main window sometimes exceeding the screen size on first launch.
- Fix right-click selections with the eyedropper clearing when the mouse is released.
- Fix overworld sprite facing directions if spritesheet is arranged in multiple rows.
## [5.4.1] - 2024-03-21
### Fixed
- Fix object event sprites not loading for some struct data formats.
## [5.4.0] - 2024-02-13
### Added
- Add a `Check for Updates` option to show new releases (Windows and macOS only).
### Changed
- If Wild Encounters fail to load they are now only disabled for that session, and the settings remain unchanged.
- Defaults are used if project constants are missing, rather than failing to open the project or changing settings.
- Selector images now center on the selection when eyedropping or zooming.
### Fixed
- Fix some minor visual issues with the various zoom sliders.
- Smooth out scrolling when mouse is over tile/metatile images.
- Fix the Tileset Editor selectors getting extra white space when changing tilesets.
- Fix a crash when adding disabled events with the Pencil tool.
- Fix error log about failing to find the scripts file when a new map is created.
## [5.3.0] - 2024-01-15
### Added
- Add zoom sliders to the Tileset Editor.
- Add `getMetatileBehaviorName` and `setMetatileBehaviorName` to the API.
- Add `metatile_behaviors`, `num_primary_palettes`, and `num_secondary_palettes` to `constants` in the API.
### Changed
- Metatile ID strings are now padded to their current max, not the overall max.
- Non-existent directories are now removed from the Open Recent Project menu.
- Hovering on the layer view in the Tileset Editor now displays the tile ID.
- Labels in the Script dropdown are now sorted alphabetically.
- The name of the Heal Locations table is no longer enforced.
- The API functions `addImage` and `createImage` now support project-relative paths.
### Fixed
- Fix the metatile selector rectangle jumping when selecting up or left of the origin.
- Fix the event group tabs sometimes showing an event from the wrong group.
- Fix the clear buttons in the Shortcuts Editor not actually removing shortcuts.
- Fix slow speed for the script label autcomplete.
- Fix deleted script labels still appearing in the autocomplete after project reload.
- Fix the map search bar stealing focus on startup.
- Fix border metatiles view not resizing properly.
- Fix Open Recent Project not clearing the API overlay
- Fix API error reporting.
## [5.2.0] - 2024-01-02
### Added
- Add an editor window under `Options -> Project Settings...` to customize the project-specific settings in `porymap.project.cfg` and `porymap.user.cfg`.
- Add an editor window under `Options -> Custom Scripts...` for Porymap's API scripts.
- Add an `Open Recent Project` menu
- Add a warning to warp events if they're on an incompatible metatile behavior.
- Add settings for custom images, including the collision graphics, default event icons, and pokémon icons.
- Add settings to override any symbol or macro names Porymap expects to find.
- Add a zoom slider to the Collision tab.
- Add toggleable grids to the Tileset Editor.
- Support for custom metatile ID, collision, and elevation data sizes.
- Support for 8bpp tileset tile images.
### Changed
- `Script` dropdowns now include scripts from the current map's scripts file.
- Encounter Rate now defaults to the most commonly used value, rather than 0.
- The Collision tab now allows selection of any valid elevation/collision value.
- The Palette Editor now remembers the Bit Depth setting.
- The min/max levels on the Wild Pokémon tab will now adjust automatically if they invalidate each other.
- If the recent project directory doesn't exist Porymap will open an empty project instead of failing with a misleading error message.
- Settings under `Options` were relocated either to the `Preferences` window or `Options -> Project Settings`.
- Secret Base and Weather Trigger events are automatically disabled if their respective constants files fail to parse, instead of not opening the project.
- If a Pokémon icon fails to load Porymap will attempt to predict its filepath. If this also fails it will appear with a placeholder icon, and won't disappear when edited.
- The bits in metatile attribute masks are now allowed to be non-contiguous.
- Porymap will now attempt to read metatile attribute masks from the project.
### Fixed
- Fix text boxes in the Palette Editor calculating color incorrectly.
- Fix metatile labels being sorted incorrectly for tileset names with multiple underscores.
- Fix default object sprites retaining dimensions and transparency of the previous sprite.
- Fix connections not being deleted when the map name text box is cleared.
- Fix the map border not updating when a tileset is changed.
- Improve the poor speed of the API functions `setMetatileTile` and `setMetatileTiles`.
- Stop the Tileset Editor from scrolling to the initially selected metatile when saving.
- Fix `0x0`/`NULL` appearing more than once in the scripts dropdown.
- Fix the selection outline sticking in single-tile mode on the Prefab tab.
- Fix heal location data being cleared if certain spaces aren't used in the table.
- Fix bad URL color contrast on dark themes.
- Fix some issues when too few/many pokémon are specified for a wild encounter group.
- Fix Porymap reporting errors for macros it doesn't use.
- Fix painting on the Collision tab with the opacity slider at 0 painting metatiles.
- Fix crashes when File->Reload Project fails.
- Fix overworld sprite facing directions if spritesheet has vertical layout.
- Stop reporting `Error: Interrupted` for custom scripts during project reopen
## [5.1.1] - 2023-02-20
### Added
- Add `registerToggleAction` to the scripting API
### Changed
- Change encounter tab copy and paste behavior.
- A warning will appear if a custom script fails to load or an action fails to run.
### Fixed
- Fix null characters being unpredictably written to some JSON files.
- Fix tilesets that share part of their name loading incorrectly.
- Fix events being hidden behind connecting maps.
- Metatile labels with values defined outside their tileset are no longer deleted.
- Fix the Tileset Editor retaining edit history after changing tilesets.
- Fix some minor visual issues on the Connections tab.
- Fix bug which caused encounter configurator to crash if slots in fields containing groups were deleted.
- Fix bug which caused encounter configurator to crash if last field was deleted.
- Fix map render when collision view was active while map changed.
- Fix the updated pokefirered region map graphics appearing in grayscale.
- Fix the API function `registerAction` not correctly handling actions with the same name.
## [5.1.0] - 2023-01-22
### Added
- Add new config options for reorganizing metatile attributes.
- Add `setScale` to the scripting API.
- Add option to turn off the checkerboard fill for new tilesets.
- Add option to copy wild encounters from another encounters tab.
### Changed
- Double-clicking on a connecting map on the Map or Events tabs will now open that map.
- Hovering on border metatiles with the mouse will now display their information in the bottom bar.
- The last-used directory is now preserved in import/export file dialogs.
- Encounter editing has been slightly modified in favor of a more performant ui.
- Pokémon icons in the encounter editor have their transparency set.
### Fixed
- Fix the Region Map Editor being opened by the Shortcuts Editor.
- Fix New Map settings being preserved when switching projects.
- Fix scripting API callback `onMapResized` not triggering.
- Fix crash when importing AdvanceMap metatiles while `enable_triple_layer_metatiles` is enabled.
- Fix `File -> Open Project` not resolving folder shortcuts.
- Fix bug where "Requires Itemfinder" checkbox is being checked by wrong data.
- Fix the map border not immediately reflecting Tileset Editor changes.
- Fix pasting metatiles in the Tileset Editor not triggering the unsaved changes warning.
## [5.0.0] - 2022-10-30
### Breaking Changes
- Proper support for pokefirered's clone objects was added, which requires the changes made in [pokefirered/#484](https://github.com/pret/pokefirered/pull/484).
- Warp IDs are now treated as strings, which requires the change to `mapjson` made in [pokeemerald/#1755](https://github.com/pret/pokeemerald/pull/1755). Additionally `MAP_NONE` was renamed to `MAP_DYNAMIC`. Both changes also apply to pokefirered and pokeruby.
- Overhauled the region map editor, adding support for tilemaps, and significant customization. Also now supports pokefirered. Requires the changes made in [pokeemerald/#1651](https://github.com/pret/pokeemerald/pull/1651), [pokefirered/#500](https://github.com/pret/pokefirered/pull/500), or [pokeruby/#842](https://github.com/pret/pokeruby/pull/842).
- Many API functions which were previously accessible via the `map` object are now accessible via one of the new objects `overlay`, `utility`, or `constants`. Some functions were renamed accordingly. See [porymap/#460](https://github.com/huderlem/porymap/pull/460) for a full list of API function name changes.
- Arguments for the API function `createImage` have changed: `xflip` and `yflip` have been replaced with `hScale` and `vScale`, and `offset` has been replaced with `xOffset` and `yOffset`.
- The API function `addFilledRect` has been removed; it's been replaced by new arguments in `addRect`: `color` has been replaced with `borderColor` and `fillColor`, and a new `rounding` argument allows ellipses to be drawn.
### Added
- Add prefab support
- Add Cut/Copy/Paste for metatiles in the Tileset Editor.
- Add button to copy the full metatile label to the clipboard in the Tileset Editor.
- Add ability to export an image of the primary or secondary tileset's metatiles.
- Add new config options for customizing how new maps are filled, setting default tilesets, and whether the most recent project should be opened on launch.
- Add color picker to palette editor for taking colors from the screen.
- Add new features to the scripting API, including the ability to display messages and user input windows, set the overlay's opacity, rotation, scale, and clipping, interact with map header properties and the map border, read tile pixel data, and more.
### Changed
- Previous settings will be remembered in the New Map Options window.
- The Custom Attributes table for map headers and events now supports types other than strings.
- If an object event is inanimate, it will always render using its first frame.
- Unused metatile attribute bits are preserved instead of being cleared.
- The wild encounter editor is automatically disabled if the encounter JSON data cannot be read
- Metatiles are always rendered accurately with 3 layers, and the unused layer is not assumed to be transparent.
- `object_event_graphics_info.h` can now be parsed correctly if it uses structs with attributes.
- Tileset data in `headers`, `graphics`, and `metatiles` can now be parsed if written in C.
- The amount of time it takes to render the event panel has been reduced, which is most noticeable when selecting multiple events at once.
- The selection is no longer reset when pasting events. The newly pasted events are selected instead.
- The currently selected event for each event group will persist between tabs.
- An object event's sprite will now render if a number is specified instead of a graphics constant.
- Palette editor ui is updated a bit to allow hex and rgb value input.
- Heal location constants will no longer be deleted if they're not used in the data tables.
- The heal location prefixes `SPAWN_` and `HEAL_LOCATION_` may now be used interchangeably.
- The number and order of entries in the heal location data tables can now be changed arbitrarily, and independently of each other.
- The metatile behavior is now displayed in the bottom bar mouseover text.
- Number values are now allowed in the Tileset Editor's Metatile Behavior field.
- Removed some unnecessary error logs from the scripting API and added new useful ones.
- If any JSON data is the incorrect type Porymap will now attempt to convert it.
### Fixed
- Fix events losing their assigned script when the script autocomplete is used.
- Fix the unsaved changes indicator not disappearing when saving changes to events.
- Fix copy and paste for events not including their custom attributes.
- Fix cursor tile outline not updating at the end of a dragged selection.
- Fix cursor tile and player view outlines exiting map bounds while painting.
- Fix cursor tile and player view outlines not updating immediately when toggled in Collision view.
- Fix selected space not updating while painting in Collision view.
- Fix collision values of 2 or 3 not rendering properly.
- Fix the map tree view arrows not displaying for custom themes.
- Fix the map music dropdown being empty when importing a map from Advance Map.
- Fix object events added by pasting ignoring the map event limit.
- Fix a bug where saving the tileset editor would reselect the main editor's first selected metatile.
- Fix crashes / unexpected behavior if certain scripting API functions are given invalid palette or tile numbers.
- Fix drawing large amounts of text with the scripting API causing a significant drop in performance.
- Silence unnecessary error logging when parsing C defines Porymap doesn't use.
- Fix some windows like the Tileset Editor not raising to the front when reactivated.
- Fix incorrect limits on Floor Number and Border Width/Height in the New Map Options window.
- Fix Border Width/Height being set to 0 when creating a new map from an existing layout.
- Fix certain UI elements not highlighting red on some platforms.
- Fix Open Config Folder not responding
- Properly update the minimum offset for a connection when the map is changed.
## [4.5.0] - 2021-12-26
### Added
- WSL project paths are now supported. (For example, \wsl$\Ubuntu-20.04\home\huderlem\pokeemerald)
- Add ability to export map timelapse animated GIFs with `File -> Export Map Timelapse Image...`.
- Add tool to count the times each metatile or tile is used in the tileset editor.
- Events, current metatile selections, and map images can now be copied and pasted, including between windows.
- The grid and map border visibility are now saved as config options.
- Add ~60 new scripting API functions, including new features like reading/writing metatile data, layering, moving, and hiding items in the overlay, creating modified images and tile/metatile images, reading tileset sizes, logging warnings and errors, and more.
- Add 7 new scripting API callbacks.
- Porymap is now compatible with Qt6.
### Changed
- New events will be placed in the center of the current view of the map.
- Scripting API errors are more detailed and logged in more situations.
- Add new optional arguments to 5 existing API functions.
- Top-level UI elements now render above the scripting overlay.
- The onBlockChanged script callback is now called for blocks changed by Undo/Redo.
### Fixed
- Fix % operator in C defines not being evaluated
- Fix tileset palette editor crash that could occur when switching maps or tilesets with it open.
- The metatile selection is no longer reset if it becomes invalid by changing the tileset. Invalid metatiles in the selection will be temporarily replaced with metatile 0.
- Loading wild encounters will now properly preserve the original order, so saving the file will not give huge diffs.
- Fix bug where the tile selection cursor could be toggld on in the Events tab.
## [4.4.0] - 2020-12-20
### Added
- Add undoable edit history for Events tab.
- Add keyboard shortcut for `DEL` key to delete the currently selected event(s).
- Disable ui while there is no open project to prevent crashing.
- Add "Straight Paths" feature for drawing straight lines while holding `Ctrl`.
- The New Map dialog now gives an option to specify the "Show Location Name" field.
- Some new shortcuts were added in [porymap/#290](https://github.com/huderlem/porymap/pull/290).
- All plain text boxes now have a clear button to delete the text.
- The window sizes and positions of the tileset editor, palette editor, and region map editor are now stored in `porymap.cfg`.
- Add ruler tool for measuring metatile distance in events tab (Right-click to turn on/off, left-click to lock in place).
- Add delete button to wild pokemon encounters tab.
- Add shortcut customization via `Options -> Edit Shortcuts`.
- Add custom text editor commands in `Options -> Edit Preferences`, a tool-button next to the `Script` combo-box, and `Tools -> Open Project in Text Editor`. The tool-button will open the containing file to the cooresponding script.
### Changed
- Holding `shift` now toggles "Smart Path" drawing; when the "Smart Paths" checkbox is checked, holding `shift` will temporarily disable it.
### Fixed
- Fix a bug with the current metatile selection zoom.
- Fix bug preventing the status bar from updating the current position while dragging events.
- Fix porymap icon not showing on window or panel on Linux.
- The main window can now be resized to fit on lower resolution displays.
- Zooming the map in/out will now focus on the cursor.
- Fix bug where object event sprites whose name contained a 0 character would display the placeholder "N" picture.
## [4.3.1] - 2020-07-17
### Added
- Add keyboard shortcut `Ctrl + D` for duplicating map events.
- Add keyboard shortcut `Ctrl + Shift + Z` for "redo" in the tileset editor.
- Add scripting api to reorder metatile layers and draw them with opacity.
### Changed
- The tileset editor now syncs its metatile selection with the map's metatile selector.
- The number of object events per map is now limited to OBJECT_EVENT_TEMPLATES_COUNT
- The tileset editor can now flip selections that were taken from an existing metatile.
### Fixed
- Fix bug where editing a metatile layer would have no effect.
- Fix a crash that occured when creating a new tileset using triple layer mode.
- Fix crash when reducing number of metatiles past current selection.
- Fix various methods of selecting invalid metatiles.
- Fix sprite transparency not updating when changing object event graphics.
- Fix dropdown menu item selection when using the arrow keys.
## [4.3.0] - 2020-06-27
### Added
- Add triple-layer metatiles support.
### Changed
- The "Open Scripts" button will fall back to `scripts.inc` if `scripts.pory` doesn't exist.
### Fixed
- Fix bug where exported tileset images could be horizontally or vertically flipped.
- Fix bug where the map list wasn't filtered properly after switching filter types.
- Don't zoom in map when mouse middle button is pressed.
## [4.2.0] - 2020-06-06
### Added
- Add more project-specific configs to better support porting features from different projects.
- Add metatile label names to the status bar when hovering over metatiles in the map editor tab.
- Add mouse coordinates to the status bar when hovering in the events tab.
### Changed
- `metatile_labels.h` is now watched for changes.
### Fixed
- Reduce time it takes to load maps and save in the tileset editor.
- Fix crash that could occur when parsing unknown symbols when evaluating `define` expressions.
## [4.1.0] - 2020-05-18
### Added
- Add scripting capabilities, which allows the user to add custom behavior to Porymap using JavaScript scripts.
- Add ability to import FRLG tileset .bvd files from Advance Map 1.92.
### Changed
- Edit modes are no longer shared between the Map and Events tabs. Pencil is default for Map tab, and Pointer is default for Events tab.
### Fixed
- Disallow drawing new heal locations in the events tab.
- Fix issue where the metatile selection window was not resizable.
- Show warning when closing project with unsaved wild Pokémon changes.
- Fix bug where negative object event coordinates were saved as "0".
- Fix maximum map dimension limits.
- Fix crash when using the Pencil tool to create an event on a map with no existing events.
## [4.0.0] - 2020-04-28
### Breaking Changes
- If you are using pokeemerald or pokeruby, there were changes made in [pokeemerald/#1010](https://github.com/pret/pokeemerald/pull/1010) and [pokeruby/#776](https://github.com/pret/pokeruby/pull/776) that you will need to integrate in order to use this version of porymap.
### Added
- Support for [pokefirered](https://github.com/pret/pokefirered). Kanto fans rejoice! At long last porymap supports the FRLG decompilation project.
- Add ability to export map stitches with `File -> Export Map Stitch Image...`.
- Add new project config option `use_custom_border_size`.
- Add ability to toggle project settings in `Options` menu.
- Add file monitoring, so Porymap will prompt the user to reload the project if certain project files are modified outside of Porymap.
- Add ability to reload project.
- Add `Pencil`, `Move`, and `Map Shift` tools to the Events tab.
### Changed
- Porymap now saves map and encounter json data in an order consistent with the upstream repos. This will provide more comprehensible diffs when files are saved.
- Update Porymap icon.
- The "Map" and "Events" tabs now render using the same view, so jumping between them is smooth.
- Extend connection min and max offsets to player's view boundary, rather than the map's boundary.
### Fixed
- Fix bug where pressing TAB key did not navigate through widgets in the wild encounter tables.
- Fix bug that allowed selecting an invalid metatile in the metatile selector.
- Don't allow `.` or `-` characters in new tileset names.
- Fix regression that prevented selecting empty region map squares
## [3.0.1] - 2020-03-04
### Fixed
- Fix bug on Mac where tileset images were corrupted when saving.
## [3.0.0] - 2020-03-04
### Breaking Changes
- pokeemerald and pokeruby both underwent a naming consistency update with respect to "object events". As such, these naming changes break old versions of Porymap.
- pokeemerald object event PR: https://github.com/pret/pokeemerald/pull/910
- pokeruby object event PR: https://github.com/pret/pokeruby/pull/768
### Added
- Add optional support for Poryscript script files via the `use_poryscript` config option.
- Selecting a group of metatiles from the map area now also copies the collision properties, too.
- Add keyboard shortcut `Ctrl + G` for toggling the map grid.
### Changed
- Draw map connections with the current map's tilesets to more accurately mimic their appearance in-game.
### Fixed
- Fix index-out-of-bounds crash when deleting the last event in an event type group.
- Fix bug where exporting tileset images could add an extra row of junk at the end.
- Fix crashes when encountering an error opening a project or map.
- Fix bug where comboboxes and wild pokemon data could grow large when opening projects multiple times during the same porymap session.
- Fix bug where dragging the metatile selector would visually extend beyond map boundary.
## [2.0.0] - 2019-10-16
### Breaking Changes
- Accomodate event object graphics pointer table being explicitly indexed. From changes introduced in commits [cdae0c1444bed98e652c87dc3e3edcecacfef8be](https://github.com/pret/pokeemerald/commit/cdae0c1444bed98e652c87dc3e3edcecacfef8be) and [0e8ccfc4fd3544001f4c25fafd401f7558bdefba](https://github.com/pret/pokeruby/commit/0e8ccfc4fd3544001f4c25fafd401f7558bdefba).
- New "field" key in wild encounter JSON data from pokeemerald and pokeruby commits [adb0a444577b59eb02788c782a3d04bc285be0ba](https://github.com/pret/pokeemerald/commit/adb0a444577b59eb02788c782a3d04bc285be0ba) and [c73de8bed752ca538d90cfc93c4a9e8c7965f8c9](https://github.com/pret/pokeruby/commit/c73de8bed752ca538d90cfc93c4a9e8c7965f8c9).
### Added
- Add wild encounter table editor.
- Add dark themes.
- Support metatile labels file introduced in pokeruby and pokeemerald commits [ad365a35c1536740cbcbc10bee66e5dd908c39e7](https://github.com/pret/pokeruby/commit/ad365a35c1536740cbcbc10bee66e5dd908c39e7) and [c68ba9f4e8e260f2e3389eccd15f6ee5f4bdcd3e](https://github.com/pret/pokeemerald/commit/c68ba9f4e8e260f2e3389eccd15f6ee5f4bdcd3e).
- Add warning when closing porymap with unsaved changes.
### Changed
- Exporting map images is now more configurable. Events, connections, collision, etc. can be toggled on and off before exporting the image.
- The entire Tileset Editor selection is now conveniently flipped when selecting x-flip or y-flip.
- Autocomplete for porymap's comboboxes no longer require typing the full string prefix.
### Fixed
- Fix bug where map group names were hardcoded when creating a new map.
- Fix bug in Tileset Editor where multi-tile selections weren't properly painted when clicking on the bottom row of the metatile layers.
- Fix bug where line breaks in C headers were not parsed properly.
- Fix bug when exporting tileset images using palettes with duplicate colors.
- Fix bug where creating new maps from existing layouts created an empty layout folder.
- Fix bug where exported tile images did not contain the last row of tiles.
## [1.2.2] - 2019-05-16
### Added
- Add region map editor
- Add ability to add new tilesets
- Add official Porymap documentation website: https://huderlem.github.io/porymap/
### Changed
- Event sprites now display as facing the direction of their movement type.
- Default values for newly-created events now use valid values from the project, rather than hardcoded values.
- Deleting events will stay in the same events tab for easier bulk deletions.
- Double-clicking on a secret base event will open the corresponding secret base map.
- Selected events are now rendered above other events.
- Default values for new events are now more sensible and guaranteed to be valid.
### Fixed
- Fix bug in zoomed metatile selector where a large selection rectangle was being rendered.
- Fix bug where edited map icons were not rendered properly.
- Fix bug where right-click copying a tile from the tileset editor's metatile layers wouldn't copy the x/y flip status.
- Parsing project data is now more resilient to crashing, and it reports more informative errors.
## [1.2.1] - 2019-02-16
### Added
- Add ability to zoom in and out the map metatile selector via a slider at the bottom of the metatile selector window.
### Fixed
- Fix crash when creating a new map from a layout that has no pre-existing maps that use it.
- Fix bug where `var_value`, `trainer_type` and `trainer_sight_or_berry_tree_id` JSON fields were being interpreted as integers.
## [1.2.0] - 2019-02-04
### Breaking Changes
- New JSON map data format in pokeemerald and pokeruby from commits [82abc164dc9f6a74fdf0c535cc1621b7ed05318b](https://github.com/pret/pokeemerald/commit/82abc164dc9f6a74fdf0c535cc1621b7ed05318b) and [a0ba1b7c6353f7e4f3066025514c05b323a0123d](https://github.com/pret/pokeruby/commit/a0ba1b7c6353f7e4f3066025514c05b323a0123d).
### Added
- Add "magic fill" mode to fill tool (hold down CTRL key). This fills all matching metatiles on the map, rather than only the contiguous region.
- Add ability to import tileset palettes (JASC, .pal, .tpl, .gpl, .act).
- Add ability to export tileset tiles as indexed .png images. The currently-selected palette is used.
- Restore window sizes the next time the application is opened.
- Add ability to import metatiles from Advance Map 1.92 (.bvd files).
- Add About window that contains porymap information and changelog. (Found in file menu `Help > About Porymap`)
- Add option to show player's in-game view when hovering the mouse on the map.
- Add option to show an outline around the currently-hovered map tile. Its size depends on the size of the current metatile selection.
- Add ability to define custom fields for map header and all events.
### Changed
- Collapse the map list by default.
- Collision view now has a transparency slider to help make it easier to view the underlying metatiles.
- When importing tileset tiles from an image that is not indexed, the user can also provide a palette for the image. This is for the scenario where the user exports tiles and a palette from Advance Map.
- When creating a new map, the user specifies all of the map properties in a new window prompt.
- New maps can be created using existing layouts by right-clicking on an existing layout folder in the map list panel when sorted by "Layout".
- The map list panel now has "expand-all" and "collapse-all" buttons.
- Events without sprites are now partially transparent so the underlying metatile can be seen. (Warps, signs, etc.)
- Changed the Trainer checkbox to a combobox, since there are actually 3 valid values for the trainer type.
- Multiline comments are now respected when parsing C defines.
- The tiles image in the tileset editor will no longer flip according to the x/y flip checkboxes. The individual tile selection still flips, though.
### Fixed
- Fix bug where smart paths could be auto-enabled, despite the checkbox being disabled.
- Fix crash that could occur when changing the palette id in the tileset palette editor.
- Fix crash that could occur when shrinking the number of metatiles in a tileset.
- Fix bug where exported tile images from Advance Map were not handled correctly due to Advance Map using incorrect file extensions.
## [1.1.0] - 2018-12-27
### Breaking Changes
- New map header format in pokeemerald from commit [a1ea3b5e394bc115ba9b86348c161094a00dcca7](https://github.com/pret/pokeemerald/commit/a1ea3b5e394bc115ba9b86348c161094a00dcca7).
### Added
- Add `porymap.project.cfg` config file to project repos, in order to house project-specific settings, such as `base_game_version=pokeemerald`.
- Write all logs to `porymap.log` file, so users can view any errors that porymap hits.
- Changelog
### Changed
- Add `porymap.cfg` base config file, rather than using built-in system settings (e.g. registry on Windows).
- Properly read/write map headers for `pokeemerald`.
- Overhauled event editing pane, which now contains tabs for each different event. Events of the same type can be iterated through using the spinner at the top of the tab. This makes it possible to edit events that are outside the viewing window.
### Fixed
- Creating new hidden-item events now uses a valid default flag value.
- Fix bug where tilesets were sometimes not displaying their bottom row of metatiles.
- Fix bug where porymap crashes on startup due to missing map headers.
- Fix tileset editor crash that only happened on macOS.
- Fix minor bug when parsing C defines.
- Write `MAP_GROUPS_COUNT` define to `maps.h`.
- Fix bug where opening multiple projects and saving would cause junk to be written to `layouts_table.inc`.
- Fix porymap icon on macOS.
## [1.0.0] - 2018-10-26
This was the initial release.
[Unreleased]: https://github.com/huderlem/porymap/compare/6.3.0...HEAD
[6.3.0]: https://github.com/huderlem/porymap/compare/6.2.0...6.3.0
[6.2.0]: https://github.com/huderlem/porymap/compare/6.1.0...6.2.0
[6.1.0]: https://github.com/huderlem/porymap/compare/6.0.0...6.1.0
[6.0.0]: https://github.com/huderlem/porymap/compare/5.4.1...6.0.0
[5.4.1]: https://github.com/huderlem/porymap/compare/5.4.0...5.4.1
[5.4.0]: https://github.com/huderlem/porymap/compare/5.3.0...5.4.0
[5.3.0]: https://github.com/huderlem/porymap/compare/5.2.0...5.3.0
[5.2.0]: https://github.com/huderlem/porymap/compare/5.1.1...5.2.0
[5.1.1]: https://github.com/huderlem/porymap/compare/5.1.0...5.1.1
[5.1.0]: https://github.com/huderlem/porymap/compare/5.0.0...5.1.0
[5.0.0]: https://github.com/huderlem/porymap/compare/4.5.0...5.0.0
[4.5.0]: https://github.com/huderlem/porymap/compare/4.4.0...4.5.0
[4.4.0]: https://github.com/huderlem/porymap/compare/4.3.1...4.4.0
[4.3.1]: https://github.com/huderlem/porymap/compare/4.3.0...4.3.1
[4.3.0]: https://github.com/huderlem/porymap/compare/4.2.0...4.3.0
[4.2.0]: https://github.com/huderlem/porymap/compare/4.1.0...4.2.0
[4.1.0]: https://github.com/huderlem/porymap/compare/4.0.0...4.1.0
[4.0.0]: https://github.com/huderlem/porymap/compare/3.0.1...4.0.0
[3.0.1]: https://github.com/huderlem/porymap/compare/3.0.0...3.0.1
[3.0.0]: https://github.com/huderlem/porymap/compare/2.0.0...3.0.0
[2.0.0]: https://github.com/huderlem/porymap/compare/1.2.2...2.0.0
[1.2.2]: https://github.com/huderlem/porymap/compare/1.2.1...1.2.2
[1.2.1]: https://github.com/huderlem/porymap/compare/1.2.0...1.2.1
[1.2.0]: https://github.com/huderlem/porymap/compare/1.1.0...1.2.0
[1.1.0]: https://github.com/huderlem/porymap/compare/1.0.0...1.1.0
[1.0.0]: https://github.com/huderlem/porymap/tree/1.0.0

67
INSTALL.md Normal file
View File

@ -0,0 +1,67 @@
# Installation
**Note**: For Windows and macOS, installation is not required to use Porymap. You can download the latest release to begin using Porymap immediately.
- [Download Porymap for Windows](https://github.com/huderlem/porymap/releases/latest/download/porymap-windows.zip).
- [Download Porymap for macOS latest (arm)](https://github.com/huderlem/porymap/releases/latest/download/porymap-macos-latest.zip).
- [Download Porymap for macOS 15 (intel)](https://github.com/huderlem/porymap/releases/latest/download/porymap-macos-15-intel.zip).
For installation, Porymap requires Qt 5.14.2 & C++11.
## macOS
The easiest way to get Qt is through [homebrew](https://brew.sh/).
Once homebrew is installed, run these commands in Terminal:
```bash
xcode-select --install
brew update
brew upgrade
brew install qt
git clone https://github.com/huderlem/porymap
cd porymap
qmake
make
./porymap.app/Contents/MacOS/porymap
```
## Windows
Install [Qt development tools](https://www.qt.io/download-qt-installer), and use Qt Creator, the official Qt IDE, for development purposes.
## Ubuntu
You need to install Qt. The minimum supported version is currently Qt 5.14.2. You can check your Qt version
with `qtdiag` or `qmake --version`.
```bash
sudo apt-get install qt6-declarative-dev
# if your distro does not have qt6-declarative-dev, try sudo apt-get install qtdeclarative5-dev
git clone https://github.com/huderlem/porymap
cd porymap
qmake
make
./porymap
```
## Arch Linux
You need to install Qt. You can check the version of your Qt packages with `qtdiag` or `qmake --version`.
```bash
sudo pacman -S qt6-declarative qt6-charts
git clone https://github.com/huderlem/porymap
cd porymap
qmake
make
./porymap
```

View File

@ -1,8 +1,36 @@
# porymap
# Porymap
A map editor for the generation 3 disassembly projects using Qt.
[![Actions Status](https://github.com/huderlem/porymap/workflows/Build%20Porymap/badge.svg)](https://github.com/huderlem/porymap/actions)
Currently supporting [pokeruby][pokeruby] and [pokeemerald][pokeemerald].
A map editor for the Pokémon generation 3 decompilation projects ([pokeruby][pokeruby], [pokeemerald][pokeemerald], and [pokefirered][pokefirered]).
To get started, view the full online guide here: https://huderlem.github.io/porymap/
View the [Changelog][changelog] to see what's new.
## Download
Windows and macOS users can download Porymap below to start using it immediately. Older versions of Porymap may be downloaded from the [Releases][releases] page.
- [Download Porymap for Windows](https://github.com/huderlem/porymap/releases/latest/download/porymap-windows.zip).
- [Download Porymap for macOS latest (arm)](https://github.com/huderlem/porymap/releases/latest/download/porymap-macos-latest.zip).
- [Download Porymap for macOS 15 (intel)](https://github.com/huderlem/porymap/releases/latest/download/porymap-macos-15-intel.zip).
Linux users must compile Porymap from source.
<details>
<summary><i>Pre-compiled builds for Linux...</i></summary>
> If you are a Linux user and you do not want to compile Porymap from source, you may find Porymap on an external package repository like Flathub or AUR.
> Builds installed through an external package manager are not explicitly maintained by Porymap and may be out of date.
</details>
Read [INSTALL.md](INSTALL.md) for instructions on how to compile Porymap from source.
![Porymap Preview](docsrc/manual/images/introduction/porymap-loaded-project.png)
[pokeruby]: https://github.com/pret/pokeruby
[pokeemerald]: https://github.com/pret/pokeemerald
[pokefirered]: https://github.com/pret/pokefirered
[changelog]: https://github.com/huderlem/porymap/blob/master/CHANGELOG.md
[releases]: https://github.com/huderlem/porymap/releases

711
RELEASE-README.txt Normal file
View File

@ -0,0 +1,711 @@
Version: 6.3.0
Date: December 26th, 2025
Official Porymap documentation: https://huderlem.github.io/porymap/
Please report any issues on GitHub: [https://github.com/huderlem/porymap/issues](https://github.com/huderlem/porymap/issues)
-------------------------
## [6.3.0] - 2025-12-26
### Added
- Add option to sort Locations and Layouts lists by value, rather than alphabetically.
- Add color space settings for exported images.
- Add setting to disable the project loading screen.
### Changed
- Separate `File > Duplicate Current Map/Layout` into two options to allow duplicating the current layout when a map is open.
- The name field now receives focus immediately for the new map/layout dialogs.
- The middle mouse button can now be used to pan around the map views, rather than needing to select the Map Tool. This is a very convenient shortcut that matches popular image-editing programs.
- Previously, the middle mouse button could be used as a shortcut with the pencil tool to switch to bucket-fill mode. This is now achieved using the `Alt` key.
### Fixed
- Fix crash when a painted tile selection goes out of bounds of the metatile layer view in the Tileset Editor.
- Fix crash on older versions of Qt when reopening a project with certain windows open.
- Fix potential crash when painting and the cursor leaves the map area.
- Fix potential crash when changing maps with the Tileset Editor open.
- Fix rare crash while quitting Porymap.
- Fix `Edit > Clear Map Entries` in the Region Map Editor not saving the applied changes.
- Fix `Edit > Undo/Redo` appearing enabled even when they don't do anything.
- Fix `Help > Open Manual` being disabled when no project is open.
- Fix new tilesets potentially overwriting data in an existing directory.
- Fix exported images on macOS using a different color space than in Porymap.
- Fix some `INCBIN` statements not being parsed correctly.
- Fix excessive logging if Porymap fails to monitor all map files.
- Fix map connections getting cut off in exported map images if they're on the same side as another short map connection.
- Fix the project version check failing for some versions of `git`.
- Fix some error highlights persisting after the error is resolved.
- Fix the Layout/Tileset labels on the `Metatiles` panel disappearing if the panel is too narrow.
## [6.2.0] - 2025-08-08
### Added
- Add `View > Show Unused Colors` to the Palette Editor.
- Add `Tools > Find Color Usage` to the Palette Editor. This opens a dialog showing which metatiles use a particular color.
- Add `Edit > Swap Metatiles` to the Tileset Editor. While in this mode, selecting two metatiles in the selector will swap their positions. When changes to the tilesets are saved these relocations will be applied to all layouts that use the relevant tileset(s).
- Add `View > Layer Arrangement` to the Tileset Editor, which changes whether the metatile layer view is oriented vertically (default) or horizontally.
- Add an `Export Metatiles Image` option to the Tileset Editor that provides many more options for customizing metatile images.
- Add an `Export Porytiles Layer Images` option to the Tileset Editor, which is a shortcut for individually exporting layer images that Porytiles can use.
- Add an option under `Preferences` to include common scripts in the autocomplete for Script labels.
- Add a setting under `Project Settings` to change the width of the metatile selectors.
- Add versions of the API functions `[get|set]MetatileLayerOrder` and `[get|set]MetatileLayerOpacity` that work globally, rather than on individual layouts.
- A link to Porymap's manual is now available under `Help`.
### Changed
- The Player View Rectangle is now visible on the Events tab, as is the Cursor Tile Outline for certain tools.
- When hovering over tiles in the Tileset Editor their palette and x/yflip are now listed alongside the tile ID.
- The scroll position of the map view now remains the same between the Connections tab and the Map/Events tabs.
- The Move tool now behaves more like a traditional pan tool (with no momentum).
- The map image exporter now uses a checkered background to indicate transparency.
- Invalid tile IDs are now rendered as magenta (like invalid metatiles), instead of rendering the same as a transparent tile.
- While holding down `Ctrl` (`Cmd` on macOS) painting on the metatile layer view will now only change the tile's palette.
- Full menu paths are now listed for shortcuts in the Shortcuts Editor.
- Adding new event data to a map that has a `shared_events_map` will now remove the `shared_events_map`, rather than discard the event data.
### Fixed
- Fix crash when rendering tiles with invalid palette numbers.
- Fix crash when opening the Tileset Editor for tilesets with no metatiles.
- Fix crash when changing the map/border size in certain API callbacks.
- Fix metatile images exporting at 2x scale.
- Fix display errors when a project's metatile limits are not divisible by 8.
- Fix incorrect dividing line position for primary tiles images that are smaller than the maximum size.
- Fix the checkered background of the `Change Dimensions` popup shifting while scrolling around.
- Fix pasting Wild Pokémon data then changing maps resetting the pasted data.
- Fix click-drag map selections behaving unexpectedly when the cursor is outside the map grid.
- Fix events being dragged in negative coordinates lagging behind the cursor.
- Fix the shortcut for duplicating events working while on the Connections tab.
- Fix the Shortcuts Editor displaying the duplicate shortcut prompt repeatedly.
- Fix the clear text button on the left in each row of the Shortcuts Editor also clearing the shortcut on the right.
- Fix Undo/Redo ignoring the automatic resizing that occurs if a layout/border was an unexpected size.
- Fix Undo/Redo in the Tileset and Palette Editors and Paste in the Tileset Editor appearing enabled even when they don't do anything.
- Fix `Ctrl+Shift+Z` not being set as a default shortcut for Redo in the Palette Editor like it is for other windows.
- Fix the Tileset Editor's status bar not updating while selecting tiles in the metatile layer view, or when pasting metatiles.
- Fix the main window's status bar not immediately reflecting changes made while painting metatiles / movement permissions.
- Fix cleared metatile labels not updating until the project is reloaded.
- Fix some changes in the Tileset Editor being discarded if the window is closed too quickly.
- Fix the Region Map Editor incorrectly displaying whether a `MAPSEC` has region map data.
- Fix the Primary/Secondary Tileset selectors allowing invalid text, and considering a map unsaved if changed to invalid text then back again.
- Fix broken error message for the primary tileset on the new map/layout dialogs.
- Fix the dialog for duplicating/importing a map layout not allowing the tilesets to be changed.
- Fix warning not appearing when the log file exceeds maximum size.
- Fix possible lag while using the Tileset Editor's tile selector.
- Fix unnecessary resources being used to watch files.
- Fix possible crash on Linux if too many inotify instances are requested.
## [6.1.0] - 2025-06-09
### Added
- Add settings to change the application font and the map list font.
### Changed
- The scale of the map can now be changed while resizing the map.
### Fixed
- Fix duplicated maps writing the wrong name.
- Fix small maps being difficult to see while resizing.
- Fix the map border sometimes not updating to reflect changes.
- Fix expressions using the prefix '0X' as opposed to '0x' not being recognized has hex numbers.
- Fix certain characters not writing correctly to JSON files.
- Fix all `map.json` files being added to the file watcher at launch.
- Fix files sometimes being removed from the file watcher if they're deleted as part of a write.
- Fix `porymap.cfg` and `porymap.shortcuts.cfg` writing outside the `pret/porymap` folder.
## [6.0.0] - 2025-05-27
### Breaking Changes
- See [Breaking Changes](https://huderlem.github.io/porymap/manual/breaking-changes.html) in the manual.
### Added
- Redesigned the map list, adding new features including opening/editing layouts with no associated map, editing the names of map groups, rearranging maps and map groups, and hiding empty folders.
- Add a drop-down for changing the layout of the currently opened map.
- Add an option to duplicate maps/layouts.
- Redesigned the Connections tab, adding new features including the option to open or display diving maps and a list UI for easier edit access.
- Add a `Close Project` option
- Add a search button to the `Wild Pokémon` tab that shows the encounter data for a species across all maps.
- Add charts to the `Wild Pokémon` tab that show species and level distributions for the current map.
- Add options for customizing the map grid under `View -> Grid Settings`.
- Add an option to display Event sprites while editing the map.
- Add an option to display a dividing line between tilesets in the Tileset Editor.
- Add an input field to the Tileset Editor for editing the full metatile attributes value directly, including unused bits.
- An alert will be displayed when attempting to open a seemingly invalid project.
- Add support for defining project values with `enum` where `#define` was expected.
- Add support for referring to object events and warps with named IDs, rather than referring to them with their index number.
- Add a setting to specify the tile values to use for the unused metatile layer.
- Add a setting to specify the maximum number of events in a group. A warning will be shown if too many events are added.
- Add a setting to customize the size and position of the player view distance.
- Add `onLayoutOpened` to the scripting API.
- Add a splash loading screen for project openings.
- Add Back/Forward buttons for navigating to previous maps or layouts.
### Changed
- `Change Dimensions` now has an interactive resizing rectangle.
- Redesigned the new map dialog, including better error checking and a collapsible section for header data.
- New maps/layouts are no longer saved automatically, and can be fully discarded by closing without saving.
- Map groups and ``MAPSEC`` names specified when creating a new map will be added automatically if they don't already exist.
- Custom fields in JSON files that Porymap writes are no longer discarded.
- Edits to map connections now have Undo/Redo and can be viewed in exported timelapses.
- Changes to the "Mirror to Connecting Maps" setting will now be saved between sessions.
- A notice will be displayed when attempting to open the "Dynamic" map, rather than nothing happening.
- The base game version is now auto-detected if the project name contains only one of "emerald", "firered/leafgreen", or "ruby/sapphire".
- It's now possible to cancel quitting if there are unsaved changes in sub-windows.
- The triple-layer metatiles setting can now be set automatically using a project constant.
- `Export Map Stitch Image` and `Export Map Timelapse Image` now show a preview of the full image/gif, not just the current map.
- `Custom Attributes` tables now display numbers using spin boxes. The `type` column was removed, because `value`'s type is now obvious.
- Unrecognized map names in Event or Connections data will no longer be overwritten.
- It's now possible to click on an event's sprite even if a different event's rectangle is overlapping it. The old selection behavior is available via a new setting.
- Reduced diff noise when saving maps.
- Map names and ``MAP_NAME`` constants are no longer required to match.
- Porymap will no longer overwrite ``include/constants/map_groups.h`` or ``include/constants/layouts.h``.
- Primary/secondary metatile images are now kept on separate rows, rather than blending together if the primary size is not divisible by 8.
- The prompt to reload the project when a file has changed will now only appear when Porymap is the active application.
- `Script` dropdowns now autocomplete only with scripts from the current map, rather than every script in the project. The old behavior is available via a new setting.
- `Script` dropdowns now update automatically if the current map's scripts file is edited.
- The options for `Encounter Type` and `Terrain Type` in the Tileset Editor are not hardcoded anymore, they're now read from the project.
- The `symbol_wild_encounters` setting was replaced; this value is now read from the project.
- The max encounter rate is now read from the project, rather than assuming the default value from RSE.
- `MAP_OFFSET_W` and `MAP_OFFSET_H` (used to limit the maximum map size) are now read from the project.
- The rendered area of the map border is now limited to the maximum player view distance (prior to this it included two extra rows on the top and bottom).
- Right-clicking on the border metatiles image will now select that metatile.
- An error message will now be shown when Porymap is unable to save changes (e.g. if Porymap doesn't have write permissions for your project).
- Error and warning logs are now displayed in the status bar. This can be changed with a new setting.
- A project may now be opened even if it has no maps or map groups. A minimum of one map layout is required.
- The file extensions that are expected for `.png` and `.pal` data files and the extensions outputted when creating a new tileset can now be customized.
- Miscellaneous performance improvements, especially for opening projects.
### Fixed
- Fix `Add Region Map...` not updating the region map settings file.
- Fix some crashes on invalid region map tilesets.
- Improve error reporting for invalid region map editor settings.
- Fix the region map editor's palette resetting between region maps.
- Fix the region map editor's h-flip and v-flip settings being swapped.
- Fix config files being written before the project is opened successfully.
- Fix the map and other project info still displaying if a new project fails to open.
- Fix unsaved changes being ignored when quitting (such as with Cmd+Q on macOS).
- Fix selections with multiple events not always clearing when making a new selection.
- Fix the new event button not updating correctly when selecting object events.
- Fix duplicated `Hidden Item` events not copying the `Requires Itemfinder` field.
- Fix event sprites disappearing in certain areas outside the map boundaries.
- Fix deselecting an event still allowing you to drag the event around.
- Fix events rendering on top of the ruler at very high y values.
- Fix new map names not appearing in event dropdowns that have already been populated.
- Fix `About porymap` opening a new window each time it's activated.
- Fix the `Edit History` window not raising to the front when reactivated.
- New maps are now always inserted in map dropdowns at the correct position, rather than at the bottom of the list until the project is reloaded.
- Fix species on the wild pokémon tab retaining icons from previously-opened projects.
- Fix invalid species names clearing from wild pokémon data when revisited.
- Fix editing wild pokémon data not marking the map as unsaved.
- Fix editing an event's `Custom Attributes` not marking the map as unsaved.
- Fix changes to map connections not marking connected maps as unsaved.
- Fix numerous issues related to connecting a map to itself.
- Fix incorrect map connections getting selected when opening a map by double-clicking a map connection.
- Fix a visual issue when quickly dragging map connections around.
- Fix map connections rendering incorrectly if their direction name was unknown.
- Fix map connections rendering incorrectly if their dimensions were smaller than the border draw distance.
- Fix metatile/collision selection images skewing off-center after opening a map from the Connections tab.
- Fix the map list filter retaining text between project open/close.
- Fix the map list mishandling value gaps when sorting by Area.
- Fix a freeze on startup if project values are defined with mismatched parentheses.
- Fix stitched map images sometimes rendering garbage
- Fix the `Reset` button on `Export Map Timelapse Image` not resetting the Timelapse settings.
- Fix events in exported map stitch images being occluded by neighboring maps.
- Fix the map connections in exported map images coming from the map currently open in the editor, rather than the map shown in the export window.
- Fix crash when exporting a map stitch image if a map fails to load.
- Fix possible crash when exporting a timelapse that has events edit history.
- Fix exported timelapses excluding pasted events and certain map size changes.
- Fix exporting a timelapse sometimes altering the state of the current map's edit history.
- Stop sliders in the Palette Editor from creating a bunch of edit history when used.
- Fix scrolling on some containers locking up when the mouse stops over a spin box or combo box.
- Fix the selection index for some combo boxes differing from their displayed text.
- Fix some file dialogs returning to an incorrect window when closed.
- Fix bug where reloading a layout would overwrite all unsaved changes.
- Fix bug where layout json and blockdata could be saved separately leading to inconsistent data.
- Fix crash when saving tilesets with fewer palettes than the maximum.
- Fix projects not opening on Windows if the project filepath contains certain characters.
- Fix custom project filepaths not converting Windows file separators.
- Fix exported tile images containing garbage pixels after the end of the tiles.
- Fix fully transparent pixels rendering with the incorrect color.
- Fix the values for some config fields shuffling their order every save.
- Fix `key`s in `Custom Attributes` disappearing if given an empty name or the name of an existing field.
- Fix some problems with tileset detection when importing maps from AdvanceMap.
- Fix certain input fields allowing invalid identifiers, like names starting with numbers.
- Fix crash in the Shortcuts Editor when applying changes after closing certain windows.
- Fix the Shortcuts Editor clearing shortcuts after selecting them.
- Fix `Display Metatile Usage Counts` sometimes changing the counts after repeated use.
- The Metatile / Tile usage counts in the Tileset Editor now update to reflect changes.
- Fix regression that stopped the map zoom from centering on the cursor.
- Fix `Open Map Scripts` not working on maps with a `shared_scripts_map` field.
- Fix the main window sometimes exceeding the screen size on first launch.
- Fix right-click selections with the eyedropper clearing when the mouse is released.
- Fix overworld sprite facing directions if spritesheet is arranged in multiple rows.
## [5.4.1] - 2024-03-21
### Fixed
- Fix object event sprites not loading for some struct data formats.
## [5.4.0] - 2024-02-13
### Added
- Add a `Check for Updates` option to show new releases (Windows and macOS only).
### Changed
- If Wild Encounters fail to load they are now only disabled for that session, and the settings remain unchanged.
- Defaults are used if project constants are missing, rather than failing to open the project or changing settings.
- Selector images now center on the selection when eyedropping or zooming.
### Fixed
- Fix some minor visual issues with the various zoom sliders.
- Smooth out scrolling when mouse is over tile/metatile images.
- Fix the Tileset Editor selectors getting extra white space when changing tilesets.
- Fix a crash when adding disabled events with the Pencil tool.
- Fix error log about failing to find the scripts file when a new map is created.
## [5.3.0] - 2024-01-15
### Added
- Add zoom sliders to the Tileset Editor.
- Add `getMetatileBehaviorName` and `setMetatileBehaviorName` to the API.
- Add `metatile_behaviors`, `num_primary_palettes`, and `num_secondary_palettes` to `constants` in the API.
### Changed
- Metatile ID strings are now padded to their current max, not the overall max.
- Non-existent directories are now removed from the Open Recent Project menu.
- Hovering on the layer view in the Tileset Editor now displays the tile ID.
- Labels in the Script dropdown are now sorted alphabetically.
- The name of the Heal Locations table is no longer enforced.
- The API functions `addImage` and `createImage` now support project-relative paths.
### Fixed
- Fix the metatile selector rectangle jumping when selecting up or left of the origin.
- Fix the event group tabs sometimes showing an event from the wrong group.
- Fix the clear buttons in the Shortcuts Editor not actually removing shortcuts.
- Fix slow speed for the script label autcomplete.
- Fix deleted script labels still appearing in the autocomplete after project reload.
- Fix the map search bar stealing focus on startup.
- Fix border metatiles view not resizing properly.
- Fix Open Recent Project not clearing the API overlay
- Fix API error reporting.
## [5.2.0] - 2024-01-02
### Added
- Add an editor window under `Options -> Project Settings...` to customize the project-specific settings in `porymap.project.cfg` and `porymap.user.cfg`.
- Add an editor window under `Options -> Custom Scripts...` for Porymap's API scripts.
- Add an `Open Recent Project` menu
- Add a warning to warp events if they're on an incompatible metatile behavior.
- Add settings for custom images, including the collision graphics, default event icons, and pokémon icons.
- Add settings to override any symbol or macro names Porymap expects to find.
- Add a zoom slider to the Collision tab.
- Add toggleable grids to the Tileset Editor.
- Support for custom metatile ID, collision, and elevation data sizes.
- Support for 8bpp tileset tile images.
### Changed
- `Script` dropdowns now include scripts from the current map's scripts file.
- Encounter Rate now defaults to the most commonly used value, rather than 0.
- The Collision tab now allows selection of any valid elevation/collision value.
- The Palette Editor now remembers the Bit Depth setting.
- The min/max levels on the Wild Pokémon tab will now adjust automatically if they invalidate each other.
- If the recent project directory doesn't exist Porymap will open an empty project instead of failing with a misleading error message.
- Settings under `Options` were relocated either to the `Preferences` window or `Options -> Project Settings`.
- Secret Base and Weather Trigger events are automatically disabled if their respective constants files fail to parse, instead of not opening the project.
- If a Pokémon icon fails to load Porymap will attempt to predict its filepath. If this also fails it will appear with a placeholder icon, and won't disappear when edited.
- The bits in metatile attribute masks are now allowed to be non-contiguous.
- Porymap will now attempt to read metatile attribute masks from the project.
### Fixed
- Fix text boxes in the Palette Editor calculating color incorrectly.
- Fix metatile labels being sorted incorrectly for tileset names with multiple underscores.
- Fix default object sprites retaining dimensions and transparency of the previous sprite.
- Fix connections not being deleted when the map name text box is cleared.
- Fix the map border not updating when a tileset is changed.
- Improve the poor speed of the API functions `setMetatileTile` and `setMetatileTiles`.
- Stop the Tileset Editor from scrolling to the initially selected metatile when saving.
- Fix `0x0`/`NULL` appearing more than once in the scripts dropdown.
- Fix the selection outline sticking in single-tile mode on the Prefab tab.
- Fix heal location data being cleared if certain spaces aren't used in the table.
- Fix bad URL color contrast on dark themes.
- Fix some issues when too few/many pokémon are specified for a wild encounter group.
- Fix Porymap reporting errors for macros it doesn't use.
- Fix painting on the Collision tab with the opacity slider at 0 painting metatiles.
- Fix crashes when File->Reload Project fails.
- Fix overworld sprite facing directions if spritesheet has vertical layout.
- Stop reporting `Error: Interrupted` for custom scripts during project reopen
## [5.1.1] - 2023-02-20
### Added
- Add `registerToggleAction` to the scripting API
### Changed
- Change encounter tab copy and paste behavior.
- A warning will appear if a custom script fails to load or an action fails to run.
### Fixed
- Fix null characters being unpredictably written to some JSON files.
- Fix tilesets that share part of their name loading incorrectly.
- Fix events being hidden behind connecting maps.
- Metatile labels with values defined outside their tileset are no longer deleted.
- Fix the Tileset Editor retaining edit history after changing tilesets.
- Fix some minor visual issues on the Connections tab.
- Fix bug which caused encounter configurator to crash if slots in fields containing groups were deleted.
- Fix bug which caused encounter configurator to crash if last field was deleted.
- Fix map render when collision view was active while map changed.
- Fix the updated pokefirered region map graphics appearing in grayscale.
- Fix the API function `registerAction` not correctly handling actions with the same name.
## [5.1.0] - 2023-01-22
### Added
- Add new config options for reorganizing metatile attributes.
- Add `setScale` to the scripting API.
- Add option to turn off the checkerboard fill for new tilesets.
- Add option to copy wild encounters from another encounters tab.
### Changed
- Double-clicking on a connecting map on the Map or Events tabs will now open that map.
- Hovering on border metatiles with the mouse will now display their information in the bottom bar.
- The last-used directory is now preserved in import/export file dialogs.
- Encounter editing has been slightly modified in favor of a more performant ui.
- Pokémon icons in the encounter editor have their transparency set.
### Fixed
- Fix the Region Map Editor being opened by the Shortcuts Editor.
- Fix New Map settings being preserved when switching projects.
- Fix scripting API callback `onMapResized` not triggering.
- Fix crash when importing AdvanceMap metatiles while `enable_triple_layer_metatiles` is enabled.
- Fix `File -> Open Project` not resolving folder shortcuts.
- Fix bug where "Requires Itemfinder" checkbox is being checked by wrong data.
- Fix the map border not immediately reflecting Tileset Editor changes.
- Fix pasting metatiles in the Tileset Editor not triggering the unsaved changes warning.
## [5.0.0] - 2022-10-30
### Breaking Changes
- Proper support for pokefirered's clone objects was added, which requires the changes made in [pokefirered/#484](https://github.com/pret/pokefirered/pull/484).
- Warp IDs are now treated as strings, which requires the change to `mapjson` made in [pokeemerald/#1755](https://github.com/pret/pokeemerald/pull/1755). Additionally `MAP_NONE` was renamed to `MAP_DYNAMIC`. Both changes also apply to pokefirered and pokeruby.
- Overhauled the region map editor, adding support for tilemaps, and significant customization. Also now supports pokefirered. Requires the changes made in [pokeemerald/#1651](https://github.com/pret/pokeemerald/pull/1651), [pokefirered/#500](https://github.com/pret/pokefirered/pull/500), or [pokeruby/#842](https://github.com/pret/pokeruby/pull/842).
- Many API functions which were previously accessible via the `map` object are now accessible via one of the new objects `overlay`, `utility`, or `constants`. Some functions were renamed accordingly. See [porymap/#460](https://github.com/huderlem/porymap/pull/460) for a full list of API function name changes.
- Arguments for the API function `createImage` have changed: `xflip` and `yflip` have been replaced with `hScale` and `vScale`, and `offset` has been replaced with `xOffset` and `yOffset`.
- The API function `addFilledRect` has been removed; it's been replaced by new arguments in `addRect`: `color` has been replaced with `borderColor` and `fillColor`, and a new `rounding` argument allows ellipses to be drawn.
### Added
- Add prefab support
- Add Cut/Copy/Paste for metatiles in the Tileset Editor.
- Add button to copy the full metatile label to the clipboard in the Tileset Editor.
- Add ability to export an image of the primary or secondary tileset's metatiles.
- Add new config options for customizing how new maps are filled, setting default tilesets, and whether the most recent project should be opened on launch.
- Add color picker to palette editor for taking colors from the screen.
- Add new features to the scripting API, including the ability to display messages and user input windows, set the overlay's opacity, rotation, scale, and clipping, interact with map header properties and the map border, read tile pixel data, and more.
### Changed
- Previous settings will be remembered in the New Map Options window.
- The Custom Attributes table for map headers and events now supports types other than strings.
- If an object event is inanimate, it will always render using its first frame.
- Unused metatile attribute bits are preserved instead of being cleared.
- The wild encounter editor is automatically disabled if the encounter JSON data cannot be read
- Metatiles are always rendered accurately with 3 layers, and the unused layer is not assumed to be transparent.
- `object_event_graphics_info.h` can now be parsed correctly if it uses structs with attributes.
- Tileset data in `headers`, `graphics`, and `metatiles` can now be parsed if written in C.
- The amount of time it takes to render the event panel has been reduced, which is most noticeable when selecting multiple events at once.
- The selection is no longer reset when pasting events. The newly pasted events are selected instead.
- The currently selected event for each event group will persist between tabs.
- An object event's sprite will now render if a number is specified instead of a graphics constant.
- Palette editor ui is updated a bit to allow hex and rgb value input.
- Heal location constants will no longer be deleted if they're not used in the data tables.
- The heal location prefixes `SPAWN_` and `HEAL_LOCATION_` may now be used interchangeably.
- The number and order of entries in the heal location data tables can now be changed arbitrarily, and independently of each other.
- The metatile behavior is now displayed in the bottom bar mouseover text.
- Number values are now allowed in the Tileset Editor's Metatile Behavior field.
- Removed some unnecessary error logs from the scripting API and added new useful ones.
- If any JSON data is the incorrect type Porymap will now attempt to convert it.
### Fixed
- Fix events losing their assigned script when the script autocomplete is used.
- Fix the unsaved changes indicator not disappearing when saving changes to events.
- Fix copy and paste for events not including their custom attributes.
- Fix cursor tile outline not updating at the end of a dragged selection.
- Fix cursor tile and player view outlines exiting map bounds while painting.
- Fix cursor tile and player view outlines not updating immediately when toggled in Collision view.
- Fix selected space not updating while painting in Collision view.
- Fix collision values of 2 or 3 not rendering properly.
- Fix the map tree view arrows not displaying for custom themes.
- Fix the map music dropdown being empty when importing a map from Advance Map.
- Fix object events added by pasting ignoring the map event limit.
- Fix a bug where saving the tileset editor would reselect the main editor's first selected metatile.
- Fix crashes / unexpected behavior if certain scripting API functions are given invalid palette or tile numbers.
- Fix drawing large amounts of text with the scripting API causing a significant drop in performance.
- Silence unnecessary error logging when parsing C defines Porymap doesn't use.
- Fix some windows like the Tileset Editor not raising to the front when reactivated.
- Fix incorrect limits on Floor Number and Border Width/Height in the New Map Options window.
- Fix Border Width/Height being set to 0 when creating a new map from an existing layout.
- Fix certain UI elements not highlighting red on some platforms.
- Fix Open Config Folder not responding
- Properly update the minimum offset for a connection when the map is changed.
## [4.5.0] - 2021-12-26
### Added
- WSL project paths are now supported. (For example, \wsl$\Ubuntu-20.04\home\huderlem\pokeemerald)
- Add ability to export map timelapse animated GIFs with `File -> Export Map Timelapse Image...`.
- Add tool to count the times each metatile or tile is used in the tileset editor.
- Events, current metatile selections, and map images can now be copied and pasted, including between windows.
- The grid and map border visibility are now saved as config options.
- Add ~60 new scripting API functions, including new features like reading/writing metatile data, layering, moving, and hiding items in the overlay, creating modified images and tile/metatile images, reading tileset sizes, logging warnings and errors, and more.
- Add 7 new scripting API callbacks.
- Porymap is now compatible with Qt6.
### Changed
- New events will be placed in the center of the current view of the map.
- Scripting API errors are more detailed and logged in more situations.
- Add new optional arguments to 5 existing API functions.
- Top-level UI elements now render above the scripting overlay.
- The onBlockChanged script callback is now called for blocks changed by Undo/Redo.
### Fixed
- Fix % operator in C defines not being evaluated
- Fix tileset palette editor crash that could occur when switching maps or tilesets with it open.
- The metatile selection is no longer reset if it becomes invalid by changing the tileset. Invalid metatiles in the selection will be temporarily replaced with metatile 0.
- Loading wild encounters will now properly preserve the original order, so saving the file will not give huge diffs.
- Fix bug where the tile selection cursor could be toggld on in the Events tab.
## [4.4.0] - 2020-12-20
### Added
- Add undoable edit history for Events tab.
- Add keyboard shortcut for `DEL` key to delete the currently selected event(s).
- Disable ui while there is no open project to prevent crashing.
- Add "Straight Paths" feature for drawing straight lines while holding `Ctrl`.
- The New Map dialog now gives an option to specify the "Show Location Name" field.
- Some new shortcuts were added in [porymap/#290](https://github.com/huderlem/porymap/pull/290).
- All plain text boxes now have a clear button to delete the text.
- The window sizes and positions of the tileset editor, palette editor, and region map editor are now stored in `porymap.cfg`.
- Add ruler tool for measuring metatile distance in events tab (Right-click to turn on/off, left-click to lock in place).
- Add delete button to wild pokemon encounters tab.
- Add shortcut customization via `Options -> Edit Shortcuts`.
- Add custom text editor commands in `Options -> Edit Preferences`, a tool-button next to the `Script` combo-box, and `Tools -> Open Project in Text Editor`. The tool-button will open the containing file to the cooresponding script.
### Changed
- Holding `shift` now toggles "Smart Path" drawing; when the "Smart Paths" checkbox is checked, holding `shift` will temporarily disable it.
### Fixed
- Fix a bug with the current metatile selection zoom.
- Fix bug preventing the status bar from updating the current position while dragging events.
- Fix porymap icon not showing on window or panel on Linux.
- The main window can now be resized to fit on lower resolution displays.
- Zooming the map in/out will now focus on the cursor.
- Fix bug where object event sprites whose name contained a 0 character would display the placeholder "N" picture.
## [4.3.1] - 2020-07-17
### Added
- Add keyboard shortcut `Ctrl + D` for duplicating map events.
- Add keyboard shortcut `Ctrl + Shift + Z` for "redo" in the tileset editor.
- Add scripting api to reorder metatile layers and draw them with opacity.
### Changed
- The tileset editor now syncs its metatile selection with the map's metatile selector.
- The number of object events per map is now limited to OBJECT_EVENT_TEMPLATES_COUNT
- The tileset editor can now flip selections that were taken from an existing metatile.
### Fixed
- Fix bug where editing a metatile layer would have no effect.
- Fix a crash that occured when creating a new tileset using triple layer mode.
- Fix crash when reducing number of metatiles past current selection.
- Fix various methods of selecting invalid metatiles.
- Fix sprite transparency not updating when changing object event graphics.
- Fix dropdown menu item selection when using the arrow keys.
## [4.3.0] - 2020-06-27
### Added
- Add triple-layer metatiles support.
### Changed
- The "Open Scripts" button will fall back to `scripts.inc` if `scripts.pory` doesn't exist.
### Fixed
- Fix bug where exported tileset images could be horizontally or vertically flipped.
- Fix bug where the map list wasn't filtered properly after switching filter types.
- Don't zoom in map when mouse middle button is pressed.
## [4.2.0] - 2020-06-06
### Added
- Add more project-specific configs to better support porting features from different projects.
- Add metatile label names to the status bar when hovering over metatiles in the map editor tab.
- Add mouse coordinates to the status bar when hovering in the events tab.
### Changed
- `metatile_labels.h` is now watched for changes.
### Fixed
- Reduce time it takes to load maps and save in the tileset editor.
- Fix crash that could occur when parsing unknown symbols when evaluating `define` expressions.
## [4.1.0] - 2020-05-18
### Added
- Add scripting capabilities, which allows the user to add custom behavior to Porymap using JavaScript scripts.
- Add ability to import FRLG tileset .bvd files from Advance Map 1.92.
### Changed
- Edit modes are no longer shared between the Map and Events tabs. Pencil is default for Map tab, and Pointer is default for Events tab.
### Fixed
- Disallow drawing new heal locations in the events tab.
- Fix issue where the metatile selection window was not resizable.
- Show warning when closing project with unsaved wild Pokémon changes.
- Fix bug where negative object event coordinates were saved as "0".
- Fix maximum map dimension limits.
- Fix crash when using the Pencil tool to create an event on a map with no existing events.
## [4.0.0] - 2020-04-28
### Breaking Changes
- If you are using pokeemerald or pokeruby, there were changes made in [pokeemerald/#1010](https://github.com/pret/pokeemerald/pull/1010) and [pokeruby/#776](https://github.com/pret/pokeruby/pull/776) that you will need to integrate in order to use this version of porymap.
### Added
- Support for [pokefirered](https://github.com/pret/pokefirered). Kanto fans rejoice! At long last porymap supports the FRLG decompilation project.
- Add ability to export map stitches with `File -> Export Map Stitch Image...`.
- Add new project config option `use_custom_border_size`.
- Add ability to toggle project settings in `Options` menu.
- Add file monitoring, so Porymap will prompt the user to reload the project if certain project files are modified outside of Porymap.
- Add ability to reload project.
- Add `Pencil`, `Move`, and `Map Shift` tools to the Events tab.
### Changed
- Porymap now saves map and encounter json data in an order consistent with the upstream repos. This will provide more comprehensible diffs when files are saved.
- Update Porymap icon.
- The "Map" and "Events" tabs now render using the same view, so jumping between them is smooth.
- Extend connection min and max offsets to player's view boundary, rather than the map's boundary.
### Fixed
- Fix bug where pressing TAB key did not navigate through widgets in the wild encounter tables.
- Fix bug that allowed selecting an invalid metatile in the metatile selector.
- Don't allow `.` or `-` characters in new tileset names.
- Fix regression that prevented selecting empty region map squares
## [3.0.1] - 2020-03-04
### Fixed
- Fix bug on Mac where tileset images were corrupted when saving.
## [3.0.0] - 2020-03-04
### Breaking Changes
- pokeemerald and pokeruby both underwent a naming consistency update with respect to "object events". As such, these naming changes break old versions of Porymap.
- pokeemerald object event PR: https://github.com/pret/pokeemerald/pull/910
- pokeruby object event PR: https://github.com/pret/pokeruby/pull/768
### Added
- Add optional support for Poryscript script files via the `use_poryscript` config option.
- Selecting a group of metatiles from the map area now also copies the collision properties, too.
- Add keyboard shortcut `Ctrl + G` for toggling the map grid.
### Changed
- Draw map connections with the current map's tilesets to more accurately mimic their appearance in-game.
### Fixed
- Fix index-out-of-bounds crash when deleting the last event in an event type group.
- Fix bug where exporting tileset images could add an extra row of junk at the end.
- Fix crashes when encountering an error opening a project or map.
- Fix bug where comboboxes and wild pokemon data could grow large when opening projects multiple times during the same porymap session.
- Fix bug where dragging the metatile selector would visually extend beyond map boundary.
## [2.0.0] - 2019-10-16
### Breaking Changes
- Accomodate event object graphics pointer table being explicitly indexed. From changes introduced in commits [cdae0c1444bed98e652c87dc3e3edcecacfef8be](https://github.com/pret/pokeemerald/commit/cdae0c1444bed98e652c87dc3e3edcecacfef8be) and [0e8ccfc4fd3544001f4c25fafd401f7558bdefba](https://github.com/pret/pokeruby/commit/0e8ccfc4fd3544001f4c25fafd401f7558bdefba).
- New "field" key in wild encounter JSON data from pokeemerald and pokeruby commits [adb0a444577b59eb02788c782a3d04bc285be0ba](https://github.com/pret/pokeemerald/commit/adb0a444577b59eb02788c782a3d04bc285be0ba) and [https://github.com/pret/pokeruby/commit/c73de8bed752ca538d90cfc93c4a9e8c7965f8c9](c73de8bed752ca538d90cfc93c4a9e8c7965f8c9).
### Added
- Add wild encounter table editor.
- Add dark themes.
- Support metatile labels file introduced in pokeruby and pokeemerald commits [ad365a35c1536740cbcbc10bee66e5dd908c39e7](https://github.com/pret/pokeruby/commit/ad365a35c1536740cbcbc10bee66e5dd908c39e7) and [c68ba9f4e8e260f2e3389eccd15f6ee5f4bdcd3e](https://github.com/pret/pokeemerald/commit/c68ba9f4e8e260f2e3389eccd15f6ee5f4bdcd3e).
- Add warning when closing porymap with unsaved changes.
### Changed
- Exporting map images is now more configurable. Events, connections, collision, etc. can be toggled on and off before exporting the image.
- The entire Tileset Editor selection is now conveniently flipped when selecting x-flip or y-flip.
- Autocomplete for porymap's comboboxes no longer require typing the full string prefix.
### Fixed
- Fix bug where map group names were hardcoded when creating a new map.
- Fix bug in Tileset Editor where multi-tile selections weren't properly painted when clicking on the bottom row of the metatile layers.
- Fix bug where line breaks in C headers were not parsed properly.
- Fix bug when exporting tileset images using palettes with duplicate colors.
- Fix bug where creating new maps from existing layouts created an empty layout folder.
- Fix bug where exported tile images did not contain the last row of tiles.
## [1.2.2] - 2019-05-16
### Added
- Add region map editor
- Add ability to add new tilesets
- Add official Porymap documentation website: https://huderlem.github.io/porymap/
### Changed
- Event sprites now display as facing the direction of their movement type.
- Default values for newly-created events now use valid values from the project, rather than hardcoded values.
- Deleting events will stay in the same events tab for easier bulk deletions.
- Double-clicking on a secret base event will open the corresponding secret base map.
- Selected events are now rendered above other events.
- Default values for new events are now more sensible and guaranteed to be valid.
### Fixed
- Fix bug in zoomed metatile selector where a large selection rectangle was being rendered.
- Fix bug where edited map icons were not rendered properly.
- Fix bug where right-click copying a tile from the tileset editor's metatile layers wouldn't copy the x/y flip status.
- Parsing project data is now more resilient to crashing, and it reports more informative errors.
## [1.2.1] - 2019-02-16
### Added
- Add ability to zoom in and out the map metatile selector via a slider at the bottom of the metatile selector window.
### Fixed
- Fix crash when creating a new map from a layout that has no pre-existing maps that use it.
- Fix bug where `var_value`, `trainer_type` and `trainer_sight_or_berry_tree_id` JSON fields were being interpreted as integers.
## [1.2.0] - 2019-02-04
### Breaking Changes
- New JSON map data format in pokeemerald and pokeruby from commits [82abc164dc9f6a74fdf0c535cc1621b7ed05318b](https://github.com/pret/pokeemerald/commit/82abc164dc9f6a74fdf0c535cc1621b7ed05318b) and [a0ba1b7c6353f7e4f3066025514c05b323a0123d](https://github.com/pret/pokeruby/commit/a0ba1b7c6353f7e4f3066025514c05b323a0123d).
### Added
- Add "magic fill" mode to fill tool (hold down CTRL key). This fills all matching metatiles on the map, rather than only the contiguous region.
- Add ability to import tileset palettes (JASC, .pal, .tpl, .gpl, .act).
- Add ability to export tileset tiles as indexed .png images. The currently-selected palette is used.
- Restore window sizes the next time the application is opened.
- Add ability to import metatiles from Advance Map 1.92 (.bvd files).
- Add About window that contains porymap information and changelog. (Found in file menu `Help > About Porymap`)
- Add option to show player's in-game view when hovering the mouse on the map.
- Add option to show an outline around the currently-hovered map tile. Its size depends on the size of the current metatile selection.
- Add ability to define custom fields for map header and all events.
### Changed
- Collapse the map list by default.
- Collision view now has a transparency slider to help make it easier to view the underlying metatiles.
- When importing tileset tiles from an image that is not indexed, the user can also provide a palette for the image. This is for the scenario where the user exports tiles and a palette from Advance Map.
- When creating a new map, the user specifies all of the map properties in a new window prompt.
- New maps can be created using existing layouts by right-clicking on an existing layout folder in the map list panel when sorted by "Layout".
- The map list panel now has "expand-all" and "collapse-all" buttons.
- Events without sprites are now partially transparent so the underlying metatile can be seen. (Warps, signs, etc.)
- Changed the Trainer checkbox to a combobox, since there are actually 3 valid values for the trainer type.
- Multiline comments are now respected when parsing C defines.
- The tiles image in the tileset editor will no longer flip according to the x/y flip checkboxes. The individual tile selection still flips, though.
### Fixed
- Fix bug where smart paths could be auto-enabled, despite the checkbox being disabled.
- Fix crash that could occur when changing the palette id in the tileset palette editor.
- Fix crash that could occur when shrinking the number of metatiles in a tileset.
- Fix bug where exported tile images from Advance Map were not handled correctly due to Advance Map using incorrect file extensions.
## [1.1.0] - 2018-12-27
### Breaking Changes
- New map header format in pokeemerald from commit [a1ea3b5e394bc115ba9b86348c161094a00dcca7](https://github.com/pret/pokeemerald/commit/a1ea3b5e394bc115ba9b86348c161094a00dcca7).
### Added
- Add `porymap.project.cfg` config file to project repos, in order to house project-specific settings, such as `base_game_version=pokeemerald`.
- Write all logs to `porymap.log` file, so users can view any errors that porymap hits.
- Changelog
### Changed
- Add `porymap.cfg` base config file, rather than using built-in system settings (e.g. registry on Windows).
- Properly read/write map headers for `pokeemerald`.
- Overhauled event editing pane, which now contains tabs for each different event. Events of the same type can be iterated through using the spinner at the top of the tab. This makes it possible to edit events that are outside the viewing window.
### Fixed
- Creating new hidden-item events now uses a valid default flag value.
- Fix bug where tilesets were sometimes not displaying their bottom row of metatiles.
- Fix bug where porymap crashes on startup due to missing map headers.
- Fix tileset editor crash that only happened on macOS.
- Fix minor bug when parsing C defines.
- Write `MAP_GROUPS_COUNT` define to `maps.h`.
- Fix bug where opening multiple projects and saving would cause junk to be written to `layouts_table.inc`.
- Fix porymap icon on macOS.
## [1.0.0] - 2018-10-26
This was the initial release.

4
docs/.buildinfo Normal file
View File

@ -0,0 +1,4 @@
# Sphinx build info version 1
# This file records the configuration used when building these files. When it is not found, a full rebuild will be done.
config: ee6cde30f72e7b58d77ea515379cc182
tags: 645f666f9bcd5a90fca523b33c5a78b7

0
docs/.nojekyll Normal file
View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

BIN
docs/_images/add-event.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

BIN
docs/_images/button-add.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 99 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 244 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 81 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
docs/_images/delete.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 259 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 108 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

BIN
docs/_images/event-sign.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 206 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

BIN
docs/_images/event-warp.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 752 B

BIN
docs/_images/file_edit.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

BIN
docs/_images/folder-add.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

BIN
docs/_images/folder-eye.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

BIN
docs/_images/folder.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 192 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 110 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 307 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 KiB

BIN
docs/_images/lock.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 184 KiB

BIN
docs/_images/map-border.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 393 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 346 KiB

BIN
docs/_images/map-events.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 411 KiB

BIN
docs/_images/map-grid.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 231 KiB

BIN
docs/_images/map-header.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 112 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 606 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 149 KiB

BIN
docs/_images/map-pan.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

BIN
docs/_images/map-tabs.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

BIN
docs/_images/move-tool.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 303 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 305 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 751 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 483 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 165 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB

BIN
docs/_images/new-script.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Some files were not shown because too many files have changed in this diff Show More