|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
/* $Id: bomberclone.h,v 1.20 2003/05/11 17:27:30 stpohle Exp $ */
|
|
|
|
|
/* $Id: bomberclone.h,v 1.21 2003/05/11 22:28:14 stpohle Exp $ */
|
|
|
|
|
/* bomberclone.h */
|
|
|
|
|
|
|
|
|
|
#ifndef _BOMBERCLONE_H_
|
|
|
|
@ -124,6 +124,7 @@ struct __bomberclone {
|
|
|
|
|
int p_nr; // Playernumber 0 if you host a game or the number of the one you are.
|
|
|
|
|
|
|
|
|
|
_field field[MAX_FIELDSIZE_X][MAX_FIELDSIZE_Y];
|
|
|
|
|
unsigned char bfield[MAX_FIELDSIZE_X][MAX_FIELDSIZE_Y]; // will hold informations if ther is a bomb
|
|
|
|
|
|
|
|
|
|
int random_map; // random selecting of a map
|
|
|
|
|
char fieldpath[512]; // path of the field file
|
|
|
|
@ -182,7 +183,7 @@ extern void draw_player (_player * player);
|
|
|
|
|
extern void restore_players_screen ();
|
|
|
|
|
extern void move_player ();
|
|
|
|
|
extern int stepmove_player ();
|
|
|
|
|
extern void player_drop_bomb ();
|
|
|
|
|
extern void player_drop_bomb (int pl_nr);
|
|
|
|
|
extern void get_player_on (short int x, short int y, int pl_nr[]);
|
|
|
|
|
extern void player_died (_player * player, signed char dead_by);
|
|
|
|
|
extern void draw_players ();
|
|
|
|
|