2013-12-10 11:26:18 +01:00
|
|
|
#ifndef DANBIAS_CLIENT_LOBBYSTATE_H
|
|
|
|
#define DANBIAS_CLIENT_LOBBYSTATE_H
|
2013-12-09 12:01:36 +01:00
|
|
|
|
2013-12-06 10:38:43 +01:00
|
|
|
#include "GameClientState.h"
|
2013-12-10 11:26:18 +01:00
|
|
|
#include "OysterMath.h"
|
|
|
|
#include <string>
|
2013-12-06 10:38:43 +01:00
|
|
|
namespace DanBias
|
|
|
|
{
|
|
|
|
namespace Client
|
|
|
|
{
|
2013-12-09 09:23:39 +01:00
|
|
|
|
2013-12-06 10:38:43 +01:00
|
|
|
class LobbyState : public GameClientState
|
|
|
|
{
|
|
|
|
private:
|
2013-12-09 09:23:39 +01:00
|
|
|
struct myData;
|
2013-12-06 10:38:43 +01:00
|
|
|
myData* privData;
|
|
|
|
public:
|
|
|
|
LobbyState(void);
|
|
|
|
~LobbyState(void);
|
2013-12-16 09:45:12 +01:00
|
|
|
bool Init(Oyster::Network::NetworkClient* nwClient);
|
2013-12-10 11:26:18 +01:00
|
|
|
bool LoadModels(std::wstring file);
|
|
|
|
bool InitCamera(Oyster::Math::Float3 startPos);
|
2013-12-09 09:23:39 +01:00
|
|
|
ClientState Update(float deltaTime, InputClass* KeyInput);
|
2013-12-10 11:26:18 +01:00
|
|
|
// create session lobby
|
|
|
|
// join session lobby
|
|
|
|
// set name
|
|
|
|
// set rules
|
|
|
|
// set map
|
|
|
|
// ready
|
|
|
|
// chat
|
|
|
|
// kick
|
|
|
|
|
2013-12-06 10:38:43 +01:00
|
|
|
bool Render();
|
|
|
|
bool Release();
|
2013-12-13 12:02:49 +01:00
|
|
|
void Protocol(ProtocolStruct* protocol)override;
|
|
|
|
void PlayerJoinProtocol(PlayerName* name);
|
|
|
|
|
2013-12-06 10:38:43 +01:00
|
|
|
};};};
|
2013-12-09 12:01:36 +01:00
|
|
|
#endif // ! DANBIAS_CLIENT_GAMECLIENTSTATE_H
|