7 #ifndef CAFU_CLIENT_HPP_INCLUDED
8 #define CAFU_CLIENT_HPP_INCLUDED
10 #include "Network/Network.hpp"
11 #include "Templates/Pointer.hpp"
14 namespace cf {
namespace GuiSys {
class GuiImplT; } }
15 namespace cf {
namespace GuiSys {
class GuiResourcesT; } }
36 void Render(
float FrameTime);
37 void MainLoop(
float FrameTime);
40 static int ConFunc_rcon_Callback(lua_State* LuaState);
41 static int ConFunc_connect_Callback(lua_State* LuaState);
42 static int ConFunc_disconnect_Callback(lua_State* LuaState);
61 StateIDT GetStateID()
const;
62 void UpdateCurrentState();
65 void operator = (
const ClientT&);
75 unsigned long PacketIDConnLess;
Network address consisting of an IP4 address and port number.
Definition: Network.hpp:98
This class implements the "connecting-to-server" state of the client.
Definition: ClientStateConnecting.hpp:20
This struct describes a mouse event.
Definition: OpenGLWindow.hpp:185
This class implements the state of the client when it is fully connected and thus "in-game"...
Definition: ClientStateInGame.hpp:27
This struct describes a keyboard event.
Definition: OpenGLWindow.hpp:20
This class encapsulates information about a game.
Definition: GameInfo.hpp:14
Definition: Client.hpp:24
This class is used for managing model instances.
Definition: ModelManager.hpp:31
This is the base class for the concrete classes that implement the states of the client.
Definition: ClientState.hpp:18
This class implements the idle state of the client.
Definition: ClientStateIdle.hpp:18
This class manages and provides resources (fonts and models) for GuiImplT instances.
Definition: GuiResources.hpp:26