|
|
@ -1,4 +1,4 @@
|
|
|
|
/* $Id: bomberclone.h,v 1.39 2003/06/09 22:56:40 stpohle Exp $ */
|
|
|
|
/* $Id: bomberclone.h,v 1.40 2003/06/22 02:03:09 stpohle Exp $ */
|
|
|
|
/* bomberclone.h */
|
|
|
|
/* bomberclone.h */
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef _BOMBERCLONE_H_
|
|
|
|
#ifndef _BOMBERCLONE_H_
|
|
|
@ -91,6 +91,7 @@ struct __player {
|
|
|
|
signed char old_m; // to save the old state..
|
|
|
|
signed char old_m; // to save the old state..
|
|
|
|
|
|
|
|
|
|
|
|
int bombs_n; // maximal number of bombs for the player
|
|
|
|
int bombs_n; // maximal number of bombs for the player
|
|
|
|
|
|
|
|
int bomb_lastex; // number of the bomb which explode the last time
|
|
|
|
_bomb bombs[MAX_BOMBS]; // number of bombs who are ticking.
|
|
|
|
_bomb bombs[MAX_BOMBS]; // number of bombs who are ticking.
|
|
|
|
int range; // range of the bombs
|
|
|
|
int range; // range of the bombs
|
|
|
|
int speed; // how fast we can go (0 = slow, 1 = normal... 3 = fastest)
|
|
|
|
int speed; // how fast we can go (0 = slow, 1 = normal... 3 = fastest)
|
|
|
@ -226,6 +227,7 @@ extern void player_clear_ilness (_player *p, int type);
|
|
|
|
extern void player_ilness_loop (int pl_nr);
|
|
|
|
extern void player_ilness_loop (int pl_nr);
|
|
|
|
extern void player_check_powerup (int p_nr);
|
|
|
|
extern void player_check_powerup (int p_nr);
|
|
|
|
extern void player_set_gfx (_player *p, signed char gfx_nr);
|
|
|
|
extern void player_set_gfx (_player *p, signed char gfx_nr);
|
|
|
|
|
|
|
|
extern int player_findfreebomb (_player *player);
|
|
|
|
|
|
|
|
|
|
|
|
// for the bomb..
|
|
|
|
// for the bomb..
|
|
|
|
extern int bomb_loop ();
|
|
|
|
extern int bomb_loop ();
|
|
|
|