diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-08-19 18:26:52 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-08-19 18:26:52 +1000 |
commit | ec4f70340e0f9a3a867aef7d39df19457bec1d3e (patch) | |
tree | 32ee125d2ff837b0e6b5b5db20881f60f56b79ec /source/game/StarTileModification.hpp | |
parent | f22eed8304c90418314e254f2569bb87ee5d72fc (diff) |
Allow overriding placed collision kind ("""overground""") from world.placeMaterial
Diffstat (limited to 'source/game/StarTileModification.hpp')
-rw-r--r-- | source/game/StarTileModification.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/game/StarTileModification.hpp b/source/game/StarTileModification.hpp index bd30386..311a529 100644 --- a/source/game/StarTileModification.hpp +++ b/source/game/StarTileModification.hpp @@ -4,16 +4,17 @@ #include "StarDataStream.hpp" #include "StarVariant.hpp" #include "StarGameTypes.hpp" +#include "StarCollisionBlock.hpp" namespace Star { struct PlaceMaterial { TileLayer layer; MaterialId material; - // If the material hue shift is not set it will get the natural hue shift for // the environment. Maybe<MaterialHue> materialHueShift; + TileCollisionOverride collisionOverride = TileCollisionOverride::None; }; DataStream& operator>>(DataStream& ds, PlaceMaterial& tileMaterialPlacement); DataStream& operator<<(DataStream& ds, PlaceMaterial const& tileMaterialPlacement); |