diff options
author | Eric Anderson <ejona86@gmail.com> | 2009-05-01 17:14:46 -0500 |
---|---|---|
committer | Eric Anderson <ejona86@gmail.com> | 2009-05-01 17:14:46 -0500 |
commit | 663d9336324110648ffdea7c7092a004353419b5 (patch) | |
tree | d35eccc38a36859bc317796a2058497ed9d8c382 /KPLTypes.h | |
download | kpl-663d9336324110648ffdea7c7092a004353419b5.tar.gz kpl-663d9336324110648ffdea7c7092a004353419b5.zip |
Initial commit of source from zwzsg
Diffstat (limited to 'KPLTypes.h')
-rw-r--r-- | KPLTypes.h | 58 |
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
+
|