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
beb1f6ef27
Log more script errors
2021-12-26 11:23:45 -06:00
GriffinR
c6cec5f848
Preserve invalid metatile selections
2021-12-26 10:18:25 -06:00
GriffinR
7368f443f0
Add config options for showing border/grid
2021-11-08 13:11:16 -05:00
garak
f64b03d684
Merge pull request #306 from ultima-soul/import_amap_map
...
Add Import Map from Advance Map 1.92 feature.
2021-11-08 13:10:44 -05:00
garak
7bf07e72c2
better unsaved changes code, only block whitespace in combos
2021-09-08 17:39:38 -04:00
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
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
fc0c404836
remove some commented old code
2021-07-22 12:23:21 -04: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
b35e1d9af9
Use more sensible zoom levels, which eliminates zoom rendering artifacts
2021-07-07 18:11:35 -05:00
Marcus Huderle
6f394ce39c
Code fixes for Qt 6
2021-07-07 18:11:35 -05:00
garak
39648eed41
add copy paste to edit menu
2021-05-03 15:48:21 -04:00
garak
47887aca4d
add edit command for event pastes
2021-05-03 15:48:21 -04:00
garak
296d697df0
add copy paste to some aspects of porymap
...
- can copy currently selected metatiles
- can copy currently selected events
- can copy an image of the current map
- what is copied depends on the currently focused widget
- copied objects can be pasted into other instances of porymap
- copied images live on in the clipboard, cannot be pasted into porymap
TODO:
- shortcut in Edit menu
- other things can be copied?
2021-05-03 15:48:21 -04:00
BigBahss
e310732169
Make eventScriptLabelModel and eventScriptLabelCompleter into values rather than pointers
2021-04-16 09:04:38 -04:00
BigBahss
f72d4bda50
Fix duplicate event script label completions
2021-04-16 08:22:05 -04:00
BigBahss
61ffcc3259
Merge branch 'master' into script-editing
2021-04-16 07:28:09 -04: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
a68a9baf2e
Fix Tileset copy construction/assignment
2021-03-07 19:17:17 -05:00
BigBahss
f166652ccc
Revert 80c5f74368
and validate map group
2021-02-21 08:47:03 -06:00
BigBahss
b0e3b862e1
Remove unused addNewMapToGroup() overload
2021-02-21 08:44:41 -06:00
GriffinR
02af128913
Add setting to disable/enable map text file creation
2021-02-19 07:29:26 -06:00
BigBahss
d5270df3b6
Remove unnecessary QObject inheritance
2021-02-18 16:27:32 -06:00
huderlem
6ebf1b54a8
Merge pull request #352 from BigBahss/convert-to-namespace
...
Convert stateless classes into namespaces
2021-02-18 16:26:32 -06:00
BigBahss
f989563cc0
Correct UB in Map construction
2021-02-18 03:51:44 -05:00
BigBahss
c3718e28be
Convert MetatileParser into a namespace
2021-02-18 03:38:34 -05:00
BigBahss
bc2cc7d089
Convert PaletteUtil into a namespace
2021-02-18 03:25:26 -05:00
Marcus Huderle
c351f069ff
Merge remote-tracking branch 'origin/master' into metatile-leaks
2021-02-17 16:56:15 -06:00
BigBahss
fdd12cde25
Refactor ParseUtil to stop using pointers and output-parameters
2021-02-17 16:34:46 -06:00
BigBahss
fa8b387120
Fix some more memory leaks related to parseAsm()
2021-02-17 16:34:46 -06:00
BigBahss
d9340d3b73
Add parentWidget() to Project to avoid name-shadowing the parent member
2021-02-17 16:34:46 -06:00
BigBahss
9a9143500f
Convert remaing pointers in Project to values
2021-02-17 16:34:46 -06:00
BigBahss
820b514f26
Change many pointer members in Project to values
2021-02-17 16:34:46 -06:00
BigBahss
cc7a5f5819
Fix memory leaks in Tileset
2021-02-16 21:45:54 -05: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
BigBahss
6a825d0b39
Use implicit copy constructor/assignment for Metatile
2021-02-16 13:22:41 -05:00
BigBahss
8187b2d4bb
Plug leaks in Metatile
2021-02-16 12:14:27 -05:00
BigBahss
40a7e23b34
Remove undefined functions in Editor
2021-02-16 09:22:26 -05:00
BigBahss
fe5d4982f7
Use QPointer when we need to set a nullptr on destruction
2021-02-16 08:26:09 -05:00
BigBahss
c103142c65
Silence deprecated-copy warning
2021-02-14 12:39:14 -05:00
Marcus Huderle
e9c4d5b73f
Fix getBlock() memory leak
2021-02-13 15:16:52 -06:00
BigBahss
36a6212af6
Store recent map in ProjectConfig instead of PorymapConfig
2021-02-03 16:13:36 -06:00