Exemplo n.º 1
0
static void
mkzoo(struct level *lev, int type, enum rng rng)
{
    struct mkroom *sroom;

    if ((sroom = pick_room(lev, FALSE, rng)) != 0) {
        sroom->rtype = type;
        fill_zoo(lev, sroom, rng);
    }
}
Exemplo n.º 2
0
static void
mkzoo (int type)
{
        struct mkroom *sroom;

        if ((sroom = pick_room(false)) != 0) {
                sroom->rtype = type;
                fill_zoo(sroom);
        }
}
Exemplo n.º 3
0
static void
mkzoo(struct level *lev, int type)
{
    struct mkroom *sroom;

    if ((sroom = pick_room(lev, FALSE)) != 0) {
        sroom->rtype = type;
        fill_zoo(lev, sroom);
    }
}