- Timestamp:
- Apr 19, 2006, 4:43:06 AM (19 years ago)
- Location:
- trunk/src/world_entities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/playable.cc
r7339 r7345 133 133 return false; 134 134 else 135 { 135 136 this->playmode = playmode; 137 return true; 138 } 136 139 } 137 140 -
trunk/src/world_entities/space_ships/turbine_hover.cc
r7339 r7345 215 215 216 216 /** 217 * loads the Settings of a TurbineHover from an XML-element.217 * @brief loads the Settings of a TurbineHover from an XML-element. 218 218 * @param root the XML-element to load the Spaceship's properties from 219 219 */ … … 245 245 246 246 /** 247 * effect that occurs after the TurbineHover is spawned247 * @brief effect that occurs after the TurbineHover is spawned 248 248 */ 249 249 void TurbineHover::postSpawn () … … 253 253 254 254 /** 255 * the action occuring if the turbine_hover left the game255 * @brief the action occuring if the turbine_hover left the game 256 256 */ 257 257 void TurbineHover::leftWorld () … … 259 259 260 260 /** 261 * this function is called, when two entities collide261 * @brief this function is called, when two entities collide 262 262 * @param entity: the world entity with whom it collides 263 263 * … … 272 272 273 273 /** 274 * the function called for each passing timeSnap274 * @brief the function called for each passing timeSnap 275 275 * @param time The timespan passed since last update 276 276 */ … … 290 290 291 291 /** 292 * calculate the velocity292 * @brief calculate the velocity 293 293 * @param time the timeslice since the last frame 294 294 */ … … 362 362 case Playable::Horizontal: 363 363 { 364 accel. z= 0.0;364 accel.y = 0.0; 365 365 Vector accelerationDir = this->getAbsDir().apply(accel * this->acceleration); 366 accelerationDir. z= 0.0;366 accelerationDir.y = 0.0; 367 367 368 368 // this is the air friction (necessary for a smooth control)
Note: See TracChangeset
for help on using the changeset viewer.