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.cpp.
|
static |
Handle ob_process for all gate objects.
op | The gate that's being processed. |
Definition at line 45 of file gate.cpp.
References living::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(), living::luck, object::map, map_get_path(), METHOD_OK, object::more, MOVE_ALL, object::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, object::stats, stringbuffer_finish(), stringbuffer_new(), Ice::tmp, UP_OBJ_CHANGE, update_all_los(), object::x, and object::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 35 of file gate.cpp.
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 208 of file gate.cpp.
References gate_type_process(), METHOD_OK, object_update_speed(), and give::op.
Referenced by init_type_gate().