Mercurial > hg > early-roguelike
comparison arogue5/main.c @ 107:f2951c4e28d9
Rename daemon() to start_daemon().
daemon() conflicted with the standard library function, which is
included by default on OS X.
author | John "Elwin" Edwards |
---|---|
date | Sat, 07 Sep 2013 08:08:00 -0400 |
parents | 88ab59f06dfc |
children | ee250e3646fd |
comparison
equal
deleted
inserted
replaced
106:c191a735f811 | 107:f2951c4e28d9 |
---|---|
225 waswizard = wizard; | 225 waswizard = wizard; |
226 new_level(NORMLEV); /* Draw current level */ | 226 new_level(NORMLEV); /* Draw current level */ |
227 /* | 227 /* |
228 * Start up daemons and fuses | 228 * Start up daemons and fuses |
229 */ | 229 */ |
230 daemon(doctor, &player, AFTER); | 230 start_daemon(doctor, &player, AFTER); |
231 fuse(swander, 0, WANDERTIME, AFTER); | 231 fuse(swander, 0, WANDERTIME, AFTER); |
232 daemon(stomach, 0, AFTER); | 232 start_daemon(stomach, 0, AFTER); |
233 daemon(runners, 0, AFTER); | 233 start_daemon(runners, 0, AFTER); |
234 if (player.t_ctype == C_THIEF) | 234 if (player.t_ctype == C_THIEF) |
235 daemon(trap_look, 0, AFTER); | 235 start_daemon(trap_look, 0, AFTER); |
236 | 236 |
237 /* Choose a quest item */ | 237 /* Choose a quest item */ |
238 quest_item = rnd(MAXRELIC); | 238 quest_item = rnd(MAXRELIC); |
239 msg("You have been quested to retrieve the %s....", | 239 msg("You have been quested to retrieve the %s....", |
240 rel_magic[quest_item].mi_name); | 240 rel_magic[quest_item].mi_name); |