Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TileData now initializes properties programatically #181

Merged
merged 1 commit into from
Mar 11, 2018

Conversation

trigger-segfault
Copy link
Owner

  • Added TileDataInitializing which is called whenever the type of a
    tiledata is changed.
  • Added BaseTileData.EntityType which correlates to the type of entity
    that the tile spawns. TileDataInitializing and TileDataDrawing will both
    use EntityTypes for their respective purposes if available.
  • DrawTileData functions are no longer required to be implemented for
    every tile type. TileData will keep checking for the previous type's
    function until one is found.
  • "moster" and "tile_monster" have now been completely eliminated thanks
    to TileDataInitialization and EntityType.
  • Added TILEMONSTER TileDataSR command. Not necissary for trap monsters
    with no actual entities like Beamos.
  • TileDataSR commands PROPERTIES, LOCKPROP, DOCUMENT, and EVENT have
    been phased out since properties should only be first initialized by
    tile types.
  • Fixed Shared tiles drawing in every layer instead of just their own
    layer.

* Added TileDataInitializing which is called whenever the type of a
tiledata is changed.
* Added BaseTileData.EntityType which correlates to the type of entity
that the tile spawns. TileDataInitializing and TileDataDrawing will both
use EntityTypes for their respective purposes if available.
* DrawTileData functions are no longer required to be implemented for
every tile type. TileData will keep checking for the previous type's
function until one is found.
* "moster" and "tile_monster" have now been completely eliminated thanks
to TileDataInitialization and EntityType.
* Added TILEMONSTER TileDataSR command. Not necissary for trap monsters
with no actual entities like Beamos.
* TileDataSR commands PROPERTIES, LOCKPROP, DOCUMENT, and EVENT have
been phased out since properties should only be first initialized by
tile types.
* Fixed Shared tiles drawing in every layer instead of just their own
layer.
@trigger-segfault trigger-segfault merged commit f882d96 into palette-develop Mar 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant