UMoria  5.5.2
 全て データ構造 ファイル 関数 変数 型定義 マクロ定義
変数
player.c
#include "config.h"
#include "constant.h"
#include "types.h"
player.cのインクルード依存関係図

変数

player_type py
 
int16 char_row
 
int16 char_col
 
int16u player_hp [MAX_PLAYER_LEVEL]
 
char * player_title [MAX_CLASS][MAX_PLAYER_LEVEL]
 
int32u player_exp [MAX_PLAYER_LEVEL]
 
race_type race [MAX_RACES]
 
background_type background [MAX_BACKGROUND]
 
class_type class [MAX_CLASS]
 
int16 class_level_adj [MAX_CLASS][MAX_LEV_ADJ]
 
int32u spell_learned = 0
 
int32u spell_worked = 0
 
int32u spell_forgotten = 0
 
int8u spell_order [32]
 
spell_type magic_spell [MAX_CLASS-1][31]
 
char * spell_names [62]
 
int16u player_init [MAX_CLASS][5]
 

変数

int16 char_col
int16 char_row
初期値:
= {
{"Warrior",9, 25, 14, 1, 38, 70, 55, 18, 5,-2,-2, 2, 2,-1, NONE, 0, 0},
{"Mage", 0, 30, 16, 2, 20, 34, 20, 36,-5, 3, 0, 1,-2, 1, MAGE, 30, 1},
{"Priest", 2, 25, 16, 2, 32, 48, 35, 30,-3,-3, 3,-1, 0, 2, PRIEST, 20, 1},
{"Rogue", 6, 45, 32, 5, 16, 60, 66, 30, 2, 1,-2, 3, 1,-1, MAGE, 0, 5},
{"Ranger", 4, 30, 24, 3, 24, 56, 72, 30, 2, 2, 0, 1, 1, 1, MAGE, 40, 3},
{"Paladin",6, 20, 12, 1, 38, 68, 40, 24, 3,-3, 1, 0, 2, 2, PRIEST, 35, 1}
}
#define MAGE
Definition: constant.h:279
#define PRIEST
Definition: constant.h:280
#define NONE
Definition: constant.h:278
int16 class_level_adj[MAX_CLASS][MAX_LEV_ADJ]
初期値:
= {
{ 4, 4, 2, 2, 3 },
{ 2, 2, 4, 3, 3 },
{ 2, 2, 4, 3, 3 },
{ 3, 4, 3, 4, 3 },
{ 3, 4, 3, 3, 3 },
{ 3, 3, 3, 2, 3 }
}
spell_type magic_spell[MAX_CLASS-1][31]
int32u player_exp[MAX_PLAYER_LEVEL]
初期値:
= {
10, 25, 45, 70, 100, 140, 200, 280,
380, 500, 650, 850, 1100, 1400, 1800, 2300,
2900, 3600, 4400, 5400, 6800, 8400, 10200, 12500,
17500, 25000, 35000L, 50000L, 75000L, 100000L, 150000L, 200000L,
300000L, 400000L, 500000L, 750000L, 1500000L, 2500000L, 5000000L, 10000000L
}
int16u player_init[MAX_CLASS][5]
初期値:
= {
{ 344, 365, 123, 30, 103},
{ 344, 365, 123, 30, 318},
{ 344, 365, 123, 30, 322},
{ 344, 365, 123, 30, 318},
{ 344, 365, 123, 30, 318},
{ 344, 365, 123, 30, 322}
}
char* player_title[MAX_CLASS][MAX_PLAYER_LEVEL]
int32u spell_forgotten = 0
int32u spell_learned = 0
char* spell_names[62]
初期値:
= {
"Magic Missile", "Detect Monsters", "Phase Door", "Light Area",
"Cure Light Wounds", "Find Hidden Traps/Doors", "Stinking Cloud",
"Confusion", "Lightning Bolt", "Trap/Door Destruction", "Sleep I",
"Cure Poison", "Teleport Self", "Remove Curse", "Frost Bolt",
"Turn Stone to Mud", "Create Food", "Recharge Item I", "Sleep II",
"Polymorph Other", "Identify", "Sleep III", "Fire Bolt", "Slow Monster",
"Frost Ball", "Recharge Item II", "Teleport Other", "Haste Self",
"Fire Ball", "Word of Destruction", "Genocide",
"Detect Evil", "Cure Light Wounds", "Bless", "Remove Fear", "Call Light",
"Find Traps", "Detect Doors/Stairs", "Slow Poison", "Blind Creature",
"Portal", "Cure Medium Wounds", "Chant", "Sanctuary", "Create Food",
"Remove Curse", "Resist Heat and Cold", "Neutralize Poison",
"Orb of Draining", "Cure Serious Wounds", "Sense Invisible",
"Protection from Evil", "Earthquake", "Sense Surroundings",
"Cure Critical Wounds", "Turn Undead", "Prayer", "Dispel Undead",
"Heal", "Dispel Evil", "Glyph of Warding", "Holy Word"
}
int8u spell_order[32]
int32u spell_worked = 0