Commit Graph

59 Commits

Author SHA1 Message Date
GriffinR
3571b4ea4b New JSON config format 2026-02-14 13:59:16 -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
d0337a7ae3 Add metatile swap 2025-08-01 20:54:52 -04:00
GriffinR
15b300f864 Clean up tile/metatile image changes 2025-07-22 00:15:33 -04:00
GriffinR
5fa5638277 More usage of Tile/Metatile size constants 2025-07-17 12:28:35 -04:00
GriffinR
38e2772213 Add new metatile image export window 2025-07-13 16:45:04 -04:00
GriffinR
b2798e77d4 Allow rendering individual metatile layers 2025-07-02 13:39:01 -04:00
GriffinR
d1142d244e Refactor cursor rectangles 2025-06-16 21:15:29 -04:00
GriffinR
b065934bc3 Fix border cache check using incorrect blockdata 2025-06-09 14:19:47 -04:00
GriffinR
8e141247bb Soften layout load requirements 2025-05-08 16:04:37 -04:00
GriffinR
d97fd5b2a6 Update onMapResized 2025-04-23 22:18:45 -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
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
ee0f5923ce Better error handling if saving fails 2025-04-15 17:10:32 -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
06c971360b
Merge pull request #709 from GriffinRichards/image-exporter
Update map image exporter
2025-04-07 13:04:34 -04:00
GriffinR
c9b0d139b2 Preserve custom fields in the map_sections, layouts, and connections arrays 2025-03-30 00:20:39 -04:00
GriffinR
243a6064c2 Fix more timelapse bugs, clean up 2025-03-28 15:51:24 -04:00
GriffinR
52a06d5b32 Separate MapImageExporter from Editor 2025-03-21 11:30:39 -04:00
GriffinR
8dcb66ca52 Move map/layout loaded state to Project 2025-03-16 19:29:26 -04:00
GriffinR
1375572be1 Update map list when MAPSEC/layout is changed 2025-03-14 22:26:15 -04: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
75b8b2c16c Merge branch 'dev' of https://github.com/huderlem/porymap into utility 2025-02-26 16:05:04 -05:00
GriffinR
c6c64aae15 Stop automatically saving maps/layouts on creation 2025-02-25 18:51:58 -05:00
GriffinR
1b510b6a6e Add utility.cpp, fix bug when map/layout name is just underscores 2025-02-22 15:00:06 -05:00
garak
51773926d2 resolve some goofiness 2025-02-06 13:06:30 -05:00
garak
54e41b0c20 redesign layout dimension change window 2025-02-06 13:06:30 -05:00
GriffinR
bdd64a6c6b Use applicationName() for window titles, clean up some remaining TODO items 2024-12-14 16:22:28 -05:00
GriffinR
83ef14a242 Fix some problems with layout directory creation 2024-12-03 15:22:37 -05:00
GriffinR
f1a4b78ca9 Fix map duplication 2024-11-26 20:44:43 -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
bd39bcfdd2 Begin new layout dialog redesign 2024-11-21 12:12:43 -05:00
GriffinR
b7d78b0263 Make Map members private 2024-11-12 12:44:33 -05:00
GriffinR
b89c1ddc80 Show unsaved changes warning for map list and layout-only edits 2024-10-29 21:51:05 -04:00
garak
22b4108a7f create 'add layout' button 2024-02-15 22:19:49 -05:00
garak
f4cd57c988 some code cleanup 2023-09-28 19:02:11 -04:00
garak
2ea0590f6e save changes to layouts 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
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
61256d39ca reorganize some class data 2023-09-28 19:02:10 -04:00
GriffinR
a0eff32f36 Remove more internal type conversions 2022-10-16 02:49:42 -04:00
GriffinR
3e7bfe126a Add edit history for border edits via script 2022-08-29 20:20:09 -04:00