projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5e7ba5
)
added comment
author
Holger Schemel
<holger.schemel@virtion.de>
Thu, 12 Sep 2024 22:12:54 +0000
(
00:12
+0200)
committer
Holger Schemel
<holger.schemel@virtion.de>
Thu, 12 Sep 2024 22:12:54 +0000
(
00:12
+0200)
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 94bc3624df804e0d37d5a74a97f90192f4001a9a..f57d422bc6e5ac094fb1258324b7db8e70dabbd3 100644
(file)
--- a/
src/game_bd/bd_caveengine.c
+++ b/
src/game_bd/bd_caveengine.c
@@
-636,6
+636,7
@@
static inline boolean is_like_dirt(const GdCave *cave, const int x, const int y,
return has_property(get_dir(cave, x, y, dir), P_DIRT);
}
+// store from/to directions in special buffers for smooth movement animations
static inline void store_dir_buffer(GdCave *cave, const int x, const int y, const GdDirection dir)
{
int old_x = x;