Surface world: grass in daylight, forests, cliffs with cave mouths; free-game and editor option

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Richard ZinkandClaude Opus 5.5 committed 2026-11-05 22:35:46 +01:00
1 parent ef10b5c432
commit 8a35a903de
32 files changed
+343 -24

No files matched your search

+2
View File
@@ -162,6 +162,7 @@ pub struct Settings {
pub difficulty: u8, // rival masters in free games: 0 easy, 1 medium, 2 hard
pub map_w: usize, // size of new maps (64..256)
pub map_h: usize,
pub surface: bool, // new free games: the eastern half lies above ground (forest)
// key bindings: action id -> key name
pub keys: BTreeMap<String, String>,
}
@@ -196,6 +197,7 @@ impl Default for Settings {
difficulty: 1,
map_w: 64,
map_h: 64,
surface: false,
keys: BTreeMap::new(),
}
}