 |
Crossfire Server, Trunk
1.75.0
|
void LOG(LogLevel logLevel, const char *format,...)
Logs a message to stderr, or to file.
void register_apply(int ob_type, apply_func method)
Registers the apply method for the given type.
static method_ret poison_type_apply(object *op, object *applier, int aflags)
Attempts to apply some poison.
#define MSG_TYPE_APPLY_CURSED
Applied a cursed object (BAD)
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.
struct player * contr
Pointer to the player which control this object.
#define object_decrease_nrof_by_one(xyz)
char killer[BIG_NAME]
Who killed this player.
uint8_t type
PLAYER, BULLET, etc.
int32_t food
How much food in stomach.
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.
void apply_handle_yield(object *tmp)
This checks whether the object has a "on_use_yield" field, and if so generated and drops matching ite...
sstring name
The name of the object, obviously...
int hit_player(object *op, int dam, object *hitter, uint32_t type, int full_hit)
Object is attacked by something.
void init_type_poison(void)
Initializer for the POISON object type.
living stats
Str, Con, Dex, etc.
#define MSG_TYPE_APPLY
Applying objects.
@ llevDebug
Only for debugging purposes.