Crossfire Server, Trunk
|
#include <global.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 | arrow_type_process (object *op) |
void | init_type_arrow (void) |
The implementation of the Arrow class of objects.
Definition in file arrow.c.
|
static |
Move an arrow along its course. Uses common_process_projectile.
op | The arrow being moved. |
Definition at line 48 of file arrow.c.
References ARROW, common_process_projectile(), llevError, LOG(), METHOD_ERROR, METHOD_OK, object_free_drop_inventory(), object_remove(), give::op, and stop_projectile().
Referenced by init_type_arrow().
void init_type_arrow | ( | void | ) |
Initializer for the ARROW object type.
Definition at line 38 of file arrow.c.
References ARROW, arrow_type_process(), common_projectile_move_on(), register_move_on(), and register_process().
Referenced by register_all_ob_types().