GL - going to merge

This commit is contained in:
lindaandersson 2014-01-15 11:57:36 +01:00
parent 9a32c44e49
commit 8557559b9b
3 changed files with 14 additions and 5 deletions

View File

@ -39,6 +39,12 @@ bool LobbyState::Init(Oyster::Network::NetworkClient* nwClient)
} }
bool LobbyState::LoadModels(std::wstring file) 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 // open file
// read file // read file
// init models // init models

View File

@ -55,13 +55,15 @@ void Game::GetAllPlayerPos()
Game::PlayerData Game::CreatePlayer() Game::PlayerData Game::CreatePlayer()
{ {
<<<<<<< HEAD
SmartPointer<Player> newPlayer = new Player();
myData->players.Push(newPlayer); //SmartPointer<Player> newPlayer = new Player();
=======
//myData->players.Push(newPlayer);
return PlayerData(); return PlayerData();
>>>>>>> eb6ed13cceff0ce4380699391759883acf487107
} }
void Game::CreateTeam() void Game::CreateTeam()

View File

@ -193,6 +193,7 @@
<ClCompile Include="DynamicObject.cpp" /> <ClCompile Include="DynamicObject.cpp" />
<ClCompile Include="Game.cpp" /> <ClCompile Include="Game.cpp" />
<ClCompile Include="GameMode.cpp" /> <ClCompile Include="GameMode.cpp" />
<ClCompile Include="Game_PlayerData.cpp" />
<ClCompile Include="IAttatchment.cpp" /> <ClCompile Include="IAttatchment.cpp" />
<ClCompile Include="Level.cpp" /> <ClCompile Include="Level.cpp" />
<ClCompile Include="Object.cpp" /> <ClCompile Include="Object.cpp" />