X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;ds=sidebyside;f=qcsrc%2Flib%2Fcsqcmodel%2Fcl_player.qh;h=297e2e69d648c1826289fa21c95e389f5a61b5f2;hb=34e7f534e2015466228eb3a78c9857741b736dca;hp=c9598c8807dbf33e7de091d615c1cc9712c9dd7f;hpb=289dc834837712c152d42d7755992e8e5ed09deb;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/lib/csqcmodel/cl_player.qh b/qcsrc/lib/csqcmodel/cl_player.qh index c9598c880..297e2e69d 100644 --- a/qcsrc/lib/csqcmodel/cl_player.qh +++ b/qcsrc/lib/csqcmodel/cl_player.qh @@ -19,8 +19,9 @@ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS * IN THE SOFTWARE. */ -#ifndef LIB_CSQCMODEL_CL_PLAYER_H -#define LIB_CSQCMODEL_CL_PLAYER_H +#pragma once + +bool autocvar_cl_movement = true; entity csqcplayer; float csqcplayer_status; @@ -37,7 +38,6 @@ const int PMF_JUMP_HELD = 1; const int FL_DUCKED = 524288; void CSQCPlayer_SetCamera(); -float CSQCPlayer_PreUpdate(); -float CSQCPlayer_PostUpdate(); -float CSQCPlayer_IsLocalPlayer(); -#endif +float CSQCPlayer_PreUpdate(entity this); +float CSQCPlayer_PostUpdate(entity this); +float CSQCPlayer_IsLocalPlayer(entity this);