the luxuries of a modern C compiler
[carveJwlIkooP6JGAAIwe30JlM.git] / player_render.h
index e9d17bb6c90c2e3817df489a1bc423f2abe36cb8..f6c8194373c0d0abfc8b44f7881babef9225fbfd 100644 (file)
@@ -3,6 +3,8 @@
 
 #include "model.h"
 #include "skeleton.h"
+#include "camera.h"
+#include "world.h"
 
 struct player_avatar
 {
@@ -56,4 +58,15 @@ struct player_board
                board;
 };
 
+enum board_shader{
+   k_board_shader_player,
+   k_board_shader_entity
+};
+
+VG_STATIC void player_board_load( struct player_board *mdl, const char *path );
+VG_STATIC void player_board_unload( struct player_board *mdl );
+VG_STATIC void render_board( camera *cam, world_instance *world,
+                             struct player_board *board, m4x3f root,
+                             enum board_shader shader );
+
 #endif /* PLAYER_RENDER_H */