Crossfire Server, Branches 1.12  R18729
potion.c File Reference
#include <global.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)
 
static method_ret potion_type_apply (ob_methods *context, object *potion, object *applier, int aflags)
 

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 38 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