projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
d3ee9a7
)
white space changes
author
Holger Schemel
<info@artsoft.org>
Wed, 14 Feb 2024 18:48:53 +0000
(19:48 +0100)
committer
Holger Schemel
<info@artsoft.org>
Sun, 18 Feb 2024 15:16:59 +0000
(16:16 +0100)
src/game_bd/bd_caveengine.c
patch
|
blob
|
history
diff --git
a/src/game_bd/bd_caveengine.c
b/src/game_bd/bd_caveengine.c
index 0327fb18e45eca0b17851a333a3b470582a1005b..b3723b9b5b12852e867ec59257ce201421c64f13 100644
(file)
--- a/
src/game_bd/bd_caveengine.c
+++ b/
src/game_bd/bd_caveengine.c
@@
-673,8
+673,7
@@
static void explode(GdCave *cave, int x, int y)
}
}
}
}
-static void inline
-explode_dir(GdCave *cave, const int x, const int y, GdDirection dir)
+static void inline explode_dir(GdCave *cave, const int x, const int y, GdDirection dir)
{
explode(cave, x + gd_dx[dir], y + gd_dy[dir]);
}
{
explode(cave, x + gd_dx[dir], y + gd_dy[dir]);
}
@@
-685,7
+684,7
@@
explode_dir(GdCave *cave, const int x, const int y, GdDirection dir)
returns other element if something other appears there and he can't move.
cave pointer is needed to know the diamond values.
*/
returns other element if something other appears there and he can't move.
cave pointer is needed to know the diamond values.
*/
-static GdElement player_get_element
(GdCave* cave, const GdElement object, int x, int y)
+static GdElement player_get_element(GdCave* cave, const GdElement object, int x, int y)
{
int i;
{
int i;