1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Schematic: Read slice probability table from schematic descriptors

This commit is contained in:
kwolekr 2014-01-19 02:44:22 -05:00
parent 66b24cc9ff
commit 21c96249fa
2 changed files with 24 additions and 3 deletions

View file

@ -789,6 +789,7 @@ bool DecoSchematic::loadSchematicFile() {
Version changes:
1 - Initial version
2 - Fixed messy never/always place; 0 probability is now never, 0xFF is always
3 - Added y-slice probabilities; this allows for variable height structures
*/
void DecoSchematic::saveSchematicFile(INodeDefManager *ndef) {
std::ostringstream ss(std::ios_base::binary);