Remove all coin-specific geometry functions except coin_head, coin_tail
[neverball] / share / geom.h
index 9a3cabf..89426bb 100644 (file)
@@ -3,8 +3,15 @@
 
 /*---------------------------------------------------------------------------*/
 
+#include "solid.h"
+
+/*---------------------------------------------------------------------------*/
+
 #define IMG_SHAD "png/shadow.png"
-#define IMG_COIN _("png/coin.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
@@ -28,13 +35,14 @@ void mark_draw(void);
 
 /*---------------------------------------------------------------------------*/
 
-void coin_color(float *, int);
-void coin_init(int);
-void coin_free(void);
+void item_color(const struct s_item *, float *);
+void item_init(int);
+void item_free(void);
 
-void coin_push(void);
-void coin_draw(int, float);
-void coin_pull(void);
+void item_push(void);
+void item_push_text(int);
+void item_draw(const struct s_item *, float);
+void item_pull(void);
 
 /*---------------------------------------------------------------------------*/