Defence towers: arrow (piercing), cannon (splash + knockback), magic (mana, slow, chain); 3 levels, repair by imps, heroes attack towers; torture/temple room tools prepared
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
a1fe02ffa6
commit
903d6fb0f4
10 files changed
+708
-19
No files matched your search
+1
-1
@@ -413,7 +413,7 @@ impl Menu {
|
||||
let sh = screen_height();
|
||||
let (mx, my) = mouse_position();
|
||||
let cols = ((sw / CW()) as i32 - 2).min(66);
|
||||
let rows = ((sh / CH()) as i32 - 2).min(28);
|
||||
let rows = ((sh / CH()) as i32 - 2).min(34);
|
||||
let x = ((sw - cols as f32 * CW()) * 0.5).max(0.0);
|
||||
let y = ((sh - rows as f32 * CH()) * 0.5).max(0.0);
|
||||
gfx.window_titled(x, y, cols, rows, S(), true, FRAME_HI, Color::new(0.05, 0.03, 0.04, 0.97), &tr("menu.settings"), FRAME_HI);
|
||||
|
||||
Reference in new issue
Block a user