 |
Crossfire Server, Trunk
1.75.0
|
Go to the documentation of this file.
36 if (*params !=
'\0') {
37 if (params[0] ==
'f') {
#define FREE_OBJ_NO_DESTROY_CALLBACK
Do not run the destroy callback.
void command_southeast(object *op, const char *params)
'southeast' command.
struct mapstruct * map
Pointer to the map in which this object is present.
void command_west(object *op, const char *params)
'west' command.
void command_stay(object *op, const char *params)
'stay' command.
int move_player(object *op, int dir)
Move player in the given direction.
static void move_internal(object *op, const char *params, int dir)
A player is moving in a direction, but this may indicate firing.
Plugin animator file specs[Config] name
void command_northwest(object *op, const char *params)
'northwest' command.
struct player * contr
Pointer to the player which control this object.
uint32_t run_on
Player should keep moving in dir until run is off.
void fire(object *op, int dir)
Received a fire command for the player - go and do it.
sstring add_string(const char *str)
This will add 'str' to the hash table.
void object_free(object *ob, int flags)
Frees everything allocated by an object, removes it from the list of used objects,...
void command_southwest(object *op, const char *params)
'southwest' command.
uint32_t fire_on
Player should fire object, not move.
object * object_new(void)
Grabs an object from the list of unused objects, makes sure it is initialised, and returns it.
void command_east(object *op, const char *params)
'east' command.
sstring name
The name of the object, obviously...
void command_north(object *op, const char *params)
'north' command.
void enter_exit(object *op, object *exit_ob)
Tries to move 'op' to exit_ob.
void command_south(object *op, const char *params)
'south' command.
void do_goto(object *op, const char *name, int x, int y)
void command_northeast(object *op, const char *params)
'northeast' command.