garak
23d790cc4a
use custom model for encounter tables
2023-01-17 13:15:07 -05:00
garak
5309eb5f0e
call updateSelectedEvents only once at a time
2023-01-17 13:15:07 -05:00
garak
55c97a45d9
render collision apart from metatiles, using graphics item layering to display
2023-01-17 13:15:07 -05:00
garak
07caad3fce
add bounds to map render to prevent doing extra work when rendering only pieces of the map (eg, connections)
2023-01-17 13:15:07 -05:00
GriffinR
c233e3cd59
Fix tileset change not updating border
2023-01-16 20:23:58 -05:00
GriffinR
ab6d035ad8
Merge pull request #485 from GriffinRichards/metatile-attr
...
Allow reorganization of metatile attributes
2023-01-15 18:55:42 -05:00
GriffinR
3a4ce68232
Remove old event label functions
2022-11-27 13:15:52 -05:00
GriffinR
d2fa68ba18
Allow number values for behavior in editor, add mask warning
2022-10-27 12:58:12 -04:00
GriffinR
577dc2fce2
Simplify metatile attribute layouts
2022-10-26 21:30:25 -04:00
GriffinR
1283f5c19d
Use custom attribute masks in API and Tileset Editor
2022-10-26 03:28:30 -04:00
GriffinR
1641ac00b0
Combine attribute shift/mask data
2022-10-26 00:39:46 -04:00
GriffinR
fa2b4d3edb
Allow custom metatile attribute layouts
2022-10-25 22:35:26 -04:00
GriffinR
5ba3720405
is_secondary to bool
2022-10-24 00:02:27 -04:00
Marcus Huderle
7b66537d01
Merge pull request #479 from GriffinRichards/fix-json
...
Better type conversion for JSON data
2022-10-22 12:57:17 -05:00
GriffinR
4c3a508534
Better type conversion custom event attributes
2022-10-18 19:52:35 -04:00
GriffinR
5f3efdc7a4
Rewrite heal location data writing
2022-10-18 17:14:46 -05:00
GriffinR
43d0dc1e7b
Rewrite heal location data reading
2022-10-18 17:14:46 -05:00
GriffinR
8e6585bbb2
Treat warp IDs as strings, stop deleting invalid warps
2022-10-18 13:44:45 -04:00
GriffinR
e2a31336c5
Merge branch 'master' of https://github.com/huderlem/porymap into fix-json
2022-10-17 22:20:06 -04:00
GriffinR
a0eff32f36
Remove more internal type conversions
2022-10-16 02:49:42 -04:00
GriffinR
ec626a59a7
Display custom header values according to type
2022-10-15 11:40:04 -04:00
GriffinR
6ffcb58e5e
Convert JSON values by type, except events
2022-10-15 03:22:13 -04:00
GriffinR
239f3935bf
Stop treating map header bools as strings
2022-10-14 18:11:11 -04:00
garak
00504817db
add methods for updating frame ui
2022-10-13 22:30:07 -04:00
garak
cb6d1a4220
indicate map edited when event data is modified
2022-10-13 22:30:07 -04:00
garak
43960d4e9e
add open script button next to script labels
2022-10-13 22:30:07 -04:00
garak
582405d68b
change Event class design in favor of polymorphism
2022-10-13 22:30:07 -04:00
GriffinR
fbe5427c0b
Prevent some script edit feedback loops
2022-10-11 22:50:08 -04:00
GriffinR
c953a15523
Move error logging out of gameStringToBool
2022-10-10 11:38:17 -05:00
GriffinR
c58162be96
Support C tileset data without initializers
2022-10-10 11:38:17 -05:00
GriffinR
374da65b7f
Clean up tileset C parsing
2022-10-10 11:38:17 -05:00
GriffinR
9b4c55106b
Read tileset graphics paths from C
2022-10-10 11:38:17 -05:00
GriffinR
efd49cd544
Read tileset headers from C data
2022-10-10 11:38:17 -05:00
GriffinR
ebdf22145d
Generalize C struct parsing
2022-10-10 11:38:17 -05:00
GriffinR
3181523799
Add convenience functions for triple layer metatiles
2022-10-04 17:50:39 -05:00
GriffinR
c2e4fcde8f
errorMap to QHash
2022-09-27 18:22:41 -05:00
GriffinR
d353164244
Suppress errors for unneeded defines
2022-09-27 18:22:41 -05:00
Marcus Huderle
fe02c7ea70
Merge pull request #448 from GriffinRichards/handle-collision
...
Various minor API improvements
2022-09-03 12:49:07 -05:00
GriffinR
3e7bfe126a
Add edit history for border edits via script
2022-08-29 20:20:09 -04:00
GriffinR
21ed9bc140
Add onBorderMetatileChanged, onBorderResized, implement some basic border API
2022-08-29 12:57:20 -04:00
GriffinR
aad1266e91
Tile properties to bitfield
2022-08-26 19:30:40 -04:00
GriffinR
778cc2ba47
Fix API crashes on bad palette ids / tile numbers
2022-08-26 18:55:19 -04:00
garak
635f1325a2
cleanup palette editor code
2022-07-11 22:06:17 -04:00
garak
13603901e2
fix config update crash, add real swap & rename old swap to replace
2022-06-29 22:15:21 -04:00
garak
813845e0da
address feedback, fix oversights
2022-06-29 22:15:21 -04:00
garak
c76f6a8049
code cleanup: finish rme update core
2022-06-29 22:15:21 -04:00
garak
aeb56e579c
support ruby in rme
2022-06-29 22:15:21 -04:00
garak
f7a0e02f95
resize region map tilemaps
2022-06-29 22:15:21 -04:00
garak
cff77ad58e
update swap section feature for rme
2022-06-29 22:15:21 -04:00
garak
e82ff92b2b
add/remove map section entry in region map editor
2022-06-29 22:15:21 -04:00
garak
fa01768962
add history for region map layout size and mapsec entry edits
2022-06-29 22:15:21 -04:00
garak
2b152ce64e
create edit history for region map tilemap and layout
2022-06-29 22:15:21 -04:00
garak
43ebeb1662
region maps: save layouts, save tilemaps
2022-06-29 22:15:21 -04:00
garak
1334369906
begin overhaul of region map editor
...
- use a configurator to give users more options
- support firered (tilemaps, layout layers)
- add support for 4bpp and 8bpp tilemaps
- use new region map entries json format
- temporarily disabled city tilemap editor code
2022-06-29 22:15:21 -04:00
GriffinR
73eabc92ca
Prevent duplicate metatile pastes in the tileset editor
2022-06-29 19:13:42 -04:00
GriffinR
af0abaa38d
Add getIndexOffset, change expected event fields to QSet
2022-02-09 18:31:55 -06:00
GriffinR
b01581dc4d
Add clone objects
2022-02-09 18:31:55 -06:00
GriffinR
9963e4c8aa
Move map bounds checking to map.cpp
2022-02-08 17:10:07 -06:00
GriffinR
f92950c46d
Move tile value masks to tile.cpp
2022-02-08 16:26:19 -06:00
GriffinR
cf973710c8
Preserve unused metatile attributes
2022-02-08 16:26:19 -06:00
GriffinR
ddc0f01460
Stop repeated parsing of src/data/object_events
2022-01-29 12:26:39 -06:00
GriffinR
1abdb301c1
Fix 'getBlock' functions use for tiles, add getTilePixels to API
2022-01-05 11:07:27 -06:00
GriffinR
de0a5b526b
Don't change frame for inanimate objects
2021-12-27 16:56:31 -06:00
GriffinR
8f62268d00
Trigger onBlockChanged for blocks changed by undo/redo
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
GriffinR
ce12a1e017
Add setMetatile functions to API (layerType, encounterType, terrainType, Behavior, Tile)
2021-12-26 11:23:45 -06: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
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
garak
fc0c404836
remove some commented old code
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
garak
47887aca4d
add edit command for event pastes
2021-05-03 15:48:21 -04:00
BigBahss
61ffcc3259
Merge branch 'master' into script-editing
2021-04-16 07:28:09 -04:00
BigBahss
a68a9baf2e
Fix Tileset copy construction/assignment
2021-03-07 19:17:17 -05: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
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
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
6335151c39
Add option to open log file
2021-02-03 16:01:54 -06:00
BigBahss
d2386fac9b
Add functions to parse all global event scripts labels in the project
2021-01-29 22:05:08 -05:00
Marcus Huderle
9439dc76d2
Only include relevant frames in the timelapse animation
2021-01-20 19:27:50 -06:00
Marcus Huderle
d63bebee69
Merge remote-tracking branch 'origin/master' into fix827
...
# Conflicts:
# src/mainwindow.cpp
2020-12-14 17:57:30 -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
62f73bee04
Populate scripts comboboxes with scripts found in map.json
2020-12-01 16:32:08 -05:00
BigBahss
a4528fb0d9
Add support for opening .pory scripts to the selected event script
2020-11-26 06:09:58 -05:00
BigBahss
4aaae1a264
Add support for opening .inc scripts to the selected event script
2020-11-22 01:04:46 -05:00