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
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
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
bb61dc9b51
Add dynamic FlowLayout class
2020-10-20 14:41:51 -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
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
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
698e4e38e7
Add clear buttons to all QLineEdit text boxes
2020-09-13 08:34:36 -05: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
939ec2520d
Simplify lockNondominantAxis() and add comment
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
27c9fec0b4
Fix collision straight paths and general improvement
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
e597192cc0
Temporarily disable smart paths when checked and shift held ( closes #294 )
2020-09-07 12:16:45 -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
2b55e49933
fix bucket fills for CollisionPixmapItem
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
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
GriffinR
79e384ef76
Fix metatile selection not updating properly when changing tilesets
2020-08-19 15:13:37 -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
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
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
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
257405f451
Unsaved changes prompt for tileset editor when switching tilesets or maps
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
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
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
Marcus Huderle
b7d1db61a8
Remove pointless check on metatile layer mouse event
2020-06-28 16:36:55 -05:00
Marcus Huderle
7392105297
Early exit magic fill if it would be a no-op
2020-06-27 17:14:37 -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
debb1c66ac
Implement proper triple metatile layer support.
2020-06-26 16:22:15 -05:00
GriffinR
dd91e29e85
Fix exported tileset images using x/y flip
2020-06-15 16:43:21 -05:00
GriffinR
125a287b9c
Add config options for some project-specific features
2020-05-27 18:58:43 -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
GriffinR
731fbce6af
Read MAX_MAP_DATA_SIZE
2020-05-16 18:26:39 -05:00
GriffinR
53ba6f5ab9
Warn when closing with unsaved encounter changes
2020-05-11 17:11: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
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
Marcus Huderle
267cd5e2cb
Implement proof of concept for scripting capabilities
2020-04-29 19:46:01 -05:00
Marcus Huderle
16b451ab19
Extend min/max connection offsets to player's view
2020-04-28 19:38:40 -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
garak
bf58549666
update midnight theme disabled widgets, disable some ui in event tab
2020-04-26 16:17:51 -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
GriffinR
1b3d4a44e0
Forbid . and - in new tileset names
2020-04-20 17:39:31 -05: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
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
garakmon
d3c212edb3
allow TAB key to navigate through encounter table widget
2020-04-08 22:12:20 -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
e9210f96aa
Merge branch 'master' into pokefirered
2020-03-29 13:15:23 -04:00
GriffinR
0fb483b5d3
Editable trainer type, minor fixes
2020-03-26 15:11:42 -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
3fa77609c6
Remove hard-coded new map constants
2020-03-16 03:57:39 -04:00
GriffinR
c0a512803e
Allow editing border dimensions
2020-03-14 18:06:35 -04:00
GriffinR
629abd3c06
Support reading/displaying custom border sizes
2020-03-13 02:23:47 -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
342bcae174
Add better error handling for region map editor loading
2020-02-12 15:45:21 -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
Marcus Huderle
cd9b8b12a5
Validate map layout and tileset loading
2020-02-12 10:22:40 -06:00
Marcus Huderle
cfaf23aa3e
Copy collision properties when selecting metatiles from the map area
2020-02-02 16:25:37 -06:00
Diegoisawesome
67f8b09c6e
Fix tileset image export on exact multiple of 16 tiles
2019-11-30 08:24:43 -06:00
garak
8f218c8c2b
fix inconsistent table header text size
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
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
96020c21dd
change encounterRate slider to a spin box
2019-09-09 23:51:37 -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
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
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
b9ba7777d3
fix typo / bad error message
2019-09-08 20:26:39 -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
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
7a239fafda
fix tile image export
2019-08-13 22:28:20 -04:00
garak
ee5d85b171
fix new map layout dir creation and erroneous error
2019-08-07 11:17:20 -04:00
garak
f89804dd16
silence compiler warnings
2019-08-06 23:35:02 -04:00
garak
5470ade7bb
improve combobox speed and autocompletion
2019-08-06 21:50:03 -04:00
Marcus Huderle
e501a92c30
Fix exporting tileset images with duplicate-color palettes
2019-06-17 12:00:31 -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
24562fdaae
handle un-numbered map groups when creating new maps
2019-05-20 22:33:28 -04:00
garak
2cc5a92cc8
disallow region map entries to have out of bounds dimensions
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
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
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