Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 11306


Ignore:
Timestamp:
Nov 28, 2016, 1:20:42 PM (8 years ago)
Author:
meilel
Message:

nada

Location:
code/branches/SpaceRace_HS16
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/SpaceRace_HS16/data/levels/newnewnewspacerace.oxw

    r11303 r11306  
    113113
    114114    <!-- ------------------Planet----------------- -->
    115     <Planet position="25000,5000,5000" scale=1000 pitch=-90 mesh="iceplanet.mesh" atmosphere="atmosphere1" rotationaxis="8,1,0" rotationrate="1" atmospheresize=224.0f imagesize=1024.0f />
     115    <Planet position="25000,5000,5000" scale=1500 pitch=-90 mesh="iceplanet.mesh" atmosphere="atmosphere1" rotationaxis="8,1,0" rotationrate="1" atmospheresize=224.0f imagesize=1024.0f />
    116116    <StaticEntity position="0,0,0" collisionType=static>
    117117        <collisionShapes>
  • code/branches/SpaceRace_HS16/src/modules/gametypes/SpaceRaceController.cc

    r11303 r11306  
    5858        OrxAssert(!checkpoints.empty(), "No Checkpoints in Level");
    5959        checkpoints_ = checkpoints;
    60         /*orxout()<<"es gibt: "<<checkpoints_.size()<<"checkpoints"<<endl;
    61         for(std::vector<RaceCheckPoint*>::iterator it=checkpoints_.begin(); it!=checkpoints_.end(); it++)
    62         {
    63             orxout()<<"Checkpoint "<<(*it)->getCheckpointIndex()<<"; NExtReal: ";
    64             std::set<int> temp =(*it)->getNextCheckpoints();
    65             for (std::set<int>::iterator ii =temp.begin(); ii!=temp.end(); ii++)
    66             {
    67                 orxout()<<(*ii)<<", ";
    68             }
    69 
    70             orxout()<<" NextVirtual: ";
    71             temp=(*it)->getVirtualNextCheckpoints();
    72             for (std::set<int>::iterator ii =temp.begin(); ii!=temp.end(); ii++)
    73             {
    74                 orxout()<<(*ii)<<", ";
    75             }
    76             orxout()<<endl<<endl;
    77 
    78         }//ausgabe*/
    79         /*
    80         for (std::vector<RaceCheckPoint*>::iterator it = checkpoints.begin(); it != checkpoints.end(); ++it)
    81         {
    82             std::set<int> nextCheckPoints = ((*it)->getNextCheckpoints());
    83             if(!nextCheckPoints.empty())
    84             {
    85                 for (std::set<int>::iterator numb = nextCheckPoints.begin(); numb!=nextCheckPoints.end(); numb++)
    86                 {
    87                     RaceCheckPoint* point2 = findCheckpoint((*numb));
    88 
    89                     //if(point2 != nullptr)
    90                     //placeVirtualCheckpoints((*it), point2);
    91                 }
    92             }
    93         }
    94         */
    95         /*
    96         for(std::vector<RaceCheckPoint*>::iterator it=checkpoints_.begin(); it!=checkpoints_.end(); it++)
    97         {
    98             orxout()<<"Checkpoint "<<(*it)->getCheckpointIndex()<<"; NExtReal: ";
    99             std::set<int> temp =(*it)->getNextCheckpoints();
    100             for (std::set<int>::iterator ii =temp.begin(); ii!=temp.end(); ii++)
    101             {
    102                 orxout()<<(*ii)<<", ";
    103             }
    104 
    105             orxout()<<" NextVirtual: ";
    106             temp=(*it)->getVirtualNextCheckpoints();
    107             for (std::set<int>::iterator ii =temp.begin(); ii!=temp.end(); ii++)
    108             {
    109                 orxout()<<(*ii)<<", ";
    110             }
    111             orxout()<<endl;
    112 
    113         }//ausgabe
    114         orxout()<<"es gibt: "<<checkpoints_.size()<<"checkpoints"<<endl;*/
    11560        staticRacePoints_ = findStaticCheckpoints(nextRaceCheckpoint_, checkpoints);
    11661        // initialisation of currentRaceCheckpoint_
     
    12267            continue;
    12368        }
    124         //orxout()<<"Die ANzahl der virtuellen CP betraegt: "<< (-i)-2<<endl;
    12569
    12670    }
     
    383327this->boostControl();
    384328        this->moveToPosition(nextRaceCheckpoint_->getPosition());
     329        this->boostControl();
    385330    }
    386331
     
    426371
    427372    }
     373/*
     374    void SpaceRaceController::useBoost()
     375    {
     376
     377    }
     378*/
    428379
    429380    /*void SpaceRaceController::computeVirtualCheckpoint(RaceCheckPoint* racepoint1, RaceCheckPoint* racepoint2, const std::vector<StaticEntity*>& allObjects)
Note: See TracChangeset for help on using the changeset viewer.