X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=player_walk.c;h=87bb9cab79213ecde13022b54f25c85cf39ff444;hb=ffc664de040aab29a4fbeec14307996d8e9ae2ec;hp=6b0def6c9133831e174c3dbea412bb7067cc25ab;hpb=171b279a489f1b906265759b33249f61d48d3d5f;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/player_walk.c b/player_walk.c index 6b0def6..87bb9ca 100644 --- a/player_walk.c +++ b/player_walk.c @@ -1,5 +1,7 @@ -#ifndef PLAYER_WALK_C -#define PLAYER_WALK_C +#pragma once + +#include "vg/vg_rigidbody_collision.h" +#include "scene_rigidbody.h" #include "player.h" #include "input.h" @@ -489,7 +491,7 @@ static void player_walk_update_generic(void){ w->surface = k_surface_prop_concrete; for( int i=0; in ) ){ @@ -562,7 +564,7 @@ static void player_walk_update_generic(void){ */ for( int j=0; j<5; j++ ){ for( int i=0; in ); @@ -1181,4 +1183,3 @@ static void player__walk_sfx_oneshot( u8 id, v3f pos, f32 volume ){ audio_unlock(); } -#endif /* PLAYER_DEVICE_WALK_H */