|
|
@ -1,4 +1,4 @@
|
|
|
|
/* $Id: bomberclone.h,v 1.1 2003/09/21 20:15:28 stpohle Exp $ */
|
|
|
|
/* $Id: bomberclone.h,v 1.2 2003/09/23 18:54:55 stpohle Exp $ */
|
|
|
|
/* bomberclone.h */
|
|
|
|
/* bomberclone.h */
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef _BOMBERCLONE_H_
|
|
|
|
#ifndef _BOMBERCLONE_H_
|
|
|
@ -47,13 +47,13 @@
|
|
|
|
#include "sysfunc.h"
|
|
|
|
#include "sysfunc.h"
|
|
|
|
#include "keybinput.h"
|
|
|
|
#include "keybinput.h"
|
|
|
|
|
|
|
|
|
|
|
|
struct __playerilness {
|
|
|
|
struct {
|
|
|
|
int to; // if (to > 0) the ilness is still working
|
|
|
|
int to; // if (to > 0) the ilness is still working
|
|
|
|
int data;
|
|
|
|
int data;
|
|
|
|
} typedef _playerilness;
|
|
|
|
} typedef _playerilness;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct __bomb {
|
|
|
|
struct {
|
|
|
|
_point pos; // lower byte = _X Higher Byte = FX
|
|
|
|
_point pos; // lower byte = _X Higher Byte = FX
|
|
|
|
int firer[4]; // range of the fire for the fire for each direction
|
|
|
|
int firer[4]; // range of the fire for the fire for each direction
|
|
|
|
int firerst[4]; /* just save here where the direction was going to stop (-1)
|
|
|
|
int firerst[4]; /* just save here where the direction was going to stop (-1)
|
|
|
@ -70,7 +70,7 @@ struct __bomb {
|
|
|
|
|
|
|
|
|
|
|
|
} typedef _bomb;
|
|
|
|
} typedef _bomb;
|
|
|
|
|
|
|
|
|
|
|
|
struct __special {
|
|
|
|
struct {
|
|
|
|
int type; // type of the special
|
|
|
|
int type; // type of the special
|
|
|
|
int to; // timeout
|
|
|
|
int to; // timeout
|
|
|
|
int numuse; // num of uses left
|
|
|
|
int numuse; // num of uses left
|
|
|
@ -78,7 +78,7 @@ struct __special {
|
|
|
|
and deleted in special_loop */
|
|
|
|
and deleted in special_loop */
|
|
|
|
} typedef _special;
|
|
|
|
} typedef _special;
|
|
|
|
|
|
|
|
|
|
|
|
struct __player {
|
|
|
|
struct {
|
|
|
|
_gfxplayer *gfx; // pointer to the gfx information
|
|
|
|
_gfxplayer *gfx; // pointer to the gfx information
|
|
|
|
int gfx_nr; // number of the player GFX
|
|
|
|
int gfx_nr; // number of the player GFX
|
|
|
|
|
|
|
|
|
|
|
@ -119,12 +119,12 @@ struct __player {
|
|
|
|
} typedef _player;
|
|
|
|
} typedef _player;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct __serverlist {
|
|
|
|
struct {
|
|
|
|
char name[255];
|
|
|
|
char name[255];
|
|
|
|
} typedef _serverlist;
|
|
|
|
} typedef _serverlist;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct __bomberclone {
|
|
|
|
struct {
|
|
|
|
char datapath[512];
|
|
|
|
char datapath[512];
|
|
|
|
|
|
|
|
|
|
|
|
_player players[MAX_PLAYERS];
|
|
|
|
_player players[MAX_PLAYERS];
|
|
|
@ -161,14 +161,14 @@ struct __bomberclone {
|
|
|
|
} typedef _bomberclone;
|
|
|
|
} typedef _bomberclone;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct __menu {
|
|
|
|
struct {
|
|
|
|
int index;
|
|
|
|
int index;
|
|
|
|
char text[255];
|
|
|
|
char text[255];
|
|
|
|
// int type; // could be visible / disabled / grayed ?? should avoid -2 trick
|
|
|
|
// int type; // could be visible / disabled / grayed ?? should avoid -2 trick
|
|
|
|
} typedef _menu;
|
|
|
|
} typedef _menu;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct __airunaway {
|
|
|
|
struct {
|
|
|
|
signed char dir;
|
|
|
|
signed char dir;
|
|
|
|
signed char bestdir;
|
|
|
|
signed char bestdir;
|
|
|
|
} typedef _airunaway;
|
|
|
|
} typedef _airunaway;
|
|
|
|