diff --git a/Code/Game/DanBiasGame/GameClientState/LobbyState.cpp b/Code/Game/DanBiasGame/GameClientState/LobbyState.cpp index d5005078..142fda1b 100644 --- a/Code/Game/DanBiasGame/GameClientState/LobbyState.cpp +++ b/Code/Game/DanBiasGame/GameClientState/LobbyState.cpp @@ -39,6 +39,12 @@ bool LobbyState::Init(Oyster::Network::NetworkClient* nwClient) } bool LobbyState::LoadModels(std::wstring file) { + Oyster::Graphics::Definitions::Pointlight plight; + plight.Pos = Oyster::Math::Float3(-2,3,0); + plight.Color = Oyster::Math::Float3(0,1,0); + plight.Radius = 10; + plight.Bright = 3; + Oyster::Graphics::API::AddLight(plight); // open file // read file // init models diff --git a/Code/Game/GameLogic/Game.cpp b/Code/Game/GameLogic/Game.cpp index 0c70ad3b..752f534f 100644 --- a/Code/Game/GameLogic/Game.cpp +++ b/Code/Game/GameLogic/Game.cpp @@ -55,13 +55,15 @@ void Game::GetAllPlayerPos() Game::PlayerData Game::CreatePlayer() { -<<<<<<< HEAD - SmartPointer newPlayer = new Player(); - myData->players.Push(newPlayer); -======= + //SmartPointer newPlayer = new Player(); + + + + //myData->players.Push(newPlayer); + return PlayerData(); ->>>>>>> eb6ed13cceff0ce4380699391759883acf487107 + } void Game::CreateTeam() diff --git a/Code/Game/GameLogic/GameLogic.vcxproj b/Code/Game/GameLogic/GameLogic.vcxproj index c67ef3d9..f4e65b40 100644 --- a/Code/Game/GameLogic/GameLogic.vcxproj +++ b/Code/Game/GameLogic/GameLogic.vcxproj @@ -193,6 +193,7 @@ +