X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fclient%2Fplayer_skeleton.qh;h=50462bdbb298948af6a8b61305eea2cf62b165be;hb=688a8e8d3aa76d2fac34fc51e9a7fa2a70641c77;hp=65dec0a36b1208760b2f0423695f32f28e825e5f;hpb=ef5d72bcd06c2c1380e63fe900aafbca20153d02;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/client/player_skeleton.qh b/qcsrc/client/player_skeleton.qh index 65dec0a36..50462bdbb 100644 --- a/qcsrc/client/player_skeleton.qh +++ b/qcsrc/client/player_skeleton.qh @@ -1,13 +1,12 @@ -#ifndef PLAYER_SKELETON -#define PLAYER_SKELETON +#pragma once void free_skeleton_from_frames(entity e); void skeleton_from_frames(entity e, float is_dead); void skeleton_loadinfo(entity e); -.float bone_upperbody; -.int bone_weapon; -.float bone_aim[MAX_AIM_BONES]; -.float bone_aimweight[MAX_AIM_BONES]; -.float fixbone; -#endif \ No newline at end of file +entityclass(Skeleton); +class(Skeleton) .float bone_upperbody; +class(Skeleton) .int bone_weapon; +class(Skeleton) .float bone_aim[MAX_AIM_BONES]; +class(Skeleton) .float bone_aimweight[MAX_AIM_BONES]; +class(Skeleton) .float fixbone;