1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-26 03:17:39 +00:00

ru:: spikes work as intended

This commit is contained in:
Zeno Rogue
2025-04-27 12:00:22 +02:00
parent 094a5a5f24
commit df3ae7b584
4 changed files with 40 additions and 6 deletions

View File

@@ -34,6 +34,7 @@ constexpr int actual_screen_x = r_margin_at - l_margin_at;
constexpr int actual_screen_y = b_margin_at - t_margin_at;
int game_fps = 300;
int gframeid = 0;
bool bottom = 1;
constexpr auto yctr = (t_margin_at + b_margin_at) / 2.;
@@ -67,7 +68,7 @@ ruwall walls[qwall] = {
{"air", ".", 0x40404080, W_TRANS},
{"wall", "#", 0xFFFFFFFF, W_BLOCK},
{"bouncy wall", "#", 0x80FF80FF, W_BLOCK | W_BOUNCY},
{"spike", "^", 0xC08080FF, W_BLOCK | W_TRANS},
{"spike", "^", 0xC08080FF, W_TRANS | W_PAIN},
{"water", "~", 0x0000FFFF, W_BLOCK | W_TRANS},
{"frozen water", "#", 0xC0C0FFFF, W_BLOCK | W_FROZEN},
{"door", "+", 0xC06000FF, W_BLOCK},