garak
0b63c438dd
mark unsaved changes to map for heaeder and event edits
...
closes #305
closes #337
closes #347
2021-09-08 17:39:38 -04:00
garak
6c3ee3c46d
order wild encounter json reading
2021-08-12 20:24:46 -04:00
Marcus Huderle
b35e1d9af9
Use more sensible zoom levels, which eliminates zoom rendering artifacts
2021-07-07 18:11:35 -05:00
BigBahss
820b514f26
Change many pointer members in Project to values
2021-02-17 16:34:46 -06:00
BigBahss
f09e28f06c
Convert usages of Blockdata pointers
2021-02-16 16:51:00 -06:00
BigBahss
42b56edc9d
Begin refactoring Blockdata to simply inherit QVector<Block>
2021-02-16 16:51:00 -06:00
BigBahss
51dccf7773
Upgrade signal/slot connections in Editor
2021-02-14 11:09:39 -06:00
BigBahss
6335151c39
Add option to open log file
2021-02-03 16:01:54 -06:00
BigBahss
a924938b9b
Fix text editor commands for file-paths containing spaces
2020-12-30 18:13:12 -06:00
BigBahss
3a04f59cb0
Fix QProcess::splitCommand() dependency on Qt 5.15.
...
Fix shortcut for Open Map Scripts (Due to merge).
2020-12-13 04:00:00 -05:00
BigBahss
520bd7e6c8
Fix external processes on Windows
2020-12-13 00:06:50 -05:00
BigBahss
7a4de9f3d9
Add support for finding and opening any event script
2020-12-04 09:29:38 -05:00
BigBahss
afc0c0c501
Add button next to script combo-box to open file to that script.
...
Revert the behavior of Open Map Scripts button.
2020-12-02 03:39:08 -05:00
BigBahss
789fe7d00c
Merge remote-tracking branch 'origin/master' into script-editing
2020-12-01 16:43:53 -05:00
BigBahss
dbafb99fd4
Add action to open the project root in a text editor
2020-12-01 07:12:32 -05:00
BigBahss
a4528fb0d9
Add support for opening .pory scripts to the selected event script
2020-11-26 06:09:58 -05:00
Ashley Coleman
7ea3dd6468
Fix formatting variables
2020-11-22 16:34:30 -06:00
Ashley Coleman
8567d161b5
Add defensive checks on index and iterators
2020-11-22 16:34:30 -06:00
Ashley Coleman
49737d16cc
Implement delete for wild encounter table
2020-11-22 16:34:30 -06:00
BigBahss
b9aaef24c6
MapRuler: Fix artifacting, fix centering for other thickness values
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
4aaae1a264
Add support for opening .inc scripts to the selected event script
2020-11-22 01:04:46 -05:00
BigBahss
5927f3dd7b
Fix bug preventing map zoom resetting
2020-11-01 08:11:46 -06: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
Marcus Huderle
8ab5bfcdbd
Merge remote-tracking branch 'origin/master' into better-map-zoom
2020-10-23 18:38:05 -05:00
BigBahss
2a37c18612
Fix connection mask palette color
2020-10-23 00:43:25 -04:00
BigBahss
89e3ef16b4
Fix crash when setting map connection to "None"
2020-10-14 19:18:24 -05:00
BigBahss
2f20a5d0b3
Hide connection tiles that cant be seen from current map
2020-10-14 01:57:59 -04:00
BigBahss
ef9c4c73c3
Remove scrollArea surrounding graphicsView_Map
2020-10-13 10:14:16 -04:00
BigBahss
5247dd18c0
Refactor map zooming into the Editor
2020-10-13 06:07:31 -04:00
BigBahss
fb5e35bd5f
Use Metatile::coordFromPixmapCoord() in all remaining cases
2020-10-02 15:32:22 -04:00
BigBahss
e2dd4fb76b
Disable MapRuler when switching tool buttons
2020-10-02 14:06:58 -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
ca6969564f
Add MapRuler (right-click & drag in events view)
2020-09-25 11:53:07 -04:00
BigBahss
698e4e38e7
Add clear buttons to all QLineEdit text boxes
2020-09-13 08:34:36 -05:00
BigBahss
2fd3df9734
Remove straight paths checkbox and refactor
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
garakmon
68098b8220
silence deprecation warnings
2020-08-26 20:42:42 -04:00
garakmon
1151f9fc26
make some performance improvements to event rendering
2020-08-26 20:03:47 -04:00
garakmon
98c3298805
add edit command for duplicating events
...
- also select next event when performing redo actions on deletion
2020-08-26 20:03:47 -04:00
garakmon
2598ca2277
edit commands for creating and deleting events
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
garak
2e077b45c7
fix scene scaling for metatile selection, replace deprecated setMatrix with setTransform
2020-08-15 19:30:46 -04:00
Marcus Huderle
7d70505b90
Fix crash when opening new project
2020-07-14 18:10:55 -05:00
GriffinR
e518e2c554
Prevent heal locations from being duplicated
2020-07-13 19:08:46 -05:00
GriffinR
1b832929b2
Enforce limit for object events
2020-07-13 19:08:46 -05:00
GriffinR
ea2bfa7274
Add duplicate shortcut for events
2020-07-13 19:08:46 -05:00
Marcus Huderle
dac4a0e8f7
Add scripting api for metatile layer draw order
2020-07-01 20:19:08 -05:00
GriffinR
2e29e19605
Fix sprite transparency not updating when changing object event graphics
2020-06-30 10:12:04 -05:00
GriffinR
32726d4a6a
Show mouse coords in map event editor
2020-06-02 18:21:23 -05:00
GriffinR
6cb1c532a4
Show metatile label names in map editor
2020-06-02 18:21:23 -05:00
Marcus Huderle
2f533a86b2
Optimize displayMapEvents()
2020-05-21 19:11:37 -05:00
Marcus Huderle
81cd43933b
Eliminate unnecessary expensive map redraws when saving or changing tilesets
2020-05-20 19:21:18 -05:00
Marcus Huderle
93661bbe1b
Fix crash when painting an event when no existing events exist for the map
2020-05-18 17:25:53 -05:00
garakmon
4ee22fa06a
decouple map and event edit modes
2020-05-18 17:25:53 -05:00
GriffinR
53ba6f5ab9
Warn when closing with unsaved encounter changes
2020-05-11 17:11:01 -05:00
Marcus Huderle
e0afb24002
Merge remote-tracking branch 'origin/master' into scripting
2020-05-08 11:35:58 -05:00
GriffinR
ac92534576
Disallow drawing heal locations
2020-05-08 11:34:40 -05:00
GriffinR
399474c1f2
Fix heal loc duplicates, rename flyableMaps
2020-05-08 11:34:40 -05:00
Marcus Huderle
8697adf186
Add true tileset scripting functions
2020-05-03 10:00:56 -05:00
Marcus Huderle
6a27536cbb
Automatically select the newly-created event via the Pencil tool
2020-04-26 19:47:57 -05:00
garakmon
333fe69dd8
keep selected tool when switching tabs
2020-04-26 18:55:18 -04:00
garakmon
9e883a8a2f
remember edit mode in map tab
2020-04-26 16:18:25 -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
huderlem
c0674d9676
Merge pull request #200 from garakmon/closeproject
...
Fix Open Project & Monitor Changed Project Files
2020-04-25 16:28:02 -05:00
GriffinR
a3d10ef306
Set border visibility after redo/undo
2020-04-25 16:15:34 -05:00
garak
03082e5920
Merge branch 'master' into closeproject
2020-04-20 22:05:28 -04:00
garak
4a23c90695
Merge pull request #205 from garakmon/encord
...
use ordered map for wild encounter json
2020-04-20 14:27:47 -04:00
garakmon
ca5a0247f7
delete project with editor
2020-04-20 14:07:06 -04:00
garakmon
c0bffa0107
add some destructors, prevent value set on combobox update
...
- add destructors to Project and Editor
- properly close project when opening a new one
- when reloading comboboxes, do not set map values
with the new first item
2020-04-20 14:07:06 -04:00
garakmon
e5122ef94f
use ordered map for wild encounter json
2020-04-20 14:04:34 -04:00
GriffinR
129db88453
Minor cleanup
2020-04-06 12:09:45 -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
e4a41cf201
Align border blocks
2020-04-03 16:29:40 -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
Marcus Huderle
2df0ac7d16
Show alert windows when a fatal map-loading error occurs
2020-02-12 11:23:28 -06:00
Marcus Huderle
cd9b8b12a5
Validate map layout and tileset loading
2020-02-12 10:22:40 -06:00
garak
2f21f83217
draw map connections with current map tilesets
2019-11-04 18:44:57 -05:00
garak
a7e6dd9ebf
add warning when encounter slot total exceeds 8 bytes
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
91b498ee62
configuring encounter JSON applies changes to all mon data
2019-10-16 20:04:19 -05:00
garak
797ec63e23
encounter slot minimum chance is 1, not 0
2019-10-16 20:04:19 -05:00
garak
b1509cb000
make wild encounter windows obey theme
2019-09-21 12:27:05 -05:00
garak
303cf37b48
fix encounter field slot change config limits
...
- add min and max value limits *before* setting value
2019-09-21 12:37:02 -04:00
garak
96020c21dd
change encounterRate slider to a spin box
2019-09-09 23:51:37 -04:00
garak
267c71d40e
clean wild encounter code
2019-09-09 18:26:54 -04:00
garak
78a6944a3c
configure field JSON
2019-09-09 18:26:54 -04:00
garak
3c2b7a8df7
fix copy from existing encounter group function
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
d7dae219b1
fix saving for multi encounter group maps
2019-09-09 18:26:54 -04:00
garak
5a62df9f55
add json saving to wild encounter editor
2019-09-09 18:26:54 -04:00
garak
4b0e0b0bff
continue work on wild encounter editor
2019-09-09 18:26:54 -04:00
garak
1369113a1b
add encounter rate slider to wild mon tables
2019-09-09 18:26:54 -04:00
garak
ce002bcb4d
speed up combobox load for wild mons
2019-09-09 18:26:54 -04:00
garak
3f9ad3afbb
extend wild encounter tab for all fields (dynamic)
2019-09-09 18:26:54 -04:00
garak
0ad71286b1
begin work on wild pokemon editor
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
f89804dd16
silence compiler warnings
2019-08-06 23:35:02 -04:00
garak
eb3964bcc3
improve way selected events are rendered on top
2019-05-09 18:06:34 -05:00
garak
4774def5cd
draw selected event on top when stacked
2019-04-29 19:38:40 -05:00
huderlem
e91df38714
Merge pull request #77 from garakmon/rme
...
Region Map Editor
2019-04-06 19:59:08 -05:00
garak
0a0eaba788
draw sprites based on movement type
2019-04-06 17:04:41 -05:00
garak
4628fe400b
double click on secret base acts as warp
2019-04-06 16:42:27 -05:00
garak
da5048a616
use project values for new event defaults
2019-04-06 16:36:48 -05: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
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
0f02d7b955
fix saving region map layout
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
a894bea71b
Support custom fields for top-level map attributes
2019-02-04 20:53:35 -06:00
Marcus Huderle
94686e6f0a
Support map JSON data
2019-02-04 20:53:35 -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
Diegoisawesome
a04db82c2b
Make events (besides objects with valid sprites) partially transparent ( #86 )
...
* Make events transparent
* Change which events are transparent
2019-01-10 19:59:41 -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
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
Diegoisawesome
c6e0d017ea
Add magic fill functionality
2019-01-04 18:21:41 -06:00
Marcus Huderle
b2053e593f
Merge remote-tracking branch 'diego/tabbed_events'
2018-12-20 17:35:59 -06:00
Marcus Huderle
40257193a4
Don't crash on startup if recent map can't be loaded. Write logs to porymap.log file
2018-12-20 17:30:35 -06:00
Diegoisawesome
15e16798fc
Fix double event select change
2018-11-30 00:24:56 -06:00
Marcus Huderle
2d3a10fdd8
Fix bug where map border became visible after editing the border metatiles when 'show borders' is disabled
2018-10-06 17:11:40 -05:00
Marcus Huderle
3ca284d5f3
Add ability to import new tiles
2018-10-02 19:01:24 -05:00
Marcus Huderle
8d38783833
Add ability to save tileset changes
2018-10-02 19:01:15 -05:00
Marcus Huderle
9abda07c48
Add Tileset Editor window
2018-09-29 14:13:07 -05:00
Marcus Huderle
7e6726bef7
Round zoom number display to 1 decimal place
2018-09-29 09:13:54 -05:00
Diegoisawesome
02fd5bbea6
Merge branch 'master' into refactor
2018-09-27 13:36:27 -05:00
Marcus Huderle
6102181738
Move files into src/
2018-09-26 18:33:08 -05:00