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