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
GriffinR
bf72ecede9
Parse remaining pokefirered metatile attributes, allow editing/saving them
2020-03-16 16:31:08 -04:00
GriffinR
a5c47b6333
Disable RME(temporarily), secret bases, and weather triggers for pokefirered
2020-03-12 12:30:37 -04:00
Marcus Huderle
342bcae174
Add better error handling for region map editor loading
2020-02-12 15:45:21 -06:00
Marcus Huderle
cfaf23aa3e
Copy collision properties when selecting metatiles from the map area
2020-02-02 16:25:37 -06:00
garak
55573099b5
keep track of encounter data when navigating porymap
2019-10-16 20:04:19 -05:00
garak
267c71d40e
clean wild encounter code
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
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
b990e661e3
remove old comment
2019-08-07 11:27:52 -04:00
garak
f89804dd16
silence compiler warnings
2019-08-06 23:35:02 -04:00
Marcus Huderle
e501a92c30
Fix exporting tileset images with duplicate-color palettes
2019-06-17 12:00:31 -05:00
garak
f750c56e29
create map image export window
2019-05-23 16:43:07 -05:00
garak
c189d2fac8
revert hideArrow() function, fix rme swap window
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
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
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
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
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
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
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
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
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
c4ad0971d0
Support custom fields for all event types
2019-02-04 20:53:35 -06:00
Marcus Huderle
94686e6f0a
Support map JSON data
2019-02-04 20:53:35 -06:00
garak
596216d5fb
remove first map tile outline on project open
2019-01-20 10:46:15 -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
Marcus Huderle
61b919566a
Add option to show an outline around the currently-hovered map tile
2019-01-09 09:35:34 -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
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
Marcus Huderle
022dc899da
Add transparency slider for overlayed collision tiles on the map
2019-01-06 12:53:36 -06:00
Marcus Huderle
cd37192657
Fix palette editor crash
2019-01-06 09:43:54 -06:00
Marcus Huderle
f1caa03c6c
Add ability to export tileset tiles image
2019-01-05 15:52:55 -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
Diegoisawesome
060a3e359a
Magic fill collision and elevation ( #76 )
2019-01-04 20:49:21 -06:00
Diegoisawesome
c6e0d017ea
Add magic fill functionality
2019-01-04 18:21:41 -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
08ff21e415
Properly create new emerald map headers. Use 'trigger' instead of coord script, trap, etc.
2018-12-26 15:36:44 -06: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
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
61ec1af0fb
Add tileset palette editor
2018-10-02 19:01:41 -05:00
Marcus Huderle
303f31f3d4
Add ability to change tileset metatile counts
2018-10-02 19:01:37 -05:00
Marcus Huderle
cf150f3ce9
Ask user about unsaved changes when closing tileset editor window
2018-10-02 19:01:31 -05:00
Marcus Huderle
da13b8ea5e
Enable multi-tile selections in tileset editor
2018-10-02 19:01:27 -05:00
Marcus Huderle
3ca284d5f3
Add ability to import new tiles
2018-10-02 19:01:24 -05:00
Marcus Huderle
0c7ecebe0b
Keep tileset editor in sync with currently opened map
2018-10-02 19:01:18 -05:00
Marcus Huderle
8d38783833
Add ability to save tileset changes
2018-10-02 19:01:15 -05:00
Marcus Huderle
428548b7e1
Add metatile attribute editing, and add tileset saving
2018-10-02 19:01:09 -05:00
Marcus Huderle
322238c7b8
Add metatile layer item
2018-09-30 16:15:04 -05:00
Marcus Huderle
ffd769f7ed
Add palette and flip selectors to tileset editor
2018-09-30 14:54:38 -05:00
Marcus Huderle
0bc3513b15
Add tile selector to Tileset Editor window
2018-09-30 12:33:58 -05:00
Marcus Huderle
990a4aafb7
Add metatile selector in tileset editor window
2018-09-29 15:24:35 -05:00
Marcus Huderle
9abda07c48
Add Tileset Editor window
2018-09-29 14:13:07 -05:00
Marcus Huderle
497f069d20
Restructure source tree
2018-09-29 09:10:23 -05:00