projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45b6628
)
removed unused function
author
Holger Schemel
<info@artsoft.org>
Sat, 24 Feb 2024 23:14:38 +0000
(
00:14
+0100)
committer
Holger Schemel
<info@artsoft.org>
Sat, 24 Feb 2024 23:14:38 +0000
(
00:14
+0100)
src/game_bd/bd_cave.c
patch
|
blob
|
history
diff --git
a/src/game_bd/bd_cave.c
b/src/game_bd/bd_cave.c
index 9fa85405f86d1847fe5ed92480f72723bdf1d655..07cb74a699c0308fc1d80e995a102bf389f61d30 100644
(file)
--- 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).