player-stats.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  stat_desc_type {
  SD_NAME, SD_LOSS, SD_DECREASE, SD_INCREASE,
  NUM_STAT_DESCS
}

Functions

const char * stat_desc (stat_type stat, stat_desc_type desc)
void attribute_increase ()
void modify_stat (stat_type which_stat, int8_t amount, bool suppress_msg, const char *cause, bool see_source=true)
void notify_stat_change (stat_type which_stat, int8_t amount, bool suppress_msg, const char *cause, bool see_source=true)
void notify_stat_change (stat_type which_stat, int8_t amount, bool suppress_msg, const item_def &cause, bool removed=false)
void notify_stat_change (const char *cause)
void jiyva_stat_action ()
bool lose_stat (stat_type which_stat, int8_t stat_loss, bool force=false, const std::string cause="", bool see_source=true)
bool lose_stat (stat_type which_stat, int8_t stat_loss, bool force=false, const char *cause=NULL, bool see_source=true)
bool lose_stat (stat_type which_stat, int8_t stat_loss, const monster *cause, bool force=false)
bool lose_stat (stat_type which_stat, int8_t stat_loss, const item_def &cause, bool removed, bool force=false)
bool restore_stat (stat_type which_stat, int8_t stat_gain, bool suppress_msg, bool recovery=false)
void update_stat_zero ()


Enumeration Type Documentation

Enumerator:
SD_NAME 
SD_LOSS 
SD_DECREASE 
SD_INCREASE 
NUM_STAT_DESCS 


Function Documentation

void attribute_increase (  ) 

Here is the call graph for this function:

void jiyva_stat_action (  ) 

Here is the call graph for this function:

bool lose_stat ( stat_type  which_stat,
int8_t  stat_loss,
const item_def cause,
bool  removed,
bool  force = false 
)

Here is the call graph for this function:

bool lose_stat ( stat_type  which_stat,
int8_t  stat_loss,
const monster cause,
bool  force = false 
)

Here is the call graph for this function:

bool lose_stat ( stat_type  which_stat,
int8_t  stat_loss,
bool  force = false,
const char *  cause = NULL,
bool  see_source = true 
)

Here is the call graph for this function:

bool lose_stat ( stat_type  which_stat,
int8_t  stat_loss,
bool  force = false,
const std::string  cause = "",
bool  see_source = true 
)

Here is the call graph for this function:

void modify_stat ( stat_type  which_stat,
int8_t  amount,
bool  suppress_msg,
const char *  cause,
bool  see_source = true 
)

Here is the call graph for this function:

void notify_stat_change ( const char *  cause  ) 

void notify_stat_change ( stat_type  which_stat,
int8_t  amount,
bool  suppress_msg,
const item_def cause,
bool  removed = false 
)

Here is the call graph for this function:

void notify_stat_change ( stat_type  which_stat,
int8_t  amount,
bool  suppress_msg,
const char *  cause,
bool  see_source = true 
)

Here is the call graph for this function:

bool restore_stat ( stat_type  which_stat,
int8_t  stat_gain,
bool  suppress_msg,
bool  recovery = false 
)

Here is the call graph for this function:

const char* stat_desc ( stat_type  stat,
stat_desc_type  desc 
)

void update_stat_zero (  ) 

Here is the call graph for this function:


Generated on Thu Jan 13 13:18:22 2011 by  doxygen 1.5.6