Remove all coin-specific geometry functions except coin_head, coin_tail
[neverball] / share / geom.h
index 36f6943..89426bb 100644 (file)
@@ -3,11 +3,15 @@
 
 /*---------------------------------------------------------------------------*/
 
+#include "solid.h"
+
+/*---------------------------------------------------------------------------*/
+
 #define IMG_SHAD "png/shadow.png"
-#define IMG_COIN _("png/coin.png")
 
-#define IMG_ITEM_GROW   "png/growup.png"
-#define IMG_ITEM_SHRINK "png/growdn.png"
+#define IMG_ITEM_COIN   _("png/coin.png")
+#define IMG_ITEM_GROW     "png/growup.png"
+#define IMG_ITEM_SHRINK   "png/growdn.png"
 
 #define BALL_FUDGE    0.001f
 #define COIN_RADIUS   0.15f
@@ -31,24 +35,13 @@ void mark_draw(void);
 
 /*---------------------------------------------------------------------------*/
 
-void coin_color(float *, int);
-void coin_init(int);
-void coin_free(void);
-
-void coin_push(void);
-void coin_push_text(int n);
-void coin_draw(int, float);
-void coin_pull(void);
-
-/*---------------------------------------------------------------------------*/
-
-void item_color(float *, int);
+void item_color(const struct s_item *, float *);
 void item_init(int);
 void item_free(void);
 
 void item_push(void);
-void item_push_text(int n);
-void item_draw(int, float);
+void item_push_text(int);
+void item_draw(const struct s_item *, float);
 void item_pull(void);
 
 /*---------------------------------------------------------------------------*/