Atrinik Server  4.0
Functions
gate.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 trigger_func (object *op, object *cause, int state)
 
 OBJECT_TYPE_INIT_DEFINE (gate)
 

Detailed Description

Handles code related to gates.

Author
Alex Tokar

Definition in file gate.c.

Function Documentation

OBJECT_TYPE_INIT_DEFINE ( gate  )

Initialize the gate type object methods.

Definition at line 164 of file gate.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 gate.c.

static int trigger_func ( object op,
object cause,
int  state 
)
static

An object is triggered by another one.

Parameters
opThe object being triggered.
causeThe object that is the cause of the trigger.
stateTrigger state.

Definition at line 139 of file gate.c.