Atrinik Server  4.0
Functions
clock.c File Reference
#include <global.h>
#include <object.h>
#include <object_methods.h>

Go to the source code of this file.

Functions

static void process_func (object *op)
 
static int apply_func (object *op, object *applier, int aflags)
 
static void insert_map_func (object *op)
 
 OBJECT_TYPE_INIT_DEFINE (clock)
 

Detailed Description

Handles code related to clocks.

Author
Alex Tokar

Definition in file clock.c.

Function Documentation

static int apply_func ( object op,
object applier,
int  aflags 
)
static

Applies an object.

Parameters
opThe object to apply.
applierThe object that executes the apply action.
aflagsSpecial (always apply/unapply) flags.

Definition at line 75 of file clock.c.

static void insert_map_func ( object op)
static

Called when an object is inserted on a map.

Parameters
opThe object being inserted.

Definition at line 105 of file clock.c.

OBJECT_TYPE_INIT_DEFINE ( clock  )

Initialize the clock type object methods.

Definition at line 115 of file clock.c.

static void process_func ( object op)
static

Processes an object, giving it the opportunity to move or react.

Parameters
opThe object to process.

Definition at line 38 of file clock.c.