summaryrefslogtreecommitdiff
path: root/src/playerinfo.h
diff options
context:
space:
mode:
authorBjörn Steinbrink <B.Steinbrink@gmx.de>2005-08-13 12:49:52 +0000
committerBjörn Steinbrink <B.Steinbrink@gmx.de>2005-08-13 12:49:52 +0000
commit10b881f997384378a299bff358716db5183b65a5 (patch)
tree2231d834a69c1db68980c1ccefdc6586df351fc0 /src/playerinfo.h
parentda5a71f65682dbb3f830be4d5ffcd0046aa7b7ce (diff)
downloadmana-client-10b881f997384378a299bff358716db5183b65a5.tar.gz
mana-client-10b881f997384378a299bff358716db5183b65a5.tar.bz2
mana-client-10b881f997384378a299bff358716db5183b65a5.tar.xz
mana-client-10b881f997384378a299bff358716db5183b65a5.zip
Huge header cleanup to reduce dependencies and compile time.
Diffstat (limited to 'src/playerinfo.h')
-rw-r--r--src/playerinfo.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/playerinfo.h b/src/playerinfo.h
index 0a6e15e3..1e769404 100644
--- a/src/playerinfo.h
+++ b/src/playerinfo.h
@@ -24,9 +24,10 @@
#ifndef _TMW_PLAYERINFO_H
#define _TMW_PLAYERINFO_H
+#include <vector>
#include "gui/skill.h"
-typedef struct {
+struct PLAYER_INFO {
int id;
float lastAttackTime; // used to synchronize the charge dialog
char name[24];
@@ -42,7 +43,7 @@ typedef struct {
std::vector<SKILL> m_Skill; // array of N_SKILLS skills
// gets the requested skills level from char_info
int GetSkill(int n_ID, int n_XP=2, int n_base = false); // implemented in the body (main.cpp)
-} PLAYER_INFO;
+};
extern PLAYER_INFO *char_info;