summaryrefslogtreecommitdiff
path: root/KPLTypes.h
diff options
context:
space:
mode:
authorEric Anderson <ejona86@gmail.com>2009-05-01 17:14:46 -0500
committerEric Anderson <ejona86@gmail.com>2009-05-01 17:14:46 -0500
commit663d9336324110648ffdea7c7092a004353419b5 (patch)
treed35eccc38a36859bc317796a2058497ed9d8c382 /KPLTypes.h
downloadkpl-663d9336324110648ffdea7c7092a004353419b5.tar.gz
kpl-663d9336324110648ffdea7c7092a004353419b5.zip
Initial commit of source from zwzsg
Diffstat (limited to 'KPLTypes.h')
-rw-r--r--KPLTypes.h58
1 files changed, 58 insertions, 0 deletions
diff --git a/KPLTypes.h b/KPLTypes.h
new file mode 100644
index 0000000..db89162
--- /dev/null
+++ b/KPLTypes.h
@@ -0,0 +1,58 @@
+#ifndef KPLTypesH
+#define KPLTypesH
+//---------------------------------------------------------------------------
+
+class cKPmap
+{
+public:
+ const char* ClearName;
+ const char* ShortName;
+ const char* FileName;
+ int MaxPlayers;
+ int Weight;
+};
+
+
+class cKPfaction
+{
+public:
+ const char* name;
+};
+
+
+class cKPplayer
+{
+public:
+ int allyteam;
+ cKPfaction* faction;
+ unsigned char color[3];
+};
+
+class cKPmodoptions
+{
+public:
+ int ons;
+ int minelauncher;
+ int nx;
+};
+
+class cKPgame
+{
+public:
+ char* description;
+ cKPmap* map;
+ int NbrPlayers;
+ cKPplayer** players;
+ int PlayerTeamNum;
+ int isSpeccing;
+ static const char* ModFileName;
+ static const char* ScriptFileName;
+ static const char* ExecutableFileName;
+ static const char* ClientExecutableFileName;
+ static const char* SettingsExecutableFileName;
+ cKPmodoptions* ModOptions;
+ int EndCondition;
+};
+//---------------------------------------------------------------------------
+#endif
+