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
garakmon
f791157adc
add #pragma once to include files
2020-10-24 15:51:10 -04:00
BigBahss
9c57a5bc46
Refactor MapRuler event handling
2020-10-24 07:45:08 -04:00
BigBahss
84f920bb03
Add static Metatile::coordFromPixmapCoord()
2020-09-27 12:17:12 -04:00
ultima-soul
38e7951f3e
Add Import Map from Advance Map 1.92 feature.
2020-09-19 12:05:27 -07:00
garakmon
68098b8220
silence deprecation warnings
2020-08-26 20:42:42 -04:00
garakmon
3c5401551d
add Map class destructor to manage Event memory
2020-08-26 20:03:47 -04:00
garakmon
1151f9fc26
make some performance improvements to event rendering
2020-08-26 20:03:47 -04:00
garakmon
2a11760afd
fix error in script edit command
2020-08-26 20:03:47 -04:00
garakmon
d671470cb0
fix PaintMetatile subclass issues
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
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
c3defd6887
small fixes
...
- connect DEL key to event deletion action
- update checks for unsaved changes to map
- add an asterisk next to the map name in the
window title when a map has unsaved changes
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
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
GriffinR
00ad1ec22a
Fix flags being listed out of order
2020-07-14 17:44:33 -05:00
GriffinR
ea2bfa7274
Add duplicate shortcut for events
2020-07-13 19:08:46 -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
99b95882fe
Object event coords from unsigned to signed
2020-05-15 15:57:27 -05:00
Marcus Huderle
0ef3c6a898
Add palette preview scripting commands
2020-05-03 10:31:44 -05:00
Marcus Huderle
8697adf186
Add true tileset scripting functions
2020-05-03 10:00:56 -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
GriffinR
8c428c578b
Merge branch 'master' into pokefirered
2020-04-19 09:48:21 -04:00
garakmon
799e5537f9
add tsl::ordered_map for json objects,
...
update project code to save json files with new ordered object
2020-04-19 07:55:51 -05:00
garakmon
12614a174a
modify Json::dump to preserve our format
2020-04-19 07:55:51 -05:00
garakmon
7bef1eb1e1
convert to use QVector
2020-04-19 07:55:51 -05:00
garakmon
8cb2e6e2ba
add json library, begin modifications
2020-04-19 07:55:51 -05: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
GriffinR
129db88453
Minor cleanup
2020-04-06 12:09:45 -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
d365ebb664
Support reading/saving pokefirered heal locations
2020-03-20 03:09:48 -04:00
GriffinR
bf72ecede9
Parse remaining pokefirered metatile attributes, allow editing/saving them
2020-03-16 16:31:08 -04:00
GriffinR
c0a512803e
Allow editing border dimensions
2020-03-14 18:06:35 -04:00
GriffinR
5cf0e35ffc
Fix border block cache usage
2020-03-13 19:10:40 -05:00
GriffinR
629abd3c06
Support reading/displaying custom border sizes
2020-03-13 02:23:47 -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
79c74b8814
Validate layouts
2020-02-11 18:34:08 -06:00
garak
2f21f83217
draw map connections with current map tilesets
2019-11-04 18:44:57 -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
911b30089c
rename TokenType to TokenClass to fix Windows issues
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
267c71d40e
clean wild encounter code
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
4b0e0b0bff
continue work on wild encounter editor
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
11d6d35b68
fix rme close with unsaved changes
2019-08-19 16:52:39 -05:00
garak
eb71f72b0e
move source parsing functions from project to parseutil
2019-05-09 18:08:52 -05:00
garak
675a064df6
readCDefines() - don't crash on invalid expressions, add better debugging info
2019-05-09 18:08:52 -05:00
garak
8c29b00fa4
modify event comboboxes, fix heal location parsing
2019-04-29 19:38:40 -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
huderlem
e91df38714
Merge pull request #77 from garakmon/rme
...
Region Map Editor
2019-04-06 19:59:08 -05:00
garak
fe22a2fbbc
Merge branch 'rme' of https://github.com/garakmon/porymap into rme
2019-04-06 18:12:21 -04:00
garak
5bfc32fb7f
write palette of region map image, fix ruby city map render
2019-04-06 18:11:56 -04:00
garak
0a0eaba788
draw sprites based on movement type
2019-04-06 17:04:41 -05:00
garak
da5048a616
use project values for new event defaults
2019-04-06 16:36:48 -05:00
garak
2ee3731ed8
Merge branch 'master' into rme
2019-04-06 10:20:35 -04: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
a475823fee
further refine region map editor
2019-03-31 14:57:24 -04:00
Karathan
1b62c15ba4
add dialog to add tilesets
2019-03-24 15:55:40 -05:00
Marcus Huderle
8af714a681
Rename 'Reset' actions to 'Clear', and add 'Clear Background Map' to edit history
2019-03-17 11:37:13 -05:00
garak
5b6f658e29
add new convenience features to rme and fix typos
2019-02-25 13:31:34 -05:00
garak
3cef77a174
add map section swap feature and smooth zooming
2019-02-18 13:45:45 -05:00
garak
38cb97793d
fix outstanding rme bugs and history
2019-02-16 19:58:13 -05:00
garak
a951fc85da
region map ui updates and other fixes
2019-02-16 19:58:13 -05:00
garak
41f3780c8a
add region map data to config, fix some bugs
2019-02-16 19:58:13 -05:00
garak
c75ce5db1d
resize region map, move map squares
2019-02-16 19:58:13 -05:00
garak
83f3cef52e
clean rme UI, undo / redo history, new city maps
2019-02-16 19:58:13 -05:00
garak
d3a16d34df
move region map editor to its own window
2019-02-16 19:58:13 -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
c4ad0971d0
Support custom fields for all event types
2019-02-04 20:53:35 -06:00
Marcus Huderle
a894bea71b
Support custom fields for top-level map attributes
2019-02-04 20:53:35 -06:00