Mercurial > hg > early-roguelike
comparison srogue/rogue.ext @ 311:28e22fb35989
Fix one more batch of compiler warnings.
A few of these were potential bugs.
author | John "Elwin" Edwards |
---|---|
date | Tue, 04 May 2021 21:03:47 -0400 |
parents | 057c5114e244 |
children |
comparison
equal
deleted
inserted
replaced
310:827441d05b3e | 311:28e22fb35989 |
---|---|
152 bool monhurt(struct thing *th); | 152 bool monhurt(struct thing *th); |
153 void msg(char *fmt, ...); | 153 void msg(char *fmt, ...); |
154 char *new(int size); | 154 char *new(int size); |
155 struct linked_list *new_item(int size); | 155 struct linked_list *new_item(int size); |
156 void new_level(int ltype); | 156 void new_level(int ltype); |
157 struct linked_list *new_monster(char type, struct coord *cp, bool treas); | 157 struct linked_list *new_monster(int indx, struct coord *cp, bool treas); |
158 struct linked_list *new_thing(bool treas, int type, int which); | 158 struct linked_list *new_thing(bool treas, int type, int which); |
159 void nohaste(int fromfuse); | 159 void nohaste(int fromfuse); |
160 void noteth(int fromfuse); | 160 void noteth(int fromfuse); |
161 void notinvinc(int fromfuse); | 161 void notinvinc(int fromfuse); |
162 void notregen(int fromfuse); | 162 void notregen(int fromfuse); |
191 void ring_off(void); | 191 void ring_off(void); |
192 void ring_on(void); | 192 void ring_on(void); |
193 void ringabil(void); | 193 void ringabil(void); |
194 int ringex(int rtype); | 194 int ringex(int rtype); |
195 int rnd(int range); | 195 int rnd(int range); |
196 char rnd_mon(bool wander, bool baddie); | 196 int rnd_mon(bool wander, bool baddie); |
197 struct coord *rnd_pos(struct room *rp); | 197 struct coord *rnd_pos(struct room *rp); |
198 int rnd_room(void); | 198 int rnd_room(void); |
199 struct coord *rndmove(struct thing *who); | 199 struct coord *rndmove(struct thing *who); |
200 int roll(int number, int sides); | 200 int roll(int number, int sides); |
201 void rollwand(int fromfuse); | 201 void rollwand(int fromfuse); |