4
* @brief Handle gems, bonus and penality
9
* copyright (c) 1998-2007 TLK Games all rights reserved
10
* $Id: bonus.h,v 1.11 2007/08/24 07:55:16 gurumeditation Exp $
12
* Powermanga is free software; you can redistribute it and/or modify
13
* it under the terms of the GNU General Public License as published by
14
* the Free Software Foundation; either version 3 of the License, or
15
* (at your option) any later version.
17
* Powermanga is distributed in the hope that it will be useful, but
18
* WITHOUT ANY WARRANTY; without even the implied warranty of
19
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
* GNU General Public License for more details.
22
* You should have received a copy of the GNU General Public License
23
* along with this program; if not, write to the Free Software
24
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
34
/** Number of different bonus
35
* (the last type is never used) */
36
#define GEM_NUMOF_TYPES 6
37
/** Maximum number of images peer bonus */
38
#define GEM_NUMOF_IMAGES 32
40
bool bonus_once_init (void);
41
void bonus_init (void);
42
void bonus_free (void);
43
void bonus_handle (void);
44
void bonus_add (const enemy *const pve);
45
void bonus_meteor_add (const enemy *const pve);
46
extern image bonus[GEM_NUMOF_TYPES][GEM_NUMOF_IMAGES];