Pryaxis / TSAPI

🛠🌳 The TShock Scaffold API enables developers to build plugins that hook directly into the Terraria game engine.
http://tshock.co/
GNU General Public License v3.0
109 stars 67 forks source link

Introduce a new tile provider: Constileation #227

Closed SignatureBeef closed 1 year ago

SignatureBeef commented 1 year ago

This functions in a similar manner to heap tile, e.g. reusing the functionality of the vanilla tile implementation but swapping out the data accessors to a premapped memory object that doesnt need excessive math to manipulate the tile data.

Pass -constileation or -c via command line to activate image

New tests added: image

Directories copied, one ran with no arguments, the other (bottom) with -constileation using a large world image

Image of joined (large) world: image

World generation of a small world: image

World generation completed, joining that same world proves its not corrupt: image

Restart of server, rejoin the generated small world - tests fresh state: image

hakusaro commented 1 year ago

Seems to work for me.