Marcus Huderle
64004a68f2
Bootstrap stamping
2023-02-28 10:21:08 -06: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
a943b6b260
Add prefab tab and refactor metatile selection data
2022-09-05 11:35:17 -05:00
GriffinR
9963e4c8aa
Move map bounds checking to map.cpp
2022-02-08 17:10:07 -06:00
GriffinR
05fb6c03b7
Fix timing of onMapShifted
2021-12-26 11:23:45 -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
b39906c03f
Add onMapShifted to API
2021-12-26 11:23:45 -06:00
GriffinR
6613318900
Disambiguate tile field names to tileId or metatileId
2021-12-26 11:23:45 -06:00
BigBahss
c1303d98c3
Scriptapi: fix segfault in shift(), add missing flag to the caller of shift()
2021-02-16 16:51:00 -06:00
BigBahss
a3326a764b
Simplify some usages of Blockdata
2021-02-16 16:51:00 -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
Marcus Huderle
e9c4d5b73f
Fix getBlock() memory leak
2021-02-13 15:16:52 -06:00
Marcus Huderle
3c2aa5d2e9
Fix out-of-bounds array access in bucket fill
2021-02-12 17:23:45 -06:00
BigBahss
9c57a5bc46
Refactor MapRuler event handling
2020-10-24 07:45:08 -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
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
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
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
fb1eec1755
begin refactoring undo history
2020-08-26 20:03:47 -04:00
Marcus Huderle
7392105297
Early exit magic fill if it would be a no-op
2020-06-27 17:14:37 -05:00
Marcus Huderle
434bafe0b2
Call on_block_changed from more places
2020-05-03 10:48:48 -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
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
5978aedc30
Fix bug where dragging the metatile selector would visually extend beyond map boundary
2020-02-12 11:52:05 -06:00
Marcus Huderle
cfaf23aa3e
Copy collision properties when selecting metatiles from the map area
2020-02-02 16:25:37 -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
4d088766a0
Add player view rectangle option
2019-01-08 18:04:48 -06:00
Diegoisawesome
7c51f50d76
Fix segfault when using magic fill outside map
2019-01-06 12:42:24 -06:00
Diegoisawesome
060a3e359a
Magic fill collision and elevation ( #76 )
2019-01-04 20:49:21 -06:00
Diegoisawesome
bd9fc001b4
Magic fill Y check fix ( #75 )
2019-01-04 19:53:46 -06:00
Diegoisawesome
fa0ec02143
Fix fill bug
2019-01-04 18:21:41 -06:00
Diegoisawesome
c6e0d017ea
Add magic fill functionality
2019-01-04 18:21:41 -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
Marcus Huderle
6102181738
Move files into src/
2018-09-26 18:33:08 -05:00