aboutsummaryrefslogtreecommitdiff
path: root/src/localplayer.h
diff options
context:
space:
mode:
authorLoïc Blot <nerzhul@users.noreply.github.com>2017-08-16 22:11:45 +0200
committerGitHub <noreply@github.com>2017-08-16 22:11:45 +0200
commit85511a642f851100d0d856f4ecbe7fea7a7bb049 (patch)
treeb25e4196578cb4734008642a29101393c6d9c457 /src/localplayer.h
parent816bca32ac69f58b7de881d68689c6a1e3897a0e (diff)
downloadminetest-85511a642f851100d0d856f4ecbe7fea7a7bb049.tar.gz
minetest-85511a642f851100d0d856f4ecbe7fea7a7bb049.tar.bz2
minetest-85511a642f851100d0d856f4ecbe7fea7a7bb049.zip
Cleanup various headers to reduce compilation times (#6255)
* Cleanup various headers to reduce compilation times
Diffstat (limited to 'src/localplayer.h')
-rw-r--r--src/localplayer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/localplayer.h b/src/localplayer.h
index ffaa83f33..5c52a9c0e 100644
--- a/src/localplayer.h
+++ b/src/localplayer.h
@@ -144,7 +144,9 @@ public:
void setCollisionbox(const aabb3f &box) { m_collisionbox = box; }
private:
+ // clang-format off
void accelerateHorizontal(const v3f &target_speed, f32 max_increase, bool slippery);
+ // clang-format on
void accelerateVertical(const v3f &target_speed, const f32 max_increase);
bool updateSneakNode(Map *map, const v3f &position, const v3f &sneak_max);