Hengband
2.2.1
|
データ構造 | |
struct | player_magic |
struct | player_class |
マクロ定義 | |
#define | CH_NONE 0x00 |
#define | CH_LIFE 0x01 |
#define | CH_SORCERY 0x02 |
#define | CH_NATURE 0x04 |
#define | CH_CHAOS 0x08 |
#define | CH_DEATH 0x10 |
#define | CH_TRUMP 0x20 |
#define | CH_ARCANE 0x40 |
#define | CH_ENCHANT 0x80 |
#define | CH_DAEMON 0x100 |
#define | CH_CRUSADE 0x200 |
#define | CH_MUSIC 0x08000 /* This is 16th bit */ |
#define | CH_HISSATSU 0x10000 |
#define | CH_HEX 0x20000 |
#define | CLASS_WARRIOR 0 |
#define | CLASS_MAGE 1 |
#define | CLASS_PRIEST 2 |
#define | CLASS_ROGUE 3 |
#define | CLASS_RANGER 4 |
#define | CLASS_PALADIN 5 |
#define | CLASS_WARRIOR_MAGE 6 |
#define | CLASS_CHAOS_WARRIOR 7 |
#define | CLASS_MONK 8 |
#define | CLASS_MINDCRAFTER 9 |
#define | CLASS_HIGH_MAGE 10 |
#define | CLASS_TOURIST 11 |
#define | CLASS_IMITATOR 12 |
#define | CLASS_BEASTMASTER 13 |
#define | CLASS_SORCERER 14 |
#define | CLASS_ARCHER 15 |
#define | CLASS_MAGIC_EATER 16 |
#define | CLASS_BARD 17 |
#define | CLASS_RED_MAGE 18 |
#define | CLASS_SAMURAI 19 |
#define | CLASS_FORCETRAINER 20 |
#define | CLASS_BLUE_MAGE 21 |
#define | CLASS_CAVALRY 22 |
#define | CLASS_BERSERKER 23 |
#define | CLASS_SMITH 24 |
#define | CLASS_MIRROR_MASTER 25 |
#define | CLASS_NINJA 26 |
#define | CLASS_SNIPER 27 |
#define | MAX_CLASS 28 |
職業の最大定義数 Maximum number of player "class" types (see "table.c", etc) [詳解] | |
#define | IS_WIZARD_CLASS(C) |
型定義 | |
typedef struct player_magic | player_magic |
typedef struct player_class | player_class |
変数 | |
player_magic * | m_info |
const player_magic * | mp_ptr |
const player_class * | cp_ptr |
const player_class | class_info [MAX_CLASS] |
職業情報 / Player Classes [詳解] | |
const s32b | realm_choices1 [] |
職業毎に選択可能な第一領域魔法テーブル [詳解] | |
const s32b | realm_choices2 [] |
職業毎に選択可能な第二領域魔法テーブル [詳解] | |
const concptr | player_title [MAX_CLASS][PY_MAX_LEVEL/5] |
職業とレベル毎のプレイヤー称号テーブル / Class titles for the player. [詳解] | |
#define CH_ARCANE 0x40 |
#define CH_CHAOS 0x08 |
#define CH_CRUSADE 0x200 |
#define CH_DAEMON 0x100 |
#define CH_DEATH 0x10 |
#define CH_ENCHANT 0x80 |
#define CH_HEX 0x20000 |
#define CH_HISSATSU 0x10000 |
#define CH_LIFE 0x01 |
#define CH_MUSIC 0x08000 /* This is 16th bit */ |
#define CH_NATURE 0x04 |
#define CH_NONE 0x00 |
#define CH_SORCERY 0x02 |
#define CH_TRUMP 0x20 |
#define CLASS_ARCHER 15 |
#define CLASS_BARD 17 |
#define CLASS_BEASTMASTER 13 |
#define CLASS_BERSERKER 23 |
#define CLASS_BLUE_MAGE 21 |
#define CLASS_CAVALRY 22 |
#define CLASS_CHAOS_WARRIOR 7 |
#define CLASS_FORCETRAINER 20 |
#define CLASS_HIGH_MAGE 10 |
#define CLASS_IMITATOR 12 |
#define CLASS_MAGE 1 |
#define CLASS_MAGIC_EATER 16 |
#define CLASS_MINDCRAFTER 9 |
#define CLASS_MIRROR_MASTER 25 |
#define CLASS_MONK 8 |
#define CLASS_NINJA 26 |
#define CLASS_PALADIN 5 |
#define CLASS_PRIEST 2 |
#define CLASS_RANGER 4 |
#define CLASS_RED_MAGE 18 |
#define CLASS_ROGUE 3 |
#define CLASS_SAMURAI 19 |
#define CLASS_SMITH 24 |
#define CLASS_SNIPER 27 |
#define CLASS_SORCERER 14 |
#define CLASS_TOURIST 11 |
#define CLASS_WARRIOR 0 |
#define CLASS_WARRIOR_MAGE 6 |
#define IS_WIZARD_CLASS | ( | C | ) |
#define MAX_CLASS 28 |
職業の最大定義数 Maximum number of player "class" types (see "table.c", etc)
typedef struct player_class player_class |
typedef struct player_magic player_magic |
const player_class class_info[MAX_CLASS] |
職業情報 / Player Classes
Title, {STR,INT,WIS,DEX,CON,CHR}, c_dis, c_dev, c_sav, c_stl, c_srh, c_fos, c_thn, c_thb, x_dis, x_dev, x_sav, x_stl, x_srh, x_fos, x_thn, x_thb, HD, Exp, pet_upkeep_div
const player_class* cp_ptr |
player_magic* m_info |
const player_magic* mp_ptr |
const concptr player_title[MAX_CLASS][PY_MAX_LEVEL/5] |
職業とレベル毎のプレイヤー称号テーブル / Class titles for the player.
The player gets a new title every five levels, so each class needs only ten titles total.
const s32b realm_choices1[] |
職業毎に選択可能な第一領域魔法テーブル
const s32b realm_choices2[] |
職業毎に選択可能な第二領域魔法テーブル