~swag/armagetronad/0.2.9-sty+ct+ap-fork

« back to all changes in this revision

Viewing changes to src/tron/gCycle.cpp

  • Committer: SwagTron
  • Date: 2019-07-26 07:12:42 UTC
  • Revision ID: swagtron-20190726071242-rweqmo804uydx2aw
Merge from revision 1089 https://code.launchpad.net/~armagetronad-ap/armagetronad/0.2.9-armagetronad-sty+ct+ap

Show diffs side-by-side

added added

removed removed

Lines of Context:
2425
2425
        currentWall(NULL),
2426
2426
        lastWall(NULL)
2427
2427
{
2428
 
/*    
2429
 
    se_cycleCreatedWriter << p->GetLogName() << this->MapPosition().x << this->MapPosition().y << this->MapDirection().x << this->MapDirection().y << (p->CurrentTeam()?Team()->Name().Filter():"") << se_GameTime();
 
2428
    se_cycleCreatedWriter << p->GetLogName() << this->MapPosition().x << this->MapPosition().y << this->MapDirection().x << this->MapDirection().y;
 
2429
    if(p->CurrentTeam())
 
2430
        se_cycleCreatedWriter << Team()->Name().Filter();
 
2431
    else
 
2432
        se_cycleCreatedWriter << "";
 
2433
    se_cycleCreatedWriter << se_GameTime();
2430
2434
    se_cycleCreatedWriter.write();
2431
 
*/
 
2435
 
2432
2436
    windingNumberWrapped_ = windingNumber_ = Grid()->DirectionWinding(dirDrive);
2433
2437
    dirDrive = Grid()->GetDirection(windingNumberWrapped_);
2434
2438
    dir = dirDrive;
4231
4235
                tString logTurnsMsg;
4232
4236
                logTurnsMsg << "death " << MapPosition().x << " " << MapPosition().y << " " << MapDirection().x << " " << MapDirection().y;
4233
4237
                LogPlayersCycleTurns(this, logTurnsMsg);
4234
 
/*
4235
 
                se_cycleDestroyedWriter << Player()->GetUserName() << MapPosition().x << MapPosition().y << MapDirection().x << MapDirection().y << (Player()->CurrentTeam()?ePlayerNetID::FilterName(Team()->Name()):"") << se_GameTime();
 
4238
 
 
4239
                se_cycleDestroyedWriter << Player()->GetUserName() << MapPosition().x << MapPosition().y << MapDirection().x << MapDirection().y;
 
4240
                if(Player()->CurrentTeam())
 
4241
                    se_cycleDestroyedWriter << ePlayerNetID::FilterName(Team()->Name());
 
4242
                else
 
4243
                    se_cycleDestroyedWriter << "";
 
4244
                se_cycleDestroyedWriter << se_GameTime();
4236
4245
                se_cycleDestroyedWriter.write();
4237
 
*/
 
4246
                
4238
4247
                Player()->LogActivity(ACTIVITY_DIED);
4239
4248
 
4240
4249
                sg_cycleRespawnZone_Create(this);