 |
Crossfire Server, Trunk
1.75.0
|
Go to the documentation of this file.
49 if (op->
map == NULL) {
66 if (op->
inv == NULL) {
@ llevError
Error, serious thing.
void LOG(LogLevel logLevel, const char *format,...)
Logs a message to stderr, or to file.
object * inv
Pointer to the first object in the inventory.
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.
char method_ret
Define some standard return values for callbacks which don't need to return any other results.
int32_t last_sp
As last_heal, but for spell points.
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.
static method_ret thrown_object_type_process(object *op)
Move a thrown object along its course.
void init_type_thrown_object(void)
Initializer for the THROWN_OBJ object type.