|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
/* $Id: basic.h,v 1.49 2003/08/27 21:14:50 stpohle Exp $ */
|
|
|
|
|
/* $Id: basic.h,v 1.50 2003/08/29 22:04:19 stpohle Exp $ */
|
|
|
|
|
/* basic types which we need everywhere */
|
|
|
|
|
|
|
|
|
|
#ifndef _BC_BASIC_H_
|
|
|
|
@ -13,9 +13,6 @@
|
|
|
|
|
#define GAME_SPECIAL_ITEMSTRIGGER 3
|
|
|
|
|
#define GAME_SPECIAL_ITEMSROW 3
|
|
|
|
|
#define GAME_SPECIAL_ITEMSPUSH 3
|
|
|
|
|
#define GAME_SPECIAL_ITEMSKICK 0 // no use yet
|
|
|
|
|
#define GAME_SPECIAL_ITEMSLIQUID 0 // no use yet
|
|
|
|
|
#define GAME_SPECIAL_ITEMSDESTROY 0 // no use yet
|
|
|
|
|
#define GAME_MAX_TUNNELS 4 // number of tunnel entrys
|
|
|
|
|
#define GAME_TIMEOUT 30000 // game timeout 10min)
|
|
|
|
|
#define GAME_TIMEOUTHURRY 3000 // game timeout for hurry and dropping mode (1min)
|
|
|
|
@ -28,10 +25,7 @@
|
|
|
|
|
#define SPECIAL_TRIGGER_TIME 25
|
|
|
|
|
#define SPECIAL_ROW_TIME 30
|
|
|
|
|
#define SPECIAL_PUSH_TIME 50
|
|
|
|
|
#define SPECIAL_KICK_NUMUSE 8
|
|
|
|
|
#define SPECIAL_LIQUID_NUMUSE 8
|
|
|
|
|
#define SPECIAL_DESTROY_NUMUSE 5
|
|
|
|
|
#define SPECIAL_8WAY_NUMUSE 10
|
|
|
|
|
// #define SPECIAL_DESTROY_NUMUSE 5
|
|
|
|
|
|
|
|
|
|
#define START_BOMBS 1
|
|
|
|
|
#define START_RANGE 2
|
|
|
|
@ -141,7 +135,8 @@ enum _fieldtype {
|
|
|
|
|
FT_sp_trigger, // The Triggered bomb Special
|
|
|
|
|
FT_sp_row, // The bomb-row special
|
|
|
|
|
FT_sp_push, // The push-boms special
|
|
|
|
|
FT_sp_kick, // The kick-boms special
|
|
|
|
|
FT_sp_moved, // The moved-boms special
|
|
|
|
|
FT_sp_liquid, // The liquid-bomb special
|
|
|
|
|
FT_max // just to know how many types there are
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
@ -159,7 +154,8 @@ enum _special {
|
|
|
|
|
SP_trigger, // triggered bomb
|
|
|
|
|
SP_row, // bomb row
|
|
|
|
|
SP_push, // push bombs
|
|
|
|
|
SP_kick, // kick bombs
|
|
|
|
|
SP_moved, // moved bombs
|
|
|
|
|
SP_liquid, // liquid bombs
|
|
|
|
|
|
|
|
|
|
SP_max // just to know how many types there are
|
|
|
|
|
};
|
|
|
|
@ -174,7 +170,6 @@ enum _playerillnestype {
|
|
|
|
|
PI_bomb, // player is dropping bombs permanently
|
|
|
|
|
PI_nobomb, // player cannot drop a bomb or only 1 bomb
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
PI_max // just to know what is the last number
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
@ -191,6 +186,7 @@ enum _bombmode {
|
|
|
|
|
BM_normal = 0,
|
|
|
|
|
BM_pushed,
|
|
|
|
|
BM_moving,
|
|
|
|
|
BM_liquid,
|
|
|
|
|
BM_kicked
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|