mirror of
https://codeberg.org/noisytoot/notnotdnethack.git
synced 2025-04-28 11:25:11 +01:00

Summoned creatures disappear when their summoner dies or leaves the level. Summoned creatures' items disappear when the creature dies or leaves the level. Many forms of monsters summoning other monsters use this, with notable exceptions: - minion gating (melee gating and monster spell) - raising the dead (monster spell) - wizard duplication
27 lines
528 B
C
27 lines
528 B
C
/* SCCS Id: @(#)mextra.h 3.4 1992/11/14 */
|
|
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
|
/* NetHack may be freely redistributed. See license for details. */
|
|
|
|
#ifndef OEXTRA_H
|
|
#define OEXTRA_H
|
|
|
|
#include "exstruct.h"
|
|
|
|
#define OX_ENAM 0
|
|
#define OX_EMON 1
|
|
#define OX_EMID 2
|
|
#define OX_ESUM 3
|
|
#define NUM_OX 4
|
|
|
|
/* container for all oextra */
|
|
union oextra {
|
|
void * eindex[NUM_OX];
|
|
struct {
|
|
struct enam * enam_p;
|
|
struct emon * emon_p;
|
|
int * emid_p;
|
|
struct esum * esum_p;
|
|
};
|
|
};
|
|
|
|
#endif /* OEXTRA_H */
|