<ClCompile Include="..\..\src\objectkind-hook.c" />\r
<ClCompile Include="..\..\src\object-broken.c" />\r
<ClCompile Include="..\..\src\patron.c" />\r
+ <ClCompile Include="..\..\src\player-class.c" />\r
<ClCompile Include="..\..\src\player-damage.c" />\r
<ClCompile Include="..\..\src\player-effects.c" />\r
<ClCompile Include="..\..\src\player-skill.c" />\r
<ClInclude Include="..\..\src\object.h" />\r
<ClInclude Include="..\..\src\objectkind-hook.h" />\r
<ClInclude Include="..\..\src\patron.h" />\r
+ <ClInclude Include="..\..\src\player-class.h" />\r
<ClInclude Include="..\..\src\player-damage.h" />\r
<ClInclude Include="..\..\src\player-effects.h" />\r
<ClInclude Include="..\..\src\player-move.h" />\r
<ClCompile Include="..\..\src\dungeon.c">
<Filter>floor</Filter>
</ClCompile>
+ <ClCompile Include="..\..\src\player-class.c">
+ <Filter>player</Filter>
+ </ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\src\angband.h" />
<ClInclude Include="..\..\src\dungeon.h">
<Filter>floor</Filter>
</ClInclude>
+ <ClInclude Include="..\..\src\player-class.h">
+ <Filter>player</Filter>
+ </ClInclude>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="..\..\src\angband.rc" />
projection.h projection.c\
\
player-move.c player-move.h player-damage.c player-damage.h player-status.c player-status.h \
- player-effects.c player-effects.h player-skill.c player-skill.h \
+ player-effects.c player-effects.h player-skill.c player-skill.h player-class.c player-class.h \
\
quest.h quest.c\
\
#include "store.h"
#include "patron.h"
#include "quest.h"
+#include "player-class.h"
#include "player-status.h"
#include "spells.h"
#include "spells-status.h"
#include "avatar.h"
#include "player-status.h"
#include "spells.h"
+#include "player-class.h"
/*!
#include "player-status.h"
#include "player-effects.h"
#include "player-skill.h"
+#include "player-class.h"
#include "object-hook.h"
#include "cmd-basic.h"
#include "view-mainwindow.h"
#include "view-mainwindow.h"
#include "dungeon-file.h"
#include "files.h"
+#include "player-class.h"
/*
*/
#include "avatar.h"
#include "player-move.h"
#include "player-status.h"
+#include "player-class.h"
#include "cmd-spell.h"
#include "realm-hex.h"
#include "object-hook.h"
#include "wild.h"
#include "quest.h"
#include "view-mainwindow.h"
+#include "player-class.h"
extern const player_race *rp_ptr;
extern const player_class *cp_ptr;
extern const player_seikaku *ap_ptr;
-extern const player_magic *mp_ptr;
extern birther previous_char;
-extern player_magic *m_info;
extern char *f_name;
extern char *f_tag;
extern object_kind *k_info;
#include "dungeon.h"
#include "rooms-vault.h"
#include "player-skill.h"
+#include "player-class.h"
#ifndef MACINTOSH
#ifdef CHECK_MODIFICATION_TIME
#include "dungeon-file.h"
#include "files.h"
#include "player-skill.h"
+#include "player-class.h"
#include "world.h"
#include "avatar.h"
#include "player-move.h"
#include "player-status.h"
+#include "player-class.h"
#include "spells-status.h"
#include "cmd-spell.h"
#include "spells-floor.h"
--- /dev/null
+
+#include "angband.h"
+#include "player-class.h"
+
+/*
+ * The magic info
+ */
+const player_magic *mp_ptr;
+player_magic *m_info;
--- /dev/null
+#pragma once
+
+/*
+ * Information about the player's "magic"
+ *
+ * Note that a player with a "spell_book" of "zero" is illiterate.
+ */
+
+typedef struct player_magic player_magic;
+
+struct player_magic
+{
+ OBJECT_TYPE_VALUE spell_book; /* Tval of spell books (if any) */
+ int spell_xtra; /* Something for later */
+
+ int spell_stat; /* Stat for spells (if any) */
+ int spell_type; /* Spell type (mage/priest) */
+
+ int spell_first; /* Level of first spell */
+ int spell_weight; /* Weight that hurts spells */
+
+ magic_type info[MAX_MAGIC][32]; /* The available spells */
+};
+
+extern player_magic *m_info;
+extern const player_magic *mp_ptr;
#include "cmd-pet.h"
#include "cmd-spell.h"
#include "dungeon.h"
+#include "player-class.h"
/*!
* @var horror_desc
#include "player-status.h"
#include "avatar.h"
#include "player-effects.h"
+#include "player-class.h"
typedef struct
#include "melee.h"
#include "player-move.h"
#include "player-status.h"
+#include "player-class.h"
#include "spells-summon.h"
#include "quest.h"
#include "artifact.h"
/*
- * Information about the player's "magic"
- *
- * Note that a player with a "spell_book" of "zero" is illiterate.
- */
-
-typedef struct player_magic player_magic;
-
-struct player_magic
-{
- OBJECT_TYPE_VALUE spell_book; /* Tval of spell books (if any) */
- int spell_xtra; /* Something for later */
-
- int spell_stat; /* Stat for spells (if any) */
- int spell_type; /* Spell type (mage/priest) */
-
- int spell_first; /* Level of first spell */
- int spell_weight; /* Weight that hurts spells */
-
- magic_type info[MAX_MAGIC][32]; /* The available spells */
-};
-
-
-
-/*
* Player sex info
*/
const player_race *rp_ptr;
const player_class *cp_ptr;
const player_seikaku *ap_ptr;
-const player_magic *mp_ptr;
/*
birther previous_char;
/*
- * The magic info
- */
-player_magic *m_info;
-
-/*
* The object kind arrays
*/
object_kind *k_info;
#include "artifact.h"
#include "avatar.h"
#include "player-status.h"
+#include "player-class.h"
#include "monster.h"
#include "view-mainwindow.h"