#include "AppHdr.h"
#include "decks.h"
#include <iostream>
#include <algorithm>
#include "externs.h"
#include "acquire.h"
#include "beam.h"
#include "cio.h"
#include "coordit.h"
#include "database.h"
#include "dgn-actions.h"
#include "dungeon.h"
#include "effects.h"
#include "env.h"
#include "files.h"
#include "food.h"
#include "ghost.h"
#include "godwrath.h"
#include "invent.h"
#include "it_use2.h"
#include "item_use.h"
#include "itemprop.h"
#include "items.h"
#include "makeitem.h"
#include "maps.h"
#include "message.h"
#include "misc.h"
#include "mon-iter.h"
#include "mon-place.h"
#include "mon-util.h"
#include "mgen_data.h"
#include "coord.h"
#include "mon-stuff.h"
#include "mutation.h"
#include "options.h"
#include "ouch.h"
#include "player.h"
#include "player-stats.h"
#include "religion.h"
#include "godconduct.h"
#include "skills2.h"
#include "spl-cast.h"
#include "spl-damage.h"
#include "spl-goditem.h"
#include "spl-miscast.h"
#include "spl-other.h"
#include "spl-selfench.h"
#include "spl-summoning.h"
#include "spl-transloc.h"
#include "spl-util.h"
#include "spl-wpnench.h"
#include "state.h"
#include "stuff.h"
#include "terrain.h"
#include "transform.h"
#include "traps.h"
#include "view.h"
#include "xom.h"
#define END_OF_DECK {NUM_CARDS, {0,0,0}} |
typedef card_with_weights deck_archetype |
bool bad_deck | ( | const item_def & | item | ) |
bool card_effect | ( | card_type | which_card, | |
deck_rarity_type | rarity, | |||
uint8_t | flags, | |||
bool | tell_card | |||
) |
const char* card_name | ( | card_type | card | ) |
int cards_in_deck | ( | const item_def & | deck | ) |
bool choose_deck_and_draw | ( | ) |
void create_pond | ( | const coord_def & | center, | |
int | radius, | |||
bool | allow_deep | |||
) |
bool deck_mark | ( | ) |
bool deck_peek | ( | ) |
deck_rarity_type deck_rarity | ( | const item_def & | item | ) |
uint8_t deck_rarity_to_color | ( | deck_rarity_type | rarity | ) |
bool deck_stack | ( | ) |
bool deck_triple_draw | ( | ) |
void draw_from_deck_of_punishment | ( | ) |
void evoke_deck | ( | item_def & | deck | ) |
int get_power_level | ( | int | power, | |
deck_rarity_type | rarity | |||
) |
void init_deck | ( | item_def & | item | ) |
bool is_deck | ( | const item_def & | item | ) |
void nemelex_shuffle_decks | ( | ) |
void sage_card | ( | int | power, | |
deck_rarity_type | rarity | |||
) |
void shuffle_all_decks_on_level | ( | ) |
bool top_card_is_known | ( | const item_def & | deck | ) |
const deck_archetype deck_of_battle[] |
Initial value:
{ { CARD_ELIXIR, {5, 5, 5} }, { CARD_BATTLELUST, {5, 5, 5} }, { CARD_METAMORPHOSIS, {5, 5, 5} }, { CARD_HELM, {5, 5, 5} }, { CARD_BLADE, {5, 5, 5} }, { CARD_SHADOW, {5, 5, 5} }, END_OF_DECK }
const deck_archetype deck_of_destruction[] |
Initial value:
{ { CARD_VITRIOL, {5, 5, 5} }, { CARD_FLAME, {5, 5, 5} }, { CARD_FROST, {5, 5, 5} }, { CARD_VENOM, {5, 5, 5} }, { CARD_HAMMER, {5, 5, 5} }, { CARD_SPARK, {5, 5, 5} }, { CARD_PAIN, {5, 5, 5} }, { CARD_TORMENT, {1, 3, 5} }, END_OF_DECK }
const deck_archetype deck_of_dungeons[] |
Initial value:
{ { CARD_WATER, {5, 5, 5} }, { CARD_GLASS, {5, 5, 5} }, { CARD_MAP, {5, 5, 5} }, { CARD_DOWSING, {5, 5, 5} }, { CARD_SPADE, {5, 5, 5} }, { CARD_TROWEL, {5, 5, 5} }, { CARD_MINEFIELD, {5, 5, 5} }, END_OF_DECK }
const deck_archetype deck_of_emergency[] |
Initial value:
{ { CARD_TOMB, {5, 5, 5} }, { CARD_BANSHEE, {5, 5, 5} }, { CARD_DAMNATION, {0, 1, 2} }, { CARD_SOLITUDE, {5, 5, 5} }, { CARD_WARPWRIGHT, {5, 5, 5} }, { CARD_FLIGHT, {5, 5, 5} }, END_OF_DECK }
const deck_archetype deck_of_enchantments[] |
Initial value:
{ { CARD_ELIXIR, {5, 5, 5} }, END_OF_DECK }
const deck_archetype deck_of_oddities[] |
Initial value:
{ { CARD_GENIE, {5, 5, 5} }, { CARD_BARGAIN, {5, 5, 5} }, { CARD_WRATH, {5, 5, 5} }, { CARD_XOM, {5, 5, 5} }, { CARD_FEAST, {5, 5, 5} }, { CARD_FAMINE, {5, 5, 5} }, { CARD_CURSE, {5, 5, 5} }, END_OF_DECK }
const deck_archetype deck_of_punishment[] |
Initial value:
{ { CARD_WRAITH, {5, 5, 5} }, { CARD_WILD_MAGIC, {5, 5, 5} }, { CARD_WRATH, {5, 5, 5} }, { CARD_XOM, {5, 5, 5} }, { CARD_FAMINE, {5, 5, 5} }, { CARD_CURSE, {5, 5, 5} }, { CARD_TOMB, {5, 5, 5} }, { CARD_DAMNATION, {5, 5, 5} }, { CARD_PORTAL, {5, 5, 5} }, { CARD_MINEFIELD, {5, 5, 5} }, { CARD_SWINE, {5, 5, 5} }, END_OF_DECK }
const deck_archetype deck_of_summoning[] |
Initial value:
{ { CARD_CRUSADE, {5, 5, 5} }, { CARD_SUMMON_ANIMAL, {5, 5, 5} }, { CARD_SUMMON_DEMON, {5, 5, 5} }, { CARD_SUMMON_WEAPON, {5, 5, 5} }, { CARD_SUMMON_FLYING, {5, 5, 5} }, { CARD_SUMMON_SKELETON, {5, 5, 5} }, { CARD_SUMMON_UGLY, {5, 5, 5} }, END_OF_DECK }
const deck_archetype deck_of_transport[] |
Initial value:
{ { CARD_PORTAL, {5, 5, 5} }, { CARD_WARP, {5, 5, 5} }, { CARD_SWAP, {5, 5, 5} }, { CARD_VELOCITY, {5, 5, 5} }, END_OF_DECK }
const deck_archetype deck_of_wonders[] |
Initial value:
{ { CARD_POTION, {5, 5, 5} }, { CARD_FOCUS, {1, 1, 2} }, { CARD_SHUFFLE, {0, 1, 2} }, { CARD_EXPERIENCE, {5, 5, 5} }, { CARD_WILD_MAGIC, {5, 5, 5} }, { CARD_HELIX, {5, 5, 5} }, { CARD_SAGE, {5, 5, 5} }, END_OF_DECK }