 |
Crossfire Server, Trunk
1.75.0
|
archetype * more
Next part of a linked object.
object * inv
Pointer to the first object in the inventory.
virtual void write(const archetype *arch, StringBuffer *buf)
Write the specified asset to the StringBuffer.
void stringbuffer_append_printf(StringBuffer *sb, const char *format,...)
Append a formatted string to a string buffer instance.
archetype * head
The main part of a linked object.
static void doWrite(const archetype *arch, StringBuffer *buf)
uint8_t anim_speed
Ticks between animation-frames.
object clone
An object from which to do object_copy()
int16_t casting_time
Time left before spell goes off.
The archetype structure is a set of rules on how to generate and manipulate objects which point to ar...
void stringbuffer_append_string(StringBuffer *sb, const char *str)
Append a string to a string buffer instance.
A buffer that will be expanded as content is added to it.
void get_ob_diff(StringBuffer *sb, const object *op, const object *op2)
Returns a pointer to a static string which contains all variables which are different in the two give...
archetype * empty_archetype
Nice to have fast access to it.
sstring name
More definite name, like "generate_kobold".