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:
parent
66b24cc9ff
commit
21c96249fa
2 changed files with 24 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue