| 188 | } |
| 189 | |
| 190 | void TrackStep::Final() |
| 191 | { |
| 192 | for (int level = 0; level < _shape->NLevels(); level++) |
| 193 | { |
| 194 | #if ALPHA_SPLIT |
| 195 | Shape* shape = _shape->LevelAlpha(level); |
| 196 | #else |
| 197 | Shape* shape = _shape->LevelOpaque(level); |
| 198 | #endif |
| 199 | shape->SurfaceSplit(GLOB_LAND, Transform(), GLOB_ENGINE->ZShadowEpsilon(), false); |
| 200 | shape->AndSpecial(~OnSurface); |
| 201 | shape->OrSpecial(TrackSpecFlags | IsOnSurface); |
| 202 | shape->FindSections(); |
| 203 | } |
| 204 | } |
| 205 | |
| 206 | TrackDraw::TrackDraw() : _offsets(false) |
| 207 | { |
no test coverage detected