Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/client.h')
-rw-r--r--src/client/client.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/client/client.h b/src/client/client.h
new file mode 100644
index 0000000..613061a
--- /dev/null
+++ b/src/client/client.h
@@ -0,0 +1,37 @@
+/*
+ client/client.h
+ This file is part of the Osirion project and is distributed under
+ the terms and conditions of the GNU General Public License version 2
+*/
+
+#include "camera.h"
+#include "view.h"
+#include "input.h"
+#include "video.h"
+#include "console.h"
+
+#ifndef __INCLUDED_CLIENT_H__
+#define __INCLUDED_CLIENT_H__
+
+/// client-side functions to render and control the gameworld
+/*!
+ * the client namespace contains the necessary functions to
+ * accept input, send it to the game and render the result
+ */
+namespace client {
+ /// initialize the client
+ extern void init();
+ /// run the client();
+ extern void run();
+
+ /// global Video object
+ extern Video video;
+ /// global Input object
+ extern Input input;
+ /// global View object
+ extern View view;
+ /// global Camera object
+ extern Camera camera;
+}
+
+#endif // __INCLUDED_CLIENT_H__