Crossfire Server, Trunk
|
#include "global.h"
#include <stdlib.h>
#include <string.h>
#include "ob_methods.h"
#include "ob_types.h"
Go to the source code of this file.
Functions | |
void | common_ob_describe (const object *op, const object *observer, int use_media_tags, char *buf, size_t size) |
This file contains description-related methods that are common to many classes of objects.
Definition in file describe.c.
void common_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.
op | The object to describe |
observer | The object to make the description to |
use_media_tags | If set then media tags may be used in the description |
buf | Buffer that will contain the description |
size | buf's size. |
Definition at line 36 of file describe.c.
References buf, describe_item(), give::op, query_name(), and stringbuffer_finish().
Referenced by legacy_ob_describe(), and spellbook_type_describe().