#include "AppHdr.h"
#include "xom.h"
#include <algorithm>
#include "acquire.h"
#include "areas.h"
#include "artefact.h"
#include "beam.h"
#include "branch.h"
#include "coord.h"
#include "coordit.h"
#include "database.h"
#include "delay.h"
#include "directn.h"
#include "effects.h"
#include "env.h"
#include "feature.h"
#include "goditem.h"
#include "it_use2.h"
#include "item_use.h"
#include "itemprop.h"
#include "items.h"
#include "libutil.h"
#include "los.h"
#include "makeitem.h"
#include "map_knowledge.h"
#include "message.h"
#include "mgen_data.h"
#include "misc.h"
#include "mon-behv.h"
#include "mon-iter.h"
#include "mon-place.h"
#include "mon-stuff.h"
#include "mon-util.h"
#include "mutation.h"
#include "notes.h"
#include "options.h"
#include "ouch.h"
#include "output.h"
#include "player.h"
#include "player-equip.h"
#include "player-stats.h"
#include "religion.h"
#include "shout.h"
#include "spl-book.h"
#include "spl-cast.h"
#include "spl-miscast.h"
#include "spl-summoning.h"
#include "spl-transloc.h"
#include "spl-util.h"
#include "stairs.h"
#include "stash.h"
#include "state.h"
#include "stuff.h"
#include "teleport.h"
#include "terrain.h"
#include "transform.h"
#include "traps.h"
#include "travel.h"
#include "view.h"
#include "viewchar.h"
Defines | |
#define | FAKE_SPELL_MAGIC_MAPPING SPELL_NO_SPELL |
Functions | |
const std::string | describe_xom_favour (bool upper) |
bool | xom_is_nice (int tension) |
void | xom_is_stimulated (int maxinterestingness, xom_message_type message_type, bool force_message) |
void | xom_is_stimulated (int maxinterestingness, const std::string &message, bool force_message) |
void | xom_tick () |
bool | move_stair (coord_def stair_pos, bool away, bool allow_under) |
int | xom_acts (bool niceness, int sever, int tension, bool debug) |
void | xom_check_lost_item (const item_def &item) |
void | xom_check_destroyed_item (const item_def &item, int cause) |
void | xom_death_message (const kill_method_type killed_by) |
bool | xom_saves_your_life (const int dam, const int death_source, const kill_method_type death_type, const char *aux, bool see_source) |
#define FAKE_SPELL_MAGIC_MAPPING SPELL_NO_SPELL |
const std::string describe_xom_favour | ( | bool | upper | ) |
bool move_stair | ( | coord_def | stair_pos, | |
bool | away, | |||
bool | allow_under | |||
) |
int xom_acts | ( | bool | niceness, | |
int | sever, | |||
int | tension, | |||
bool | debug | |||
) |
void xom_check_destroyed_item | ( | const item_def & | item, | |
int | cause | |||
) |
void xom_check_lost_item | ( | const item_def & | item | ) |
void xom_death_message | ( | const kill_method_type | killed_by | ) |
bool xom_is_nice | ( | int | tension | ) |
void xom_is_stimulated | ( | int | maxinterestingness, | |
const std::string & | message, | |||
bool | force_message | |||
) |
void xom_is_stimulated | ( | int | maxinterestingness, | |
xom_message_type | message_type, | |||
bool | force_message | |||
) |
bool xom_saves_your_life | ( | const int | dam, | |
const int | death_source, | |||
const kill_method_type | death_type, | |||
const char * | aux, | |||
bool | see_source | |||
) |
void xom_tick | ( | ) |