Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 1185


Ignore:
Timestamp:
Apr 24, 2008, 11:39:06 PM (17 years ago)
Author:
scheusso
Message:

little cosmetics

Location:
code/branches/network3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/network3/bin/levels/sample.oxw

    r1184 r1185  
    99  </audio-->
    1010
    11 <!--Ambient colourvalue="1,1,1" />
    12 <Skybox src="Orxonox/StarSkyBox" /-->
     11<!--Ambient colourvalue="1,1,1" /-->
     12<!--Skybox src="Orxonox/StarSkyBox" /-->
    1313
    1414<SpaceShip camera="true" position="0,0,0" scale="10" yawpitchroll="-90,-90,0" mesh="assf3.mesh" maxSpeed="500" maxSideAndBackSpeed="50" maxRotation="1.0" transAcc="200" rotAcc="3.0" transDamp="75" rotDamp="1.0" />
    1515
    16 <!--NPC position="0,100,400" scale="1" mesh="razor.mesh"/>
     16<NPC position="0,100,400" scale="1" mesh="razor.mesh"/>
    1717<NPC position="0,100,400" scale="1" mesh="razor.mesh"/>
    1818<NPC position="0,-100,500" scale="1" mesh="razor.mesh"/>
    1919<NPC position="0,-200,450" scale="1" mesh="razor.mesh"/>
    20 <NPC position="100,0,400" scale="1" mesh="razor.mesh"/-->
     20<NPC position="100,0,400" scale="1" mesh="razor.mesh"/>
    2121
    2222<!--Model name="starship" position="200,0,500" scale="10" mesh="starship.mesh" yawpitchroll="-90,-90,0" />
  • code/branches/network3/src/orxonox/objects/WorldEntity.cc

    r1184 r1185  
    206206      registerVar( (void*) &(this->getOrientation().y), sizeof(this->getOrientation().y), network::DATA);
    207207      registerVar( (void*) &(this->getOrientation().z), sizeof(this->getOrientation().z), network::DATA);
    208       // not needed at the moment, because we don't have prediction yet
    209208      // register velocity_
    210209      registerVar( (void*) &(this->getVelocity().x), sizeof(this->getVelocity().x), network::DATA);
     
    216215      registerVar( (void*) &(this->getRotationAxis().y), sizeof(this->getRotationAxis().y), network::DATA);
    217216      registerVar( (void*) &(this->getRotationAxis().z), sizeof(this->getRotationAxis().z), network::DATA);
    218      
     217      // register scale of node
    219218      registerVar( (void*) &(this->getScale().x), sizeof(this->getScale().x), network::DATA);
    220219      registerVar( (void*) &(this->getScale().y), sizeof(this->getScale().y), network::DATA);
Note: See TracChangeset for help on using the changeset viewer.