Changeset 1548
- Timestamp:
- Jun 5, 2008, 7:16:33 PM (16 years ago)
- Location:
- code/trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/core/ConsoleCommand.h
r1543 r1548 33 33 34 34 #include "Executor.h" 35 #include "ClassManager.h"35 // #include "ClassManager.h" 36 36 #include "CommandExecutor.h" 37 37 #include "ArgumentCompletionFunctions.h" -
code/trunk/src/network/Server.cc
r1534 r1548 181 181 timeSinceLastUpdate_+=time; 182 182 if(timeSinceLastUpdate_>=(1./NETWORK_FREQUENCY)){ 183 timeSinceLastUpdate_-=(1./NETWORK_FREQUENCY); 183 timeSinceLastUpdate_=(float)((int)(timeSinceLastUpdate_*NETWORK_FREQUENCY))/timeSinceLastUpdate_; 184 // timeSinceLastUpdate_-=1./NETWORK_FREQUENCY; 184 185 gamestates->processGameStates(); 185 186 updateGamestate(); 186 187 } 188 /*while(timeSinceLastUpdate_>1./NETWORK_FREQUENCY) 189 timeSinceLastUpdate_-=1./NETWORK_FREQUENCY;*/ 187 190 // usleep(5000); // TODO remove 188 191 return;
Note: See TracChangeset
for help on using the changeset viewer.