~ubuntu-branches/ubuntu/raring/powermanga/raring

« back to all changes in this revision

Viewing changes to src/bonus.h

  • Committer: Bazaar Package Importer
  • Author(s): Barry deFreese, Gonéri Le Bouder, Cyril Brulebois, Barry deFreese
  • Date: 2008-03-19 21:32:41 UTC
  • mfrom: (1.2.4 upstream) (3.1.2 lenny)
  • Revision ID: james.westby@ubuntu.com-20080319213241-sn6w3z75uppm22eq
Tags: 0.90-dfsg-1
[ Gonéri Le Bouder ]
* add desktop file, thanks Adrien Cunin (Closes: #402168)
 - powermanga.xpm moved in /usr/share/pixmaps
* call dh_desktop to run update-desktop-database

[ Cyril Brulebois ]
* Added XS-Vcs-Svn and XS-Vcs-Browser fields in the control file.

[ Barry deFreese ]
* Bump debhelper build-dep version to match compat
* Fix substvar source:Version
* Make distclean not ignore errors
* Add watch file
* Add Homepage field in control
* Remove XS- from VCS fields in control
* New Upstream Release (Closes: #447415)
  + Should now be dfsg free
  + Adds joystick support (Closes: #442322)
  + STILL NOT SURE ABOUT tlk.fnt
* Revert patches except fixing scoredir path and copyright for manpage
* Remove deprecated Encoding tag from desktop file
* Remove file extension from icon tag in desktop file
* Replace evil 'pwd' with $(CURDIR)
* Removing config.log config.status in clean target
* Convert copyright to UTF-8.
* Remove order/ dir from upstream tarball.
* Remove empty dirs from powermanga package.
* Bump Standards Version to 3.7.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
/** 
 
3
 * @file bonus.h 
 
4
 * @brief Handle gems, bonus and penality 
 
5
 * @created 2006-11-19 
 
6
 * @date 2007-08-22
 
7
 */
 
8
/* 
 
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 $
 
11
 *
 
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.
 
16
 *
 
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.
 
21
 *
 
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,
 
25
 * MA  02110-1301, USA.
 
26
 */
 
27
#ifndef __BONUS__
 
28
#define __BONUS__
 
29
 
 
30
#ifdef __cplusplus
 
31
extern "C" {
 
32
#endif
 
33
 
 
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
 
39
 
 
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];
 
47
 
 
48
#ifdef __cplusplus
 
49
}
 
50
#endif
 
51
#endif