mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-01 10:17:56 +00:00
ls:: landscape land structure
This commit is contained in:
@@ -1004,6 +1004,10 @@ EX void save_mode_data(hstream& f) {
|
||||
f.write<char>(5);
|
||||
f.write<int>(randomwalk_size);
|
||||
}
|
||||
if(land_structure == lsLandscape) {
|
||||
f.write<char>(6);
|
||||
f.write<int>(landscape_div);
|
||||
}
|
||||
}
|
||||
|
||||
EX void load_mode_data_with_zero(hstream& f) {
|
||||
@@ -1062,6 +1066,10 @@ EX void load_mode_data_with_zero(hstream& f) {
|
||||
randomwalk_size = f.get<int>();
|
||||
break;
|
||||
|
||||
case 6:
|
||||
landscape_div = f.get<int>();
|
||||
break;
|
||||
|
||||
default:
|
||||
throw hstream_exception();
|
||||
}
|
||||
|
Reference in New Issue
Block a user