Go to the documentation of this file.
72 while (prev != NULL && prev->
next != NULL && prev->
next !=
pl)
74 if (!prev || prev->
next !=
pl) {
75 LOG(
llevError,
"Free_player: Can't find previous player.\n");
126 &&
op->arch->clone.race != NULL
127 && strcmp(
op->arch->clone.race,
"dragon") == 0)
148 if (info->
spell == spell)
212 else if (skin_resist > 80)
213 snprintf(
pl->
title,
sizeof(
pl->
title),
"legendary %s dragon", attack);
214 else if (skin_resist > 50)
215 snprintf(
pl->
title,
sizeof(
pl->
title),
"ancient %s dragon", attack);
291 for (skill = 0; skill <
MAX_SKILLS; skill++) {
292 if (
op->contr->last_skill_ob[skill] == NULL) {
294 op->contr->last_skill_ob[skill] =
tmp;
295 op->contr->last_skill_exp[skill] = -1;
298 if (
op->contr->last_skill_ob[skill] ==
tmp) {
void commit_crime(object *op, const char *description)
SockList ** delayed_buffers
#define FREE_OBJ_NO_DESTROY_CALLBACK
void object_free(object *ob, int flags)
void object_remove(object *op)
#define QUERY_FLAG(xyz, p)
struct client_spell * next
int player_has_own_title(const struct pl *pl)
uint8_t delayed_buffers_used
void player_set_own_title(struct pl *pl, const char *title)
object * find_force(object *op, const char *name)
int is_old_wraith_pl(object *op)
void link_player_skills(object *op)
const char * unarmed_skill
void fatal(enum fatal_error err)
EXTERN player * first_player
void clear_player(player *pl)
bool is_criminal(object *op)
void replace_unprintable_chars(char *buf)
const char * player_get_own_title(const struct pl *pl)
client_spell * get_client_spell_state(player *pl, object *spell)
int is_dragon_pl(const object *op)
size_t strlcpy(char *dst, const char *src, size_t size)
#define FREE_AND_CLEAR_STR(xyz)
client_spell * spell_state
int is_wraith_pl(object *op)
void object_set_msg(object *op, const char *msg)
#define FREE_AND_CLEAR(xyz)
void LOG(LogLevel logLevel, const char *format,...)
uint8_t delayed_buffers_allocated
void object_free_drop_inventory(object *ob)
void free_player(player *pl)
object * object_find_by_name(const object *who, const char *name)
object * add_force(object *op, const char *name, int duration)
int atnr_is_dragon_enabled(int attacknr)
void player_set_dragon_title(struct pl *pl, int level, const char *attack, int skin_resist)
void player_get_title(const struct pl *pl, char *buf, size_t bufsize)
#define FOR_INV_PREPARE(op_, it_)