-/* $NetBSD: rogue.h,v 1.20 2009/08/12 08:44:45 dholland Exp $ */
+/* $NetBSD: rogue.h,v 1.24 2013/08/11 03:44:27 dholland Exp $ */
/*
* Copyright (c) 1988, 1993
unsigned long m_flags; /* monster flags */
const char *damage; /* damage it does */
short quantity; /* hit points to kill */
- short ichar; /* 'A' is for aquatar */
+ short ichar; /* 'A' is for aquator */
short kill_exp; /* exp for killing it */
short is_protected; /* level starts */
short is_cursed; /* level ends */
#define INIT_STR 16
#define INIT_EXPLEVEL 1
#define INIT_EXP 0
-#define INIT_PACK {0}
+#define INIT_PACK {0,NULL,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,NULL}
#define INIT_GOLD 0
#define INIT_CHAR '@'
#define INIT_MOVES 1250
boolean check_imitator(object *);
void check_message(void);
int check_up(void);
-void clean_up(const char *) __attribute__((__noreturn__));
+void clean_up(const char *) __dead;
void clear_level(void);
void cnfs(void);
int coin_toss(void);
int drop_check(void);
void eat(void);
void edit_opts(void);
-void error_save(int) __attribute__((__noreturn__));
+void error_save(int) __dead;
void fight(boolean);
boolean flame_broil(object *);
void free_object(object *);
boolean is_passable(int, int);
boolean is_vowel(short);
void kick_into_pack(void);
-void killed_by(const object *, short) __attribute__((__noreturn__));
+void killed_by(const object *, short) __dead;
long lget_number(const char *);
void light_passage(int, int);
void light_up_room(int);
void make_level(void);
void make_scroll_titles(void);
boolean md_df(const char *);
-void md_exit(int) __attribute__((__noreturn__));
+void md_exit(int) __dead;
void md_gct(struct rogue_time *);
int md_get_file_id(const char *);
void md_gfmt(const char *, struct rogue_time *);
void md_sleep(int);
void md_slurp(void);
/*void message(const char *, boolean);*/
-void messagef(boolean, const char *, ...)
- __attribute__((__format__(__printf__, 2, 3)));
+void messagef(boolean, const char *, ...) __printflike(2, 3);
void mix_colors(void);
int mon_can_go(const object *, short, short);
int mon_damage(object *, short);
void put_objects(void);
void put_on_ring(void);
void put_player(short);
-void put_scores(const object *, short) __attribute__((__noreturn__));
+void put_scores(const object *, short) __dead;
void put_stairs(void);
void quaff(void);
void quit(boolean);
void wanderer(void);
void wear(void);
void wield(void);
-void win(void) __attribute__((__noreturn__));
+void win(void) __dead;
void wizardize(void);
long xxx(boolean);
void xxxx(char *, short);
extern char hunger_str[HUNGER_STR_LEN];
extern char login_name[MAX_OPT_LEN];
extern const char *byebye_string;
-extern const char *curse_message;
+extern const char curse_message[];
extern const char *error_file;
extern char *fruit;
extern const char *const m_names[];
extern char *nick_name;
extern const char *press_space;
extern char *save_file;
-extern const char *you_can_move_again;
+extern const char you_can_move_again[];
extern const long level_points[];
extern short add_strength;
extern short auto_search;