 |
Crossfire Server, Trunk
1.75.0
|
@ llevError
Error, serious thing.
void LOG(LogLevel logLevel, const char *format,...)
Logs a message to stderr, or to file.
float speed
Frequency of object 'moves' relative to server tick rate.
struct mapstruct * map
Pointer to the map in which this object is present.
void register_move_on(int ob_type, move_on_func method)
Registers the move_on method for the given type.
method_ret common_projectile_move_on(object *trap, object *victim, object *originator)
Move on this Thrown Object object.
void register_process(int ob_type, process_func method)
Registers the process method for the given type.
void stop_projectile(object *op)
Handle an arrow or thrown object stopping.
void object_free_drop_inventory(object *ob)
Frees everything allocated by an object, removes it from the list of used objects,...
uint8_t type
PLAYER, BULLET, etc.
static method_ret arrow_type_process(object *op)
Move an arrow along its course.
char method_ret
Define some standard return values for callbacks which don't need to return any other results.
method_ret common_process_projectile(object *op)
Move an arrow or thrown object along its course.
void object_remove(object *op)
This function removes the object op from the linked list of objects which it is currently tied to.
void init_type_arrow(void)
Initializer for the ARROW object type.