| 298 | #endif |
| 299 | |
| 300 | qboolean FighterOverValidLandingSurface( Vehicle_t *pVeh ) |
| 301 | { |
| 302 | if ( pVeh->m_LandTrace.fraction < 1.0f //ground present |
| 303 | && pVeh->m_LandTrace.plane.normal[2] >= MIN_LANDING_SLOPE )//flat enough |
| 304 | //FIXME: also check for a certain surface flag ... "landing zones"? |
| 305 | { |
| 306 | return qtrue; |
| 307 | } |
| 308 | return qfalse; |
| 309 | } |
| 310 | |
| 311 | qboolean FighterIsLanded( Vehicle_t *pVeh, playerState_t *parentPS ) |
| 312 | { |
no outgoing calls
no test coverage detected