Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8147 in orxonox.OLD for trunk/src/lib/network/network_game_manager.h


Ignore:
Timestamp:
Jun 5, 2006, 12:09:15 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: merged the network branche back here
merged with command:
svn merge -r8070:HEAD https://svn.orxonox.net/orxonox/branches/network .
no conflicts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/network/network_game_manager.h

    r8068 r8147  
    1212/* include base_object.h since all classes are derived from this one */
    1313#include "synchronizeable.h"
     14#include "playable.h"
    1415#include "message_manager.h"
    1516
     
    5657   
    5758    void removeSynchronizeable( int uniqueId );
     59   
     60    void prefereTeam( int teamId );
    5861
    5962    inline void setGameState( int gameState ){ this->gameState = gameState; }
    6063    inline int getGameState(){ return this->gameState; }
     64   
     65    void tick( float ds );
    6166
    6267  private:
     
    6469   
    6570    static bool delSynchronizeableHandler( MessageId messageId, byte * data, int dataLength, void * someData, int userId );
     71    static bool preferedTeamHandler( MessageId messageId, byte * data, int dataLength, void * someData, int userId );
     72   
     73    void setPreferedTeam( int userId, int teamId );
    6674
    6775    static NetworkGameManager*    singletonRef;
    6876   
    6977    int                           gameState;
     78   
     79    std::list<Playable*>          playablesToDelete;
    7080};
    7181
Note: See TracChangeset for help on using the changeset viewer.