Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-02-09 23:06:00 +0000
committerStijn Buys <ingar@osirion.org>2008-02-09 23:06:00 +0000
commit31959bc355c471c573828bf63932850e46c4b5bc (patch)
treecc473901e88926e36c89775a7fc97a51da948498 /src/core/player.h
parentd281384f727583b39b8e97ffea58b278ecc8dd47 (diff)
more entities
Diffstat (limited to 'src/core/player.h')
-rw-r--r--src/core/player.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/core/player.h b/src/core/player.h
new file mode 100644
index 0000000..e5ff396
--- /dev/null
+++ b/src/core/player.h
@@ -0,0 +1,36 @@
+/*
+ core/clientstate.h
+ This file is part of the Osirion project and is distributed under
+ the terms of the GNU General Public License version 2.
+*/
+
+#ifndef __INCLUDED_CORE_PLAYER_H__
+#define __INCLUDED_CORE_PLAYER_H__
+
+#include "core/core.h"
+
+#include <string>
+namespace core
+{
+
+class Player
+{
+public:
+ Player();
+ ~Player();
+
+ /// name of the player
+ std::string name;
+
+ /// core id of the player
+ unsigned int id;
+
+ /// dirty state
+ bool dirty;
+};
+
+extern Player localplayer;
+
+}
+
+#endif // __INCLUDED_CORE_PLAYER_H__