Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 1, 2015, 3:56:21 PM (11 years ago)
Author:
landauf
Message:

replaced tabs with spaces. no changes in code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/surfaceraceHS14/src/modules/dodgerace/DodgeRaceHUDinfo.cc

    r10232 r10236  
    5656
    5757
    58                 if(this->bShowPoints_)
    59                 {
    60                         const std::string& points = multi_cast<std::string>(this->DodgeRaceGame->getPoints());
    61                         if (this->DodgeRaceGame->lives <= 0)
    62                         {
    63                                 setTextSize(0.2);
    64                                 setPosition(Vector2(0.1, 0.02));
    65                                 this->setCaption("Final score:\n" + points);
    66                                 this->setColour(ColourValue(1, 0, 0, 1));
    67                         }
    68                         else
    69                         {
    70                                 setTextSize(0.04);
    71                                 setPosition(Vector2(0.14, 0.02));
    72                                 this->setColour(ColourValue(1, 1, 1, 1));
    73                                 this->setCaption(points);
    74                         }
    75                 }
     58        if(this->bShowPoints_)
     59        {
     60            const std::string& points = multi_cast<std::string>(this->DodgeRaceGame->getPoints());
     61            if (this->DodgeRaceGame->lives <= 0)
     62            {
     63                setTextSize(0.2);
     64                setPosition(Vector2(0.1, 0.02));
     65                this->setCaption("Final score:\n" + points);
     66                this->setColour(ColourValue(1, 0, 0, 1));
     67            }
     68            else
     69            {
     70                setTextSize(0.04);
     71                setPosition(Vector2(0.14, 0.02));
     72                this->setColour(ColourValue(1, 1, 1, 1));
     73                this->setCaption(points);
     74            }
     75        }
    7676    }
    7777
Note: See TracChangeset for help on using the changeset viewer.