]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/player_skeleton.qh
Use IS_DEAD everywhere
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / player_skeleton.qh
index 6c95ce231051fad1b7315e50476e82c7b280aa94..48a3111d32210cd12b7d272b65f859137c719966 100644 (file)
@@ -1,13 +1,14 @@
-#ifndef PLAYER_SKELETON
-#define PLAYER_SKELETON
+#ifndef CLIENT_PLAYER_SKELETON
+#define CLIENT_PLAYER_SKELETON
 
 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;
+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;
 #endif