4d724142d3709e584f3cf9d59a53051deb6b81dd
[neverball] / share / item.h
1 /*
2  * Copyright (C) 2003 Robert Kooima
3  *
4  * NEVERBALL is  free software; you can redistribute  it and/or modify
5  * it under the  terms of the GNU General  Public License as published
6  * by the Free  Software Foundation; either version 2  of the License,
7  * or (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful, but
10  * WITHOUT  ANY  WARRANTY;  without   even  the  implied  warranty  of
11  * MERCHANTABILITY or  FITNESS FOR A PARTICULAR PURPOSE.   See the GNU
12  * General Public License for more details.
13  */
14
15 #ifndef ITEM_H
16 #define ITEM_H
17
18 #include "solid_vary.h"
19
20 #define ITEM_RADIUS 0.15f
21
22 void item_color(const struct v_item *, float *);
23 void item_init(void);
24 void item_free(void);
25
26 void item_push(int);
27 void item_draw(const struct v_item *, float);
28 void item_pull(void);
29
30 #endif