From 95ca0e469ef856c0182bb0da411e4417391e3780 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Tue, 5 Feb 2008 00:10:02 +0000 Subject: renamed client and server application objects cleaned up namespaces --- src/client/client.h | 26 +++----------------------- 1 file changed, 3 insertions(+), 23 deletions(-) (limited to 'src/client/client.h') diff --git a/src/client/client.h b/src/client/client.h index 3b8b78e..7c0b74d 100644 --- a/src/client/client.h +++ b/src/client/client.h @@ -7,37 +7,17 @@ #ifndef __INCLUDED_CLIENT_H__ #define __INCLUDED_CLIENT_H__ -// project headers -#include "client/application.h" -#include "client/camera.h" -#include "client/console.h" -#include "client/input.h" -#include "client/video.h" -#include "client/view.h" - -#include "core/core.h" #include "game/game.h" -#include - -/// 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 renders the result - */ +/// client part of the engine namespace client { -/// global client Application instance; -extern Application application; - -/// global client Console instance -extern Console console; +/// the client main loop +void main(int count, char **arguments); /// global client Game instance extern game::Game game; -/// current fps -inline float fps() { return (application.current_fps); } - } // namespace client #endif // __INCLUDED_CLIENT_H__ -- cgit v1.2.3