Commit Graph

1073 Commits

Author SHA1 Message Date
GriffinR
243a6064c2 Fix more timelapse bugs, clean up 2025-03-28 15:51:24 -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
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
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
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
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
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
7cfbcda9c2 Create new MAPSECs automatically on save if needed 2025-03-14 15:53:15 -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
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
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
edd2cce110 New event button refactor 2025-03-02 18:05:33 -05:00
GriffinR
e0de7fa73f Stop unnecessary full redraws of metatile selectors 2025-02-28 14:17:29 -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
2e8422d80c
Merge pull request #689 from GriffinRichards/event-speed-improvements
Event speed improvements
2025-02-26 11:56:07 -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
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
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
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
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
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
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
17c35a8d98 Condense parser error messages 2025-02-18 15:18:07 -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
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
ee986b8e56 Remove unnecessary const qualifier, unused variable 2025-02-12 15:54:18 -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
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
6b9a4d73e9 Read/write heal locations using new JSON data 2025-02-06 13:46:42 -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
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
fe38e42591 Port changes from Custom Attributes redesign 2025-01-31 10:45:59 -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
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
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
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
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
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
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
4f6291a3f6 Support non-Windows builds without QtCharts 2024-12-18 13:33:29 -05:00
GriffinR
8f1e112858 Combine tile image export functions 2024-12-16 16:23:52 -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
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
52a7cd4f56 Combine minor creation dialogs 2024-12-12 15:46:13 -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
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
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
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
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
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
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
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
7da2375998 Refactor map list buttons 2024-10-28 15:36:47 -04:00