Crossfire Server, Branch 1.12
R12190
|
The implementation of the Thrown Object class of objects. More...
#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 | |
void | init_type_thrown_object (void) |
Initializer for the THROWN_OBJ object type. | |
static method_ret | thrown_object_type_process (ob_methods *context, object *op) |
Move a thrown object along its course. |
The implementation of the Thrown Object class of objects.
Definition in file thrown_object.c.
void init_type_thrown_object | ( | void | ) |
Initializer for the THROWN_OBJ object type.
Definition at line 38 of file thrown_object.c.
References common_projectile_move_on(), register_move_on(), register_process(), THROWN_OBJ, and thrown_object_type_process().
Referenced by register_all_ob_types().
static method_ret thrown_object_type_process | ( | ob_methods * | context, |
object * | op | ||
) | [static] |
Move a thrown object along its course.
Uses common_process_projectile.
context | The method context |
op | The thrown object being moved. |
Definition at line 49 of file thrown_object.c.
References common_process_projectile(), free_object(), llevError, LOG(), METHOD_ERROR, METHOD_OK, remove_ob(), stop_projectile(), and THROWN_OBJ.
Referenced by init_type_thrown_object().