Changeset 9581 in orxonox.OLD for branches/proxy/src
- Timestamp:
- Jul 28, 2006, 8:51:34 PM (18 years ago)
- Location:
- branches/proxy/src/lib/network
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/network/player_stats.h
r9574 r9581 16 16 enum 17 17 { 18 TEAM_NOTEAM = -3,19 TEAM_RANDOM = -2,20 TEAM_SPECTATOR = -118 TEAM_NOTEAM = -3, 19 TEAM_RANDOM = -2, 20 TEAM_SPECTATOR = -1 21 21 }; 22 22 23 23 24 struct PlayerScore … … 26 27 int score; 27 28 }; 29 30 28 31 typedef std::list<PlayerScore> TeamScoreList; 29 32 typedef std::map<int,TeamScoreList> ScoreList; 33 30 34 31 35 //! A class for storing player information -
branches/proxy/src/lib/network/synchronizeable.cc
r9579 r9581 227 227 hasPermission = true; 228 228 // SPECIAL: get write permissions if i am proxy server and i am able to overwrite the client stuff 229 else if( SharedNetworkData::getInstance()->isProxyServerActive() && this->networkStream->isUserClient(userId) 230 && (*it)->checkPermission( PERMISSION_MASTER_SERVER) ) 231 hasPermission = true; 229 232 else if( SharedNetworkData::getInstance()->isProxyServerActive() && this->networkStream->isUserClient(userId) 230 233 && this->owner != userId && (*it)->checkPermission( PERMISSION_OWNER ) )
Note: See TracChangeset
for help on using the changeset viewer.