#define VG_GAME
#include "vg/vg.h"
-#if 0
-#include "player.h"
-#endif
-
#include "model.h"
#include "skeleton.h"
#include "player_ragdoll.h"
#include "rigidbody.h"
-#include "shaders/viewchar.h"
+#include "shaders/model_character_view.h"
struct player_avatar
{
mdl_context meta;
struct skeleton sk;
- v3f cam_pos; /* FIXME ? */
-
-#if 0
- struct skeleton_anim *anim_stand,
- *anim_highg,
- *anim_slide,
- *anim_air,
- *anim_push, *anim_push_reverse,
- *anim_ollie, *anim_ollie_reverse,
- *anim_grabs, *anim_stop,
- *anim_walk, *anim_run, *anim_idle,
- *anim_jump;
-#endif
-
u32 id_hip,
id_ik_hand_l,
id_ik_hand_r,
id_head,
id_ik_foot_l,
id_ik_foot_r,
+ id_wheel_l,
+ id_wheel_r,
id_board;
};
av->id_ik_foot_l = skeleton_bone_id( sk, "foot.IK.L" );
av->id_ik_foot_r = skeleton_bone_id( sk, "foot.IK.R" );
av->id_board = skeleton_bone_id( sk, "board" );
+ av->id_wheel_l = skeleton_bone_id( sk, "wheel.L" );
+ av->id_wheel_r = skeleton_bone_id( sk, "wheel.R" );
}
#if 0