Moved the entry structs into their own headers

This commit is contained in:
Kayne Ruse
2013-06-24 10:01:52 +10:00
parent fcb17a8116
commit 9608761cd5
6 changed files with 113 additions and 30 deletions
+2 -4
View File
@@ -115,9 +115,7 @@ void ServerApplication::Quit() {
//-------------------------
void ServerApplication::UpdateWorld(double delta) {
for (auto it : players) {
it.second.Update(delta);
}
//
}
//-------------------------
@@ -186,7 +184,7 @@ void ServerApplication::HandleConnection(JoinRequest& request) {
return;
}
//create the containers
ClientData client = { uniqueIndex++ };
ClientEntry client = { uniqueIndex++ };
//bind the address
client.channel = netUtil->Bind(&request.meta.address);