Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3045


Ignore:
Timestamp:
May 24, 2009, 11:27:14 PM (16 years ago)
Author:
scheusso
Message:

some cleaning up

Location:
code/branches/netp3/src/network
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • code/branches/netp3/src/network/Client.cc

    r3003 r3045  
    2121 *
    2222 *   Author:
    23  *      Oliver Scheuss, (C) 2007
     23 *      Oliver Scheuss
    2424 *   Co-authors:
    2525 *      ...
  • code/branches/netp3/src/network/Client.h

    r2990 r3045  
    2121 *
    2222 *   Author:
    23  *      Oliver Scheuss, (C) 2007
     23 *      Oliver Scheuss
    2424 *   Co-authors:
    2525 *      ...
  • code/branches/netp3/src/network/ClientConnection.cc

    r3003 r3045  
    2121 *
    2222 *   Author:
    23  *      Oliver Scheuss, (C) 2007
     23 *      Oliver Scheuss
    2424 *   Co-authors:
    2525 *      ...
  • code/branches/netp3/src/network/ClientConnection.h

    r2990 r3045  
    2121 *
    2222 *   Author:
    23  *      Oliver Scheuss, (C) 2007
     23 *      Oliver Scheuss
    2424 *   Co-authors:
    2525 *      ...
  • code/branches/netp3/src/network/GamestateManager.cc

    r2710 r3045  
    2121 *
    2222 *   Author:
    23  *      Oliver Scheuss, (C) 2007
     23 *      Oliver Scheuss
    2424 *   Co-authors:
    2525 *      ...
  • code/branches/netp3/src/network/GamestateManager.h

    r2662 r3045  
    2121 *
    2222 *   Author:
    23  *      Oliver Scheuss, (C) 2007
     23 *      Oliver Scheuss
    2424 *   Co-authors:
    2525 *      ...
  • code/branches/netp3/src/network/Server.cc

    r2990 r3045  
    2121 *
    2222 *   Author:
    23  *      Oliver Scheuss, (C) 2007
     23 *      Oliver Scheuss
    2424 *   Co-authors:
    2525 *      ...
  • code/branches/netp3/src/network/Server.h

    r2990 r3045  
    2121 *
    2222 *   Author:
    23  *      Oliver Scheuss, (C) 2007
     23 *      Oliver Scheuss
    2424 *   Co-authors:
    2525 *      ...
    2626 *
    2727 */
    28 
    29 //
    30 // C++ Interface: Server
    31 //
    32 // Description:
    33 //
    34 //
    35 // Author:  Oliver Scheuss, (C) 2007
    36 //
    37 // Copyright: See COPYING file that comes with this distribution
    38 //
    39 //
    4028
    4129#ifndef _Server_H__
  • code/branches/netp3/src/network/packet/Gamestate.cc

    r3043 r3045  
    2121 *
    2222 *   Author:
    23  *      Oliver Scheuss, (C) 2008
     23 *      Oliver Scheuss
    2424 *   Co-authors:
    2525 *      ...
  • code/branches/netp3/src/network/packet/Gamestate.h

    r3015 r3045  
    2121 *
    2222 *   Author:
    23  *      Oliver Scheuss, (C) 2008
     23 *      Oliver Scheuss
    2424 *   Co-authors:
    2525 *      ...
  • code/branches/netp3/src/network/synchronisable/SynchronisableVariable.cc

    r2991 r3045  
    2121 *
    2222 *   Author:
    23  *      Oliver Scheuss, (C) 2008
     23 *      Oliver Scheuss
    2424 *   Co-authors:
    2525 *      ...
  • code/branches/netp3/src/network/synchronisable/SynchronisableVariable.h

    r2991 r3045  
    8181      virtual inline void* getReference(){ return (void *)&this->variable_; }
    8282    protected:
    83 //       inline bool checkEquality(uint8_t* mem);
    84 //       inline void loadAndIncrease(uint8_t*& mem);
    85 //       inline void saveAndIncrease(uint8_t*& mem);
    86 //       inline uint32_t returnSize();
    8783     
    8884      T& variable_;
     
    133129    else
    134130      return 0;
    135 //   mem += SynchronisableVariable<T>::getSize();
    136131  }
    137132
     
    192187  // now write the content
    193188      saveAndIncrease( this->variable_, mem );
    194 //   mem += SynchronisableVariable<T>::getSize();
    195189      return SynchronisableVariableBidirectional::getSize(mode);
    196190    }
     
    204198        if ( *static_cast<uint8_t*>(mem) != this->varReference_ )
    205199        { // wrong reference number, so discard the data
     200//           COUT(0) << "discharding data" << endl;
    206201          mem += getSize( mode ); // SynchronisableVariableBidirectional::getSize returns size of variable + reference
    207202          return;
     
    247242      if ( callback )
    248243        NetworkCallbackManager::triggerCallback( this->callback_ );
    249         //this->callback_->call();
    250244    }
    251245
     
    258252}
    259253
    260 //#include "network/synchronisable/SynchronisableVariableSpecialisations.h"
    261254
    262255#endif
Note: See TracChangeset for help on using the changeset viewer.