-/* $NetBSD: rogue.h,v 1.9 1999/09/08 21:45:30 jsm Exp $ */
+/* $NetBSD: rogue.h,v 1.12 2001/02/05 01:04:25 christos Exp $ */
/*
* Copyright (c) 1988, 1993
short second; /* 0 - 59 */
};
-#ifdef CURSES
-struct _win_st {
- short _cury, _curx;
- short _maxy, _maxx;
-};
-
-typedef struct _win_st WINDOW;
-
-extern int LINES, COLS;
-extern WINDOW *curscr;
-extern char *CL;
-
-#else
#include <curses.h>
-#endif
/*
* external routine declarations.
*/
#include <stdio.h>
#include <string.h>
+#include <sys/types.h>
+#include <unistd.h>
object *alloc_object __P((void));
object *check_duplicate __P((object *, object *));
void make_scroll_titles __P((void));
boolean mask_pack __P((const object *, unsigned short));
boolean mask_room __P((short, short *, short *, unsigned short));
-void md_cbreak_no_echo_nonl __P((boolean));
boolean md_df __P((const char *));
void md_exit __P((int)) __attribute__((__noreturn__));
void md_gct __P((struct rogue_time *));
-char *md_gdtcf __P((void));
int md_get_file_id __P((const char *));
void md_gfmt __P((const char *, struct rogue_time *));
int md_gseed __P((void));
void md_shell __P((const char *));
void md_sleep __P((int));
void md_slurp __P((void));
-void md_tstp __P((void));
void message __P((const char *, boolean));
void mix_colors __P((void));
-void mix_colors __P((void));
void mix_random_rooms __P((void));
int mon_can_go __P((const object *, int, int));
int mon_damage __P((object *, short));
void plant_gold __P((int, int, boolean));
void play_level __P((void));
void player_init __P((void));
-void player_init __P((void));
void potion_heal __P((int));
int pr_com_id __P((int));
int pr_motion_char __P((int));
void special_hit __P((object *));
void srrandom __P((int));
void start_window __P((void));
-void start_window __P((void));
void steal_gold __P((object *));
void steal_item __P((object *));
void sting __P((object *));
void stop_window __P((void));
-void stop_window __P((void));
void take_a_nap __P((void));
void take_from_pack __P((object *, object *));
void take_off __P((void));
extern short regeneration;
extern short ring_exp;
extern short stealthy;
+extern gid_t gid;
+extern gid_t egid;