2010-08-08 09:40:42 +02:00
|
|
|
|
#ifndef H_KRNL_CURSES
|
|
|
|
|
#define H_KRNL_CURSES
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
extern "C" {
|
|
|
|
|
#endif
|
|
|
|
|
|
2014-02-18 05:45:00 +01:00
|
|
|
|
extern void register_borders(void);
|
2010-08-08 09:40:42 +02:00
|
|
|
|
|
|
|
|
|
/* f<>r Feuerw<72>nde: in movement mu<6D> das noch explizit getestet werden.
|
2011-03-07 08:03:10 +01:00
|
|
|
|
** besser w<EFBFBD>re eine blcok_type::move() routine, die den effekt
|
|
|
|
|
** der Bewegung auf eine struct unit anwendet.
|
|
|
|
|
**/
|
2010-08-08 09:40:42 +02:00
|
|
|
|
extern struct border_type bt_chaosgate;
|
|
|
|
|
extern struct border_type bt_firewall;
|
|
|
|
|
|
|
|
|
|
typedef struct wall_data {
|
2011-03-07 08:03:10 +01:00
|
|
|
|
struct unit *mage;
|
2010-08-08 09:40:42 +02:00
|
|
|
|
int force;
|
2012-07-09 02:51:48 +02:00
|
|
|
|
bool active;
|
2010-08-08 09:40:42 +02:00
|
|
|
|
int countdown;
|
|
|
|
|
} wall_data;
|
2012-06-05 06:45:25 +02:00
|
|
|
|
|
|
|
|
|
extern const struct curse_type ct_firewall;
|
2010-08-08 09:40:42 +02:00
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
#endif
|