From 0a3ee393edb4d4b0f85bdac395cb2088f81b57c5 Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Sun, 25 Feb 2024 00:14:38 +0100 Subject: [PATCH] removed unused function --- src/game_bd/bd_cave.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/game_bd/bd_cave.c b/src/game_bd/bd_cave.c index 9fa85405..07cb74a6 100644 --- a/src/game_bd/bd_cave.c +++ b/src/game_bd/bd_cave.c @@ -777,18 +777,6 @@ void gd_cave_c64_random_set_seed(GdCave *cave, int seed1, int seed2) gd_c64_random_set_seed(&cave->c64_rand, seed1, seed2); } -/* - select random colors for a given cave. - this function will select colors so that they should look somewhat nice; for example - brick walls won't be the darkest color, for example. -*/ -static inline void swap(int *i1, int *i2) -{ - int t = *i1; - *i1 = *i2; - *i2 = t; -} - /* shrink cave if last line or last row is just steel wall (or (invisible) outbox). -- 2.34.1