special typedef changed

origin
patty21 23 years ago
parent 036cdf048c
commit c17ef518d0

@ -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 */ /* bomberclone.h */
#ifndef _BOMBERCLONE_H_ #ifndef _BOMBERCLONE_H_
@ -62,6 +62,11 @@ struct __bomb {
int ex_nr; // explosion number int ex_nr; // explosion number
} typedef _bomb; } typedef _bomb;
struct __special {
int type; // type of the special
int to; // timeout
int numuse; // num of uses left
} typedef _special;
struct __player { struct __player {
_gfxplayer *gfx; // pointer to the gfx information _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 speed; // how fast we can go (0 = slow, 1 = normal... 3 = fastest)
int speeddat; // some data i need to do the speed thing int speeddat; // some data i need to do the speed thing
_playerilness ill[PI_max]; // all possible types _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 char name[LEN_PLAYERNAME]; // name oder name[0] == 0
unsigned char state; // status of the player unsigned char state; // status of the player

@ -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 void
special_use (int p_nr) { special_use (int p_nr) {

Loading…
Cancel
Save