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
c382190e8b
Fix crash parsing C defines from unknown token
2020-06-04 19:11:15 -05:00
GriffinR
125a287b9c
Add config options for some project-specific features
2020-05-27 18:58:43 -05:00
Marcus Huderle
2f533a86b2
Optimize displayMapEvents()
2020-05-21 19:11:37 -05:00
GriffinR
99b95882fe
Object event coords from unsigned to signed
2020-05-15 15:57:27 -05:00
GriffinR
a860f3f110
Support importing FRLG Advance Map metatilesets
2020-05-13 16:00:08 -05:00
Marcus Huderle
434bafe0b2
Call on_block_changed from more places
2020-05-03 10:48:48 -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
d1853a576b
Use first trainer type constant for new objects
2020-04-21 19:03:00 -04:00
GriffinR
141f0fa773
Fix adding new mapsec regression
2020-04-20 17:45:34 -05:00
GriffinR
0c92dc05da
Save metatile attributes label in new order for FRLG
2020-04-20 13:29:01 -04: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
e9210f96aa
Merge branch 'master' into pokefirered
2020-03-29 13:15:23 -04:00
GriffinR
20b112de52
Support editing heal location respawns
2020-03-20 13:41:40 -04:00
GriffinR
d365ebb664
Support reading/saving pokefirered heal locations
2020-03-20 03:09:48 -04:00
GriffinR
083874ce9e
Minor fixes
2020-03-18 03:12:43 -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
8d89b370b4
Add in_connection to object events
2020-03-11 16:45:52 -04:00
GriffinR
7125cd7c8d
Add underfoot and quantity to hidden items
2020-03-11 16:23:07 -04:00
Marcus Huderle
85c21855ef
Update C array regex to allow explicitly-sized arrays
2020-02-12 16:38:07 -06: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
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
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
eb3fb44542
custom table widget for mon data, add new encounter fields to 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
tustin2121
13b6f8f6e3
Event_object_graphics_pointers are now read for explicit indexes.
2019-08-27 18:00:56 -05:00
garak
11d6d35b68
fix rme close with unsaved changes
2019-08-19 16:52:39 -05:00
garak
9e7ce82f45
fix region map entries save bug where NONE map section was being saved in array
2019-08-19 16:52:39 -05:00
garak
7a239fafda
fix tile image export
2019-08-13 22:28:20 -04:00
garak
a240bf5038
allow spaces in C INCBINS
2019-06-10 20:36:58 -05:00
garak
1e5ac54147
parse C defines with line breaks
2019-06-03 21:29:09 -04: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
a214b66353
use more appropriate default elevations for new events, hide heal spot z
2019-05-01 19:30:19 -05:00
garak
9098055054
add data qualifiers struct
2019-04-29 19:38:40 -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
Marcus Huderle
a61dd168cf
Write JASC files with \r\n line endings
2019-04-06 19:58:38 -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
bb7983c4e3
select next event in group when deleting an event
2019-04-06 16:36:48 -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
37a688b32a
fix nasty padding misalign
2019-03-24 15:55:40 -05:00
Karathan
b8915995b9
fix line endings
2019-03-24 15:55:40 -05:00
Karathan
af96054baf
Save all tilesets
...
because the loader wants to have them all
2019-03-24 15:55:40 -05:00
Karathan
1b62c15ba4
add dialog to add tilesets
2019-03-24 15:55:40 -05:00
garak
545e2134d8
remember changes to region map layout between saves
2019-03-23 16:56:30 -04: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
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
c4ad0971d0
Support custom fields for all event types
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
228b646b0e
Change trainer checkbox to a combobox
2019-01-20 10:43:32 -06:00
Marcus Huderle
9412057f6a
Export tileset images as proper 4-bit-depth .png files
2019-01-11 08:52:47 -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
3f88072981
Add ability to import metatiles from Advance Map (.bvd files)
2019-01-08 18:04:41 -06:00
Diegoisawesome
aa0709243d
Fix crash if layout blockdata size mismatches layout dimensions
2019-01-07 12:28:31 -06:00
Marcus Huderle
022dc899da
Add transparency slider for overlayed collision tiles on the map
2019-01-06 12:53:36 -06:00
Marcus Huderle
851f8ec813
Add ability to import JASC and A-Map palettes into the tileset palette editor.
2019-01-05 12:06:22 -06:00
Diegoisawesome
060a3e359a
Magic fill collision and elevation ( #76 )
2019-01-04 20:49:21 -06:00
Marcus Huderle
d7282ac5c7
Use FLAG_TEMP_1 when creating new hidden item event
2018-12-26 15:38:38 -06:00
Marcus Huderle
08ff21e415
Properly create new emerald map headers. Use 'trigger' instead of coord script, trap, etc.
2018-12-26 15:36:44 -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
Jadon Fowler
4c371517e6
Add installation instructions and fix compile issues
...
By changing the call to QString#chopped to QString#left, we remove the
Qt 10 dependency.
I also changed the C++ version to C++11 as that's what the code is
using my compiler (and others) didn't default to it.
Ref #2
Signed-off-by: Jadon Fowler <jadonflower@gmail.com>
2018-10-07 21:59:34 -07:00
Marcus Huderle
e42c2e1a81
Add edit-undo history to tileset metatile editing
2018-10-06 17:07:36 -05:00
Marcus Huderle
888270f3ef
Add right-click selection to tileset editor metatile layer item
2018-10-06 15:49:26 -05:00
Marcus Huderle
74ce9c9a45
Misc cleanup, and 'Sort by Name' -> 'Sort by Area'
2018-10-05 17:42:14 -05:00
Diegoisawesome
54a9d8b23b
Merge branch 'master' of github.com:huderlem/porymap
2018-10-04 11:03:33 -05:00
Diegoisawesome
6269d4822a
Add filter to UI
2018-10-02 21:46:08 -05:00
Marcus Huderle
61ec1af0fb
Add tileset palette editor
2018-10-02 19:01:41 -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
ffd769f7ed
Add palette and flip selectors to tileset editor
2018-09-30 14:54:38 -05:00
Marcus Huderle
497f069d20
Restructure source tree
2018-09-29 09:10:23 -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