Crossfire Server, Trunk  R20513
Functions
potion.c File Reference

The implementation of the Potion class of objects. More...

#include "global.h"
#include <string.h>
#include "ob_methods.h"
#include "ob_types.h"
#include "sounds.h"
#include "sproto.h"
Include dependency graph for potion.c:

Go to the source code of this file.

Functions

void init_type_potion (void)
 Initializer for the potion object type. More...
 
static method_ret potion_type_apply (ob_methods *context, object *potion, object *applier, int aflags)
 Handles applying a potion. More...
 

Detailed Description

The implementation of the Potion class of objects.

Definition in file potion.c.

Function Documentation

void init_type_potion ( void  )

Initializer for the potion object type.

Definition at line 34 of file potion.c.

References POTION, potion_type_apply(), and register_apply().

Referenced by register_all_ob_types().

Here is the call graph for this function:

Here is the caller graph for this function:

static method_ret potion_type_apply ( ob_methods context,
object potion,
object applier,
int  aflags 
)
static