Crossfire Server, Trunk
legacy_describe.c File Reference
#include <global.h>
#include <ob_methods.h>
#include <ob_types.h>
+ Include dependency graph for legacy_describe.c:

Go to the source code of this file.

Functions

void legacy_ob_describe (const object *op, const object *observer, int use_media_tags, char *buf, size_t size)
 

Detailed Description

Legacy implementation of description-related methods.

Definition in file legacy_describe.c.

Function Documentation

◆ legacy_ob_describe()

void legacy_ob_describe ( const object op,
const object observer,
int  use_media_tags,
char *  buf,
size_t  size 
)

Describes an object, seen by a given observer.

Parameters
opThe object to describe
observerThe object to make the description to
use_media_tagsIf non zero then use media tags in the description.
bufBuffer that will contain the description
sizebuf's size.

Definition at line 38 of file legacy_describe.c.

References AMULET, ARMOUR, ARROW, BOOTS, BOW, BRACERS, buf, CLOAK, common_ob_describe(), DRINK, FLESH, FOOD, GIRDLE, GLOVES, HELMET, LAMP, give::op, query_name(), RING, SHIELD, SKILL, SKILL_TOOL, and WEAPON.

Referenced by init_ob_methods().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: