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
garak
00504817db
add methods for updating frame ui
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
8ac556c0de
properly hide configurable event ui
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
GriffinR
2b78330660
Improve API text rendering speed
2022-10-13 09:55:48 -07: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
564d24c4f3
Simplify TilesetEditorMetatileSelector::buildImage
2022-10-05 18:53:31 -05:00
GriffinR
b0e12170fb
Add image export for metatileset
2022-10-05 18:53:31 -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
1b743f9625
Replace offset in createImage with x/y offset
2022-10-01 17:43:50 -05:00
Marcus Huderle
ddf0fe4e11
Display 'prefab selected' tooltip when selecting a prefab for painting
2022-09-27 18:22:08 -05:00
Marcus Huderle
c81829cd3f
Merge remote-tracking branch 'griffin/api-redesign'
2022-09-24 15:48:42 -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
GriffinR
126d264982
Merge branch 'master' into api-redesign
2022-09-12 13:01:22 -04: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
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
a3dadadd5b
Reorganize overlay functions under MapView
2022-09-04 22:36:35 -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
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
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
441db4274e
Merge branch 'master' into label-copy
2022-06-30 00:41:10 -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
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
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
304b00b0f3
Add copy/paste to tileset editor
2022-06-29 19:13:42 -04:00
GriffinR
d1883720c9
Add metatile label copy button
2022-02-10 09:53:04 -05:00
GriffinR
b01581dc4d
Add clone objects
2022-02-09 18:31:55 -06:00
GriffinR
2f6de2a285
Fix selected collision space not updating during paint
2022-01-14 14:01:10 -06:00
GriffinR
fd88184b47
Add opacity to scripting overlay
2022-01-01 16:39:32 -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
8ed891d501
Add option to bypass the API image cache
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
03949d45a4
Add paletteId to createImage
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
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
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
c6cec5f848
Preserve invalid metatile selections
2021-12-26 10:18:25 -06: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
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
Marcus Huderle
6f394ce39c
Code fixes for Qt 6
2021-07-07 18:11:35 -05: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
BigBahss
f166652ccc
Revert 80c5f74368
and validate map group
2021-02-21 08:47:03 -06:00
BigBahss
d5270df3b6
Remove unnecessary QObject inheritance
2021-02-18 16:27:32 -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
BigBahss
1d29a53237
Merge remote-tracking branch 'origin/master' into script-editing
2020-12-13 00:30:22 -05: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
789fe7d00c
Merge remote-tracking branch 'origin/master' into script-editing
2020-12-01 16:43:53 -05: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
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
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
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
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
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
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
8b7f4069cd
Save & restore palette editor geometry & state from config
2020-10-22 18:44:22 -05:00
BigBahss
bb61dc9b51
Add dynamic FlowLayout class
2020-10-20 14:41:51 -04:00
BigBahss
fb5e35bd5f
Use Metatile::coordFromPixmapCoord() in all remaining cases
2020-10-02 15:32:22 -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
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
ultima-soul
38e7951f3e
Add Import Map from Advance Map 1.92 feature.
2020-09-19 12:05:27 -07:00
garak
40078888f8
show or hide rects immediately with shortcuts
2020-09-07 14:06:07 -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
27c9fec0b4
Fix collision straight paths and general improvement
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
garakmon
68098b8220
silence deprecation warnings
2020-08-26 20:42:42 -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
4c154501f1
fix multi event deletion crash, allow spinboxes to commit move history
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
3312280287
Fix 1x1 layer tile selection not highlighting
2020-07-23 19:30:48 -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
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
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
8b600fb59c
Ignore invalid metatiles in selection calls to metatile selectors
2020-07-08 17:35:59 -04:00
GriffinR
b04638b4cf
Validate metatile selection when changing tilesets
2020-07-08 17:35:59 -04: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
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
garakmon
482d3cd8fb
fix map dimension checks in new map window
2020-05-18 17:25:53 -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
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
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
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
Marcus Huderle
bb6dbedabf
Add ability to export map stitch images.
2020-04-20 20:29:07 -05:00
GriffinR
8c428c578b
Merge branch 'master' into pokefirered
2020-04-19 09:48:21 -04: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
GriffinR
e9210f96aa
Merge branch 'master' into pokefirered
2020-03-29 13:15:23 -04:00
GriffinR
3ff5483267
Correctly initialize palette for palette editor
2020-03-23 21:12:56 -05:00