Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8461


Ignore:
Timestamp:
May 12, 2011, 2:38:49 PM (13 years ago)
Author:
smerkli
Message:

a little less verbosity, a little more action please :D

Location:
code/trunk
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • code/trunk/data/levels/presentationFS11.oxw

    r8458 r8461  
    11<LevelInfo
    2  name = "MyTestLevel"
    3  description = "A level to test the Class SpaceBoundaries."
     2 name = "Presentation FS11"
     3 description = "Presentation level spring semester '11"
    44 tags = "test"
    55/>
     
    2929  >
    3030
     31
    3132    <Light type=directional position="0,0,0" direction="0.253, 0.593, -0.765" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 0.9, 1.0"/>
    3233    <SpawnPoint team=0 position="0,0,0" lookat="2,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
    3334   
    3435    <SpaceBoundaries warnDistance="1" maxDistance="200" showDistance="100" healthDecrease="0.1" position="0,0,0"/>
     36
     37    <Template name=PortalDefault>
     38        <PortalEndPoint>
     39            <attached>
     40                <Billboard material="Portals/Default" />
     41            </attached>
     42        </PortalEndPoint>
     43    </Template>
     44
     45    <PortalEndPoint position="0,0,0" id="1" distance="40" target="MobileEntity" design="PortalDefault"/>
     46    <PortalEndPoint position="-1000,0,0" id="2" distance="40" target="MobileEntity" design="PortalDefault"/>
     47    <PortalLink fromID="1" toID="2" />
     48    <PortalLink fromID="2" toID="1" />
    3549   
    3650  </Scene>
  • code/trunk/src/orxonox/worldentities/SpaceBoundaries.cc

    r8458 r8461  
    191191        this->checkWhoIsIn();
    192192        this->removeAllBillboards();
    193         COUT(0) << "Groesse der Liste: " << (int) pawnsIn_.size() << std::endl;
     193        //COUT(0) << "Groesse der Liste: " << (int) pawnsIn_.size() << std::endl;
    194194       
    195195        float distance;
     
    202202                distance = this->computeDistance(currentPawn);
    203203                humanItem = this->isHumanPlayer(currentPawn);
    204                 COUT(0) << "Distanz:" << distance << std::endl; // message for debugging
     204                //COUT(0) << "Distanz:" << distance << std::endl; // message for debugging
    205205                if(distance > this->warnDistance_ && distance < this->maxDistance_) // Zeige Warnung an!
    206206                {
    207                     COUT(0) << "You are near by the boundaries!" << std::endl; // message for debugging
     207                    //COUT(0) << "You are near by the boundaries!" << std::endl; // message for debugging
    208208                    if(humanItem)
    209209                    {
    210                         COUT(0) << "humanItem ist true" << std::endl;
     210                        //COUT(0) << "humanItem ist true" << std::endl;
    211211                        this->displayWarning("Attention! You are near by the boundaries!");
    212212                    }
     
    220220                    if( humanItem )
    221221                    {
    222                         COUT(0) << "Health should be decreasing!" << std::endl;
     222                        //COUT(0) << "Health should be decreasing!" << std::endl;
    223223                        this->displayWarning("You are out of the area now!");
    224224                    }
Note: See TracChangeset for help on using the changeset viewer.