From acc6da4c589a53ad4efe22eea32eced51c480593 Mon Sep 17 00:00:00 2001 From: Marcus Huderle Date: Fri, 17 Jul 2020 16:55:31 -0500 Subject: [PATCH] Release 4.3.1 --- CHANGELOG.md | 6 +- .../manual/editing-map-events.rst.txt | 26 +- docs/_sources/manual/project-files.rst.txt | 2 + .../manual/scripting-capabilities.rst.txt | 27 +- docs/_sources/reference/CHANGELOG.md.txt | 22 +- docs/genindex.html | 76 +++-- docs/index.html | 95 +++--- docs/manual/editing-map-events.html | 80 +++-- docs/manual/project-files.html | 84 ++++-- docs/manual/scripting-capabilities.html | 120 ++++++-- docs/objects.inv | Bin 1089 -> 1114 bytes docs/reference/changelog.html | 274 ++++++++++-------- docs/search.html | 68 +++-- docs/searchindex.js | 2 +- forms/aboutporymap.ui | 18 +- 15 files changed, 571 insertions(+), 329 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 041da093..a037f282 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,9 @@ and this project somewhat adheres to [Semantic Versioning](https://semver.org/sp The **"Breaking Changes"** listed below are changes that have been made in the decompilation projects (e.g. pokeemerald), which porymap requires in order to work properly. If porymap is used on a project that is not up-to-date with the breaking changes, then porymap will likely break or behave improperly. ## [Unreleased] +Nothing, yet. + +## [4.3.1] - 2020-07-17 ### Added - Add keyboard shortcut `Ctrl + D` for duplicating map events. - Add keyboard shortcut `Ctrl + Shift + Z` for "redo" in the tileset editor. @@ -232,7 +235,8 @@ The **"Breaking Changes"** listed below are changes that have been made in the d ## [1.0.0] - 2018-10-26 This was the initial release. -[Unreleased]: https://github.com/huderlem/porymap/compare/4.3.0...HEAD +[Unreleased]: https://github.com/huderlem/porymap/compare/4.3.1...HEAD +[4.3.1]: https://github.com/huderlem/porymap/compare/4.3.0...4.3.1 [4.3.0]: https://github.com/huderlem/porymap/compare/4.2.0...4.3.0 [4.2.0]: https://github.com/huderlem/porymap/compare/4.1.0...4.2.0 [4.1.0]: https://github.com/huderlem/porymap/compare/4.0.0...4.1.0 diff --git a/docs/_sources/manual/editing-map-events.rst.txt b/docs/_sources/manual/editing-map-events.rst.txt index ef2c91e2..48602a19 100644 --- a/docs/_sources/manual/editing-map-events.rst.txt +++ b/docs/_sources/manual/editing-map-events.rst.txt @@ -19,6 +19,19 @@ All of the events are visible on the map. The Event Details window on the right .. warning:: There is currently no undo/redo functionality when editing events! Use Git version control! +Adding & Deleting Events +------------------------ + +To add a new event, press the green plus button. |add-event-button| You can choose between the different types of events by clicking the small arrow on the right. You can also duplicate any currently selected events with ``Ctrl+D``. + +.. |add-event-button| + image:: images/editing-map-events/add-event-button.png + +To delete the selected event, press the delete button. |delete-event-button| + +.. |delete-event-button| + image:: images/editing-map-events/delete-event-button.png + Event Positions ---------------- @@ -209,19 +222,6 @@ Respawn Map Respawn NPC Exclusive to pokefirered. The local id of the NPC the player will interact with when they white out. -Adding & Deleting Events ------------------------- - -To add a new event, press the green plus button. |add-event-button| You can choose between the different types of events by clicking the small arrow on the right. - -.. |add-event-button| - image:: images/editing-map-events/add-event-button.png - -To delete the selected event, press the delete button. |delete-event-button| - -.. |delete-event-button| - image:: images/editing-map-events/delete-event-button.png - Open Map Scripts ---------------- diff --git a/docs/_sources/manual/project-files.rst.txt b/docs/_sources/manual/project-files.rst.txt index 92201854..46554bb5 100644 --- a/docs/_sources/manual/project-files.rst.txt +++ b/docs/_sources/manual/project-files.rst.txt @@ -26,8 +26,10 @@ to a file, it probably is not a good idea to edit yourself unless otherwise note src/data/graphics/pokemon.h, yes, no, for pokemon sprite icons src/data/heal_locations.h, yes, yes, src/data/region_map/region_map_entries.h, yes, yes, + include/constants/global.h, yes, no, include/constants/map_groups.h, no, yes, include/constants/items.h, yes, no, + include/constants/opponents.h, yes, no, reads max trainers constant include/constants/flags.h, yes, no, include/constants/vars.h, yes, no, include/constants/weather.h, yes, no, diff --git a/docs/_sources/manual/scripting-capabilities.rst.txt b/docs/_sources/manual/scripting-capabilities.rst.txt index 7f1a2662..129159e4 100644 --- a/docs/_sources/manual/scripting-capabilities.rst.txt +++ b/docs/_sources/manual/scripting-capabilities.rst.txt @@ -353,7 +353,7 @@ The following functions are related to an overlay that is drawn on top of the ma Tileset Functions ^^^^^^^^^^^^^^^^^ -The following functions are related to tilesets and their palettes. The functions with "preview" in their name operate on a "fake" version of the palette colors. This means that changing these "preview" colors won't affect the actual tileset colors in the project. A good use of the "preview" palettes would be Day/Night tints, for example. +The following functions are related to tilesets and how they are rendered. The functions with "preview" in their name operate on a "fake" version of the palette colors. This means that changing these "preview" colors won't affect the actual tileset colors in the project. A good use of the "preview" palettes would be Day/Night tints, for example. .. js:function:: map.getPrimaryTilesetPalettePreview(paletteIndex) @@ -483,6 +483,31 @@ The following functions are related to tilesets and their palettes. The function :param string tileset: the tileset name +.. js:function:: map.getMetatileLayerOrder() + + Gets the order that metatile layers are rendered. + + :return array: array of layers. The bottom layer is represented as 0. + +.. js:function:: map.setMetatileLayerOrder(order) + + Sets the order that metatile layers are rendered. + + :param array: array of layers. The bottom layer is represented as 0. + +.. js:function:: map.getMetatileLayerOpacity() + + Gets the opacities that metatile layers are rendered with. + + :return array: array of opacities for each layer. The bottom layer is the first element. + +.. js:function:: map.setMetatileLayerOpacity(opacities) + + Sets the opacities that metatile layers are rendered with. + + :param array: array of opacities for each layer. The bottom layer is the first element. + + Settings Functions ^^^^^^^^^^^^^^^^^^ diff --git a/docs/_sources/reference/CHANGELOG.md.txt b/docs/_sources/reference/CHANGELOG.md.txt index 5cf41d24..a037f282 100644 --- a/docs/_sources/reference/CHANGELOG.md.txt +++ b/docs/_sources/reference/CHANGELOG.md.txt @@ -9,6 +9,25 @@ The **"Breaking Changes"** listed below are changes that have been made in the d ## [Unreleased] Nothing, yet. +## [4.3.1] - 2020-07-17 +### Added +- Add keyboard shortcut `Ctrl + D` for duplicating map events. +- Add keyboard shortcut `Ctrl + Shift + Z` for "redo" in the tileset editor. +- Add scripting api to reorder metatile layers and draw them with opacity. + +### Changed +- The tileset editor now syncs its metatile selection with the map's metatile selector. +- The number of object events per map is now limited to OBJECT_EVENT_TEMPLATES_COUNT +- The tileset editor can now flip selections that were taken from an existing metatile. + +### Fixed +- Fix bug where editing a metatile layer would have no effect. +- Fix a crash that occured when creating a new tileset using triple layer mode. +- Fix crash when reducing number of metatiles past current selection. +- Fix various methods of selecting invalid metatiles. +- Fix sprite transparency not updating when changing object event graphics. +- Fix dropdown menu item selection when using the arrow keys. + ## [4.3.0] - 2020-06-27 ### Added - Add triple-layer metatiles support. @@ -216,7 +235,8 @@ Nothing, yet. ## [1.0.0] - 2018-10-26 This was the initial release. -[Unreleased]: https://github.com/huderlem/porymap/compare/4.3.0...HEAD +[Unreleased]: https://github.com/huderlem/porymap/compare/4.3.1...HEAD +[4.3.1]: https://github.com/huderlem/porymap/compare/4.3.0...4.3.1 [4.3.0]: https://github.com/huderlem/porymap/compare/4.2.0...4.3.0 [4.2.0]: https://github.com/huderlem/porymap/compare/4.1.0...4.2.0 [4.1.0]: https://github.com/huderlem/porymap/compare/4.0.0...4.1.0 diff --git a/docs/genindex.html b/docs/genindex.html index 4dbf3190..df513be6 100644 --- a/docs/genindex.html +++ b/docs/genindex.html @@ -114,6 +114,7 @@
  • Editing Map Events @@ -175,75 +175,81 @@