diff options
author | Stijn Buys <ingar@osirion.org> | 2007-10-22 17:44:54 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2007-10-22 17:44:54 +0000 |
commit | 8a4aa60b830467d81f8029c194bec5b2e74ceb17 (patch) | |
tree | a32662287892a41ffa7fd55ab2d80f6040dedfb9 /src/client/client.h | |
parent | aa33bc22ec4cd14e200ba9e09c43e884a2101a74 (diff) |
basic system console (new files)
Diffstat (limited to 'src/client/client.h')
-rw-r--r-- | src/client/client.h | 37 |
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__ |