Changeset 2992 for code/branches
- Timestamp:
- May 19, 2009, 10:05:30 PM (16 years ago)
- Location:
- code/branches/netp3/src/network
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/netp3/src/network/Client.cc
r2990 r2992 142 142 void Client::update(const Clock& time){ 143 143 //this steers our network frequency 144 timeSinceLastUpdate_+=time ;144 timeSinceLastUpdate_+=time.getDeltaTime(); 145 145 if(timeSinceLastUpdate_>=NETWORK_PERIOD){ 146 146 timeSinceLastUpdate_ -= static_cast<unsigned int>( timeSinceLastUpdate_ / NETWORK_PERIOD ) * NETWORK_PERIOD; -
code/branches/netp3/src/network/ConnectionManager.cc
r2990 r2992 199 199 printf("ConnectionManager: ENet returned with an error\n"); 200 200 quit_=true; 201 printf("waaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaahhhhhhhhhhhhhhhh\n"); 201 202 continue; 202 printf("waaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaahhhhhhhhhhhhhhhh");203 203 // add some error handling here ======================== 204 204 } … … 208 208 // log handling ================ 209 209 case ENET_EVENT_TYPE_CONNECT: 210 printf("====================================================================");210 // printf("===================================================================="); 211 211 case ENET_EVENT_TYPE_DISCONNECT: 212 212 case ENET_EVENT_TYPE_RECEIVE:
Note: See TracChangeset
for help on using the changeset viewer.