Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 6, 2009, 9:39:41 PM (15 years ago)
Author:
scheusso
Message:

-performance/memory optimisations in gamestate and synchronisable
-enhancement of portability (gcc↔msvc)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation/src/network/Server.cc

    r2415 r2575  
    216216  */
    217217  void Server::updateGamestate() {
     218//     if( ClientInformation::getBegin()==NULL )
     219      //no client connected
     220//       return;
    218221    gamestates_->update();
    219222    COUT(5) << "Server: one gamestate update complete, goig to sendGameState" << std::endl;
     
    274277  bool Server::sendObjectDeletes(){
    275278    ClientInformation *temp = ClientInformation::getBegin();
     279    if( temp == NULL )
     280      //no client connected
     281      return true;
    276282    packet::DeleteObjects *del = new packet::DeleteObjects();
    277283    if(!del->fetchIDs())
Note: See TracChangeset for help on using the changeset viewer.