Removed delta time system from the framework

This commit is contained in:
Kayne Ruse
2014-08-19 02:52:15 +10:00
parent f52a022e64
commit 5dea53ad50
18 changed files with 31 additions and 31 deletions
+3 -3
View File
@@ -82,13 +82,13 @@ void LobbyMenu::FrameStart() {
//
}
void LobbyMenu::Update(double delta) {
void LobbyMenu::Update() {
//suck in and process all waiting packets
SerialPacket* packetBuffer = static_cast<SerialPacket*>(malloc(MAX_PACKET_SIZE));
SerialPacket* packetBuffer = reinterpret_cast<SerialPacket*>(new char[MAX_PACKET_SIZE]);
while(network.Receive(packetBuffer)) {
HandlePacket(packetBuffer);
}
free(static_cast<void*>(packetBuffer));
delete reinterpret_cast<char*>(packetBuffer);
}
void LobbyMenu::FrameEnd() {