Mercurial > hg > early-roguelike
comparison urogue/daemons.c @ 257:c4b12d2d1dcd
UltraRogue: fix various build failures.
| author | John "Elwin" Edwards |
|---|---|
| date | Tue, 31 Jan 2017 20:33:49 -0500 |
| parents | c495a4f288c6 |
| children |
comparison
equal
deleted
inserted
replaced
| 256:c495a4f288c6 | 257:c4b12d2d1dcd |
|---|---|
| 223 /* | 223 /* |
| 224 rollwand() | 224 rollwand() |
| 225 called to roll to see if a wandering monster starts up | 225 called to roll to see if a wandering monster starts up |
| 226 */ | 226 */ |
| 227 | 227 |
| 228 daemon | 228 void |
| 229 rollwand(daemon_arg *arg) | 229 rollwand(daemon_arg *arg) |
| 230 { | 230 { |
| 231 NOOP(arg); | 231 NOOP(arg); |
| 232 | 232 |
| 233 if ((rnd(6) == 0) && (player.t_ctype != C_THIEF || | 233 if ((rnd(6) == 0) && (player.t_ctype != C_THIEF || |
| 244 /* | 244 /* |
| 245 stomach() | 245 stomach() |
| 246 digest the hero's food | 246 digest the hero's food |
| 247 */ | 247 */ |
| 248 | 248 |
| 249 daemon | 249 void |
| 250 stomach(daemon_arg *arg) | 250 stomach(daemon_arg *arg) |
| 251 { | 251 { |
| 252 int oldfood, old_hunger; | 252 int oldfood, old_hunger; |
| 253 int amount; | 253 int amount; |
| 254 int power_scale; | 254 int power_scale; |
| 320 runners() | 320 runners() |
| 321 Make all the running monsters move. with monsters now fighting | 321 Make all the running monsters move. with monsters now fighting |
| 322 each other, this routine have been enhanced and may need more work yet | 322 each other, this routine have been enhanced and may need more work yet |
| 323 */ | 323 */ |
| 324 | 324 |
| 325 daemon | 325 void |
| 326 runners(daemon_arg *arg) | 326 runners(daemon_arg *arg) |
| 327 { | 327 { |
| 328 struct linked_list *item; | 328 struct linked_list *item; |
| 329 struct thing *tp; | 329 struct thing *tp; |
| 330 | 330 |
