arogue7: add missing header includes.

This commit is contained in:
John "Elwin" Edwards 2015-05-08 16:45:41 -04:00
parent cf121ade21
commit 3095366864
24 changed files with 28 additions and 2 deletions

View file

@ -19,6 +19,8 @@
#include "curses.h"
#include <ctype.h>
#include <string.h>
#include <stdlib.h>
#include <signal.h>
#include "mach_dep.h"
#include "rogue.h"

View file

@ -12,6 +12,7 @@
* See the file LICENSE.TXT for full copyright and licensing information.
*/
#include <string.h>
#include "curses.h"
#include "rogue.h"

View file

@ -19,6 +19,7 @@
#include "curses.h"
#include <ctype.h>
#include <string.h>
#include "rogue.h"
int hit(struct object *weapon, bool see_att, bool see_def, char *er, char *ee, bool back_stab, bool thrown, bool short_msg);
@ -335,7 +336,6 @@ bool back_stab;
bool did_hit = FALSE;
int prop_hplus, prop_dplus;
int vampiric_damage;
char *strchr();
/* Get statistics */
att = &att_er->t_stats;

View file

@ -19,6 +19,7 @@
#include "curses.h"
#include <ctype.h>
#include <string.h>
#include "rogue.h"
#include "mach_dep.h"

View file

@ -19,6 +19,7 @@
#include "curses.h"
#include <stdarg.h>
#include <ctype.h>
#include <string.h>
#include "rogue.h"
/*

View file

@ -13,6 +13,8 @@
*/
#include "curses.h"
#include <stdlib.h>
#include <string.h>
#include <signal.h>
#ifdef BSD
#include <sys/time.h>

View file

@ -62,6 +62,7 @@
#endif
#include <stdio.h>
#include <string.h>
#include <fcntl.h>
#include <limits.h>
#include <sys/stat.h>

View file

@ -13,6 +13,7 @@
*/
#include "curses.h"
#include <stdlib.h>
#include <ctype.h>
#include "rogue.h"
#ifdef PC7300

View file

@ -20,6 +20,7 @@
#include "curses.h"
#include "rogue.h"
#include <ctype.h>
#include <string.h>
/*
@ -211,7 +212,6 @@ bool max_monster;
register char *ip, *hitp;
register int i, min_intel, max_intel;
register int num_dice, num_sides=8, num_extra=0;
char *strchr();
attach(mlist, item);
tp = THINGPTR(item);

View file

@ -21,6 +21,7 @@
#include "curses.h"
#include <ctype.h>
#include <string.h>
#include "rogue.h"
#define NUM_OPTS (sizeof optlist / sizeof (OPTION))

View file

@ -14,6 +14,7 @@
#include "curses.h"
#include <ctype.h>
#include <string.h>
#include "rogue.h"
#ifdef PC7300
#include "menu.h"

View file

@ -16,6 +16,7 @@
* Function(s) for dealing with potions
*/
#include <stdlib.h>
#include "curses.h"
#include "rogue.h"

View file

@ -11,6 +11,7 @@
* See the file LICENSE.TXT for full copyright and licensing information.
*/
#include <stdlib.h>
#include "curses.h"
#include "rogue.h"

View file

@ -33,6 +33,8 @@
#endif
#include <signal.h>
#include <ctype.h>
#include <string.h>
#include <stdlib.h>
#include <sys/types.h>
#include <fcntl.h>
#include "mach_dep.h"

View file

@ -17,6 +17,7 @@
*
*/
#include <stdlib.h>
#include "curses.h"
#include "rogue.h"

View file

@ -19,6 +19,8 @@
#include "curses.h"
#include <ctype.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <signal.h>

View file

@ -18,6 +18,7 @@
*/
#include "curses.h"
#include <stdlib.h>
#include <ctype.h>
#include "rogue.h"

View file

@ -61,6 +61,7 @@
#include <curses.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "rogue.h"
#define READSTAT (format_error || read_error )

View file

@ -19,6 +19,7 @@
#include "curses.h"
#include <ctype.h>
#include <string.h>
#include "rogue.h"

View file

@ -20,6 +20,7 @@
#include "curses.h"
#include <ctype.h>
#include <string.h>
#include "rogue.h"
/*

View file

@ -15,6 +15,7 @@
#include "curses.h"
#include "rogue.h"
#include <ctype.h>
#include <string.h>
#ifdef PC7300
#include <track.h>
#include <kcodes.h>

View file

@ -19,6 +19,7 @@
#include "curses.h"
#include <ctype.h>
#include <string.h>
#include "rogue.h"
boomerang(ydelta, xdelta, item, tp)

View file

@ -16,6 +16,7 @@
* This file contains misc functions for dealing with armor
*/
#include <stdlib.h>
#include "curses.h"
#include "rogue.h"

View file

@ -18,6 +18,7 @@
*/
#include "curses.h"
#include <stdlib.h>
#include <ctype.h>
#include "rogue.h"
#ifdef PC7300