Crossfire Server, Trunk
|
#include "global.h"
#include <stdlib.h>
#include "ob_methods.h"
#include "ob_types.h"
#include "sounds.h"
#include "sproto.h"
Go to the source code of this file.
Functions | |
static method_ret | gate_type_process (object *op) |
void | init_type_gate (void) |
static method_ret | timed_gate_type_process (object *op) |
The implementation of the Gate and Timed Gate classes of objects.
Definition in file gate.c.
|
static |
Handle ob_process for all gate objects.
op | The gate that's being processed. |
Definition at line 44 of file gate.c.
References liv::ac, AT_PHYSICAL, CLEAR_FLAG, draw_ext_info_format(), FLAG_ALIVE, FLAG_BLOCKSVIEW, FLAG_CAN_ROLL, FLAG_NO_PICK, freearr_x, freearr_y, hit_player(), llevError, LOG(), liv::luck, obj::map, map_get_path(), METHOD_OK, obj::more, MOVE_ALL, obj::move_block, MSG_TYPE_VICTIM, MSG_TYPE_VICTIM_WAS_HIT, NDI_UNIQUE, NUM_ANIMATIONS, object_dump(), object_find_free_spot(), object_insert_in_map_at(), object_remove(), object_update(), object_update_speed(), give::op, play_sound_map(), PLAYER, PREFER_LOW, QUERY_FLAG, random_roll(), SET_ANIMATION, SET_FLAG, SOUND_TYPE_GROUND, obj::stats, stringbuffer_finish(), stringbuffer_new(), Ice::tmp, UP_OBJ_CHANGE, update_all_los(), obj::x, and obj::y.
Referenced by init_type_gate(), and timed_gate_type_process().
void init_type_gate | ( | void | ) |
Initializer for the gate object type.
Definition at line 34 of file gate.c.
References GATE, gate_type_process(), register_process(), TIMED_GATE, and timed_gate_type_process().
Referenced by register_all_ob_types().
|
static |
Handle ob_process for all timed gate objects.
op | The timed gate that's being processed. |
Definition at line 207 of file gate.c.
References gate_type_process(), METHOD_OK, object_update_speed(), and give::op.
Referenced by init_type_gate().