Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10219 for code


Ignore:
Timestamp:
Jan 31, 2015, 11:54:35 PM (10 years ago)
Author:
landauf
Message:

fixed build (DodgeRace) and warnings (TowerDefenseTower) for MinGW on Windows

Location:
code/branches/presentationHS14/src/modules
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentationHS14/src/modules/dodgerace2/DodgeRace.cc

    r10176 r10219  
    9898                        getPlayer()->speed = 830 - (point / 1000);
    9999
    100                         for(uint i=0; i < cubeList.size();i++)
     100                        for(unsigned int i=0; i < cubeList.size();i++)
    101101                        {
    102102                                if(cubeList.at(i)->getPosition().x < currentPosition-3000)
     
    169169        orxout() << "start" << endl;
    170170        init();
    171                 for(uint i=0; i< cubeList.size();i++)
     171                for(unsigned int i=0; i< cubeList.size();i++)
    172172                {
    173173                        cubeList.at(i)->destroy();
  • code/branches/presentationHS14/src/modules/towerdefense/TowerDefenseTower.cc

    r10181 r10219  
    4040    void TowerDefenseTower::setOrientation(const Quaternion& orientation)
    4141    {
    42         static int ori;
    43         //orxout() << "orientation " << ++ori << endl;
    4442    }
    4543
    4644    void TowerDefenseTower::rotateYaw(const Vector2& value)
    4745    {
    48         static int yaw;
    49         //orxout() << "rotateYaw " << ++yaw << endl;
    5046    }
    5147
    5248    void TowerDefenseTower::rotatePitch(const Vector2& value)
    5349    {
    54         static int pitch;
    55         //orxout() << "rotatePitch " << ++pitch << endl;
    5650    }
    5751
    5852    void TowerDefenseTower::rotateRoll(const Vector2& value)
    5953    {
    60         static int roll;
    61         //orxout() << "rotateRoll" << ++roll << endl;
    6254    }
    6355
Note: See TracChangeset for help on using the changeset viewer.