 |
Crossfire Server, Trunk
1.75.0
|
void init_type_player_mover(void)
Initializer for the PLAYERMOVER object type.
#define FABS(x)
Decstations have trouble with fabs()...
float speed
Frequency of object 'moves' relative to server tick rate.
float speed_left
How much speed is left to spend this round.
void register_move_on(int ob_type, move_on_func method)
Registers the move_on method for the given type.
int16_t level
Level of creature or object.
static method_ret player_mover_type_move_on(object *trap, object *victim, object *originator)
Move on this Player Mover object.
method_ret common_pre_ob_move_on(object *trap, object *victim, object *originator)
int should_director_abort(const object *op, const object *victim)
Check if op should abort moving victim because of it's race or slaying.
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.
int16_t maxsp
Max spell points.
living stats
Str, Con, Dex, etc.
uint32_t attacktype
Bitmask of attacks this object does.
void common_post_ob_move_on(object *trap, object *victim, object *originator)