Changeset 10347 in orxonox.OLD for branches/playability/src/world_entities
- Timestamp:
- Jan 24, 2007, 6:50:33 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/playability/src/world_entities/space_ships/space_ship.cc
r10335 r10347 371 371 this->travelDistancePlus = Vector2D(50,50); 372 372 this->travelDistanceMinus = Vector2D(-50,-50); 373 this->isTravelDistanceInit = false;373 this->isTravelDistanceInit = true; 374 374 this->actionWidthPercentage = 1; 375 375 … … 420 420 LoadParam(root, "cameraDistance", this, SpaceShip, setCameraDistance); 421 421 LoadParam(root, "cameraFovy", this, SpaceShip, setCameraFovy); 422 //LoadParam(root, "actionWidthPercentage", this, SpaceShip, setActionWidthPercentage);422 LoadParam(root, "actionWidthPercentage", this, SpaceShip, setActionWidthPercentage); 423 423 424 424 State::getCamera()->setViewMode(Camera::ViewTop); … … 860 860 this->travelNode->updateNode(0.01f); 861 861 862 if (this->hasPlayer()) 863 this->isTravelDistanceInit = false; 862 this->isTravelDistanceInit = false; 864 863 865 864 if(this->entityTrack) … … 1167 1166 if (i<0) i=0; 1168 1167 this->actionWidthPercentage = i/100.0; 1169 //State::getPlayer()->hud().setOverlayPercentage(100-i); 1170 //updateTravelDistance(); 1168 1171 1169 if (this->hasPlayer()) 1172 1170 this->isTravelDistanceInit = false;
Note: See TracChangeset
for help on using the changeset viewer.