 |
Crossfire Server, Trunk
1.75.0
|
static method_ret clock_type_apply(object *op, object *applier, int aflags)
Handles using a clock.
void register_apply(int ob_type, apply_func method)
Registers the apply method for the given type.
Represents the ingame time.
void draw_ext_info_format(int flags, int pri, const object *pl, uint8_t type, uint8_t subtype, const char *format,...) PRINTF_ARGS(6
void play_sound_player_only(player *pl, int8_t sound_type, object *emitter, int dir, const char *action)
Plays a sound for specified player only.
void get_tod(timeofday_t *tod)
Computes the ingame time of the day.
const char * time_format_time(const timeofday_t *tod, char *buf, size_t bufsize)
Formats a timestamp in Crossfire time.
struct player * contr
Pointer to the player which control this object.
#define MSG_TYPE_APPLY_SUCCESS
Was able to apply object.
uint8_t type
PLAYER, BULLET, etc.
void init_type_clock(void)
Initializer for the CLOCK object type.
char method_ret
Define some standard return values for callbacks which don't need to return any other results.
#define NDI_UNIQUE
Print immediately, don't buffer.
#define MSG_TYPE_APPLY
Applying objects.