High-res ores with big outlined lumps that stand out from the earth, kept in their own colours; screenshot tool for the desktop build

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Richard ZinkandClaude Opus 5.5 committed 2026-11-08 01:09:11 +01:00
1 parent 48c20fabbc
commit 7f57f64947
36 files changed
+76 -1

No files matched your search

+4
View File
@@ -667,6 +667,10 @@ fn gen_hd_atlas(tile: u32) -> Image {
groups.push((range(base, n), range(base, n)));
}
for &(first, n, own, _, _, _) in HD_SETS.iter() {
// the ores keep their own bright colours: matched, the lumps would sink into the soil
if [T_GOLD, T_SILVER, T_RUBY, T_DIAMOND].contains(&first) {
continue;
}
groups.push((range(first, n), range(own, 5)));
}
for &(base, n, _, _) in HD_VARS.iter() {
+6 -1
View File
@@ -2188,7 +2188,7 @@ app.pending_briefing = briefing_of(&campaign, i);
}
}
// ---- self test and screenshots (desktop): DC_SHOT=demo or a savegame file starts it right
// ---- self test and screenshots (desktop): DC_SHOT=demo, title or a savegame file starts it right
// away, DC_SHOT_STYLE=hd|pixel picks the graphics style (not saved), DC_SHOT_AFTER seconds later
// (default 10) the screen goes to DC_SHOT_OUT (default /tmp/dc-shot.png) and the game ends;
// DC_SHOT_ZOOM sets the camera zoom, DC_SHOT_YAW its turn, DC_SHOT_AT=x,z where it looks;
@@ -2242,6 +2242,11 @@ impl ShotPlan {
}
app.settings.hints = false;
apply_settings(&app.settings, r3d);
if self.load == "title" {
// the title screen as it is (its battle behind the menu)
self.started = Some(now);
return None;
}
if self.load == "demo" {
app.seed = next_seed(app.seed);
(app.game, app.cam) = Game::new_demo_map(app.seed);