diff --git a/src/bomberclone.h b/src/bomberclone.h index f53bb7d..0a3b1c6 100644 --- a/src/bomberclone.h +++ b/src/bomberclone.h @@ -1,4 +1,4 @@ -/* $Id: bomberclone.h,v 1.30 2003/05/29 20:49:53 stpohle Exp $ */ +/* $Id: bomberclone.h,v 1.31 2003/05/30 19:57:20 patty21 Exp $ */ /* bomberclone.h */ #ifndef _BOMBERCLONE_H_ @@ -62,6 +62,11 @@ struct __bomb { int ex_nr; // explosion number } typedef _bomb; +struct __special { + int type; // type of the special + int to; // timeout + int numuse; // num of uses left +} typedef _special; struct __player { _gfxplayer *gfx; // pointer to the gfx information @@ -86,7 +91,7 @@ struct __player { int speed; // how fast we can go (0 = slow, 1 = normal... 3 = fastest) int speeddat; // some data i need to do the speed thing _playerilness ill[PI_max]; // all possible types - int special; // special the player has + _special special; // special the player has char name[LEN_PLAYERNAME]; // name oder name[0] == 0 unsigned char state; // status of the player diff --git a/src/special.c b/src/special.c index 6e449e7..3afcfbf 100644 --- a/src/special.c +++ b/src/special.c @@ -137,6 +137,20 @@ special_push (int p_nr) } +void +special_pickup (int p_nr, int s_nr) { + +} +void +special_clear (int p_nr) { + +} + +void +special_loop (int p_nr) { + +} + void special_use (int p_nr) {