From 8a4aa60b830467d81f8029c194bec5b2e74ceb17 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Mon, 22 Oct 2007 17:44:54 +0000 Subject: basic system console (new files) --- src/client/client.h | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 src/client/client.h (limited to 'src/client/client.h') 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__ -- cgit v1.2.3