#define MSG_TYPE_MISC
Messages that don't go elsewhere.
static method_ret marker_type_trigger(object *op, object *cause, int state)
A marker is triggered.
void object_remove(object *op)
This function removes the object op from the linked list of objects which it is currently tied to...
static void move_marker(object *op)
Move function for marker objects.
sstring slaying
Which race to do double damage to.
sstring add_string(const char *str)
Share a string.
object * above
Pointer to the object stacked above this one.
int16_t y
Position in the map for this object.
Global type definitions and header inclusions.
void draw_ext_info(int flags, int pri, const object *pl, uint8_t type, uint8_t subtype, const char *message)
Sends message to player(s).
void register_process(int ob_type, process_func method)
Registers the process method for the given type.
char method_ret
Define some standard return values for callbacks which don't need to return any other results...
inserts an invisible, weightless force into a player with a specified string.
inserts an invisible, weightless force into a player with a specified string WHEN TRIGGERED...
void init_type_marker(void)
Initializer for the marker object type.
void object_free_drop_inventory(object *ob)
Frees everything allocated by an object, removes it from the list of used objects, and puts it on the list of free objects.
sstring msg
If this is a book/sign/magic mouth/etc.
object * find_force(object *op, const char *name)
Find a force with the given 'name' in the slaying field.
sstring lore
Obscure information about this object, to get put into books and the like.
object * add_force(object *op, const char *name, int duration)
Add or return an existing force inside 'op' with the given 'name' and 'duration' in units of 100 tick...
living stats
Str, Con, Dex, etc.
static method_ret marker_type_process(object *op)
Processes a marker.
struct mapstruct * map
Pointer to the map in which this object is present.
void register_trigger(int ob_type, trigger_func method)
Registers the trigger method for the given type.
uint8_t type
PLAYER, BULLET, etc.
#define GET_MAP_OB(M, X, Y)
Gets the bottom object on a map.
#define NDI_UNIQUE
Print immediately, don't buffer.
int32_t food
How much food in stomach.
Object type functions and variables.