Mercurial > hg > early-roguelike
comparison arogue7/monsters.c @ 126:b786053d2f37
arogue7: add missing header includes.
| author | John "Elwin" Edwards |
|---|---|
| date | Fri, 08 May 2015 16:45:41 -0400 |
| parents | adfa37e67084 |
| children | f9ef86cf22b2 |
comparison
equal
deleted
inserted
replaced
| 125:adfa37e67084 | 126:b786053d2f37 |
|---|---|
| 18 */ | 18 */ |
| 19 | 19 |
| 20 #include "curses.h" | 20 #include "curses.h" |
| 21 #include "rogue.h" | 21 #include "rogue.h" |
| 22 #include <ctype.h> | 22 #include <ctype.h> |
| 23 #include <string.h> | |
| 23 | 24 |
| 24 | 25 |
| 25 /* | 26 /* |
| 26 * Check_residue takes care of any effect of the monster | 27 * Check_residue takes care of any effect of the monster |
| 27 */ | 28 */ |
| 209 register struct thing *tp; | 210 register struct thing *tp; |
| 210 register struct monster *mp; | 211 register struct monster *mp; |
| 211 register char *ip, *hitp; | 212 register char *ip, *hitp; |
| 212 register int i, min_intel, max_intel; | 213 register int i, min_intel, max_intel; |
| 213 register int num_dice, num_sides=8, num_extra=0; | 214 register int num_dice, num_sides=8, num_extra=0; |
| 214 char *strchr(); | |
| 215 | 215 |
| 216 attach(mlist, item); | 216 attach(mlist, item); |
| 217 tp = THINGPTR(item); | 217 tp = THINGPTR(item); |
| 218 tp->t_pack = NULL; | 218 tp->t_pack = NULL; |
| 219 tp->t_index = type; | 219 tp->t_index = type; |
