Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 1, 2006, 2:06:53 PM (18 years ago)
Author:
rennerc
Message:

implemented gamestates for multiplayerTeamDeathmatch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/network/src/lib/network/player_stats.cc

    r8014 r8067  
    4848
    4949  this->userId = 0;
    50   this->teamId = 0;
     50  this->teamId = TEAM_NOTEAM;
     51  this->preferedTeamId = TEAM_NOTEAM;
    5152  this->score = 0;
    5253  this->playableClassId = 0;
     
    5455 
    5556  userId_handle = registerVarId( new SynchronizeableInt( &userId, &userId, "userId" ) );
    56   groupId_handle = registerVarId( new SynchronizeableInt( &teamId, &teamId, "teamId" ) );
     57  teamId_handle = registerVarId( new SynchronizeableInt( &teamId, &teamId, "teamId" ) );
     58  preferedTeamId_handle = registerVarId( new SynchronizeableInt( &preferedTeamId, &preferedTeamId, "preferedUserId" ) );
    5759  score_handle = registerVarId( new SynchronizeableInt( &score, &score, "score" ) );
    5860  playableClassId_handle = registerVarId( new SynchronizeableInt( &playableClassId, &playableClassId, "playableClassId") );
Note: See TracChangeset for help on using the changeset viewer.