| 374 | } |
| 375 | |
| 376 | void TitleEffectBasic::DrawRsc() |
| 377 | { |
| 378 | if (_rscOverlayShapes.Size() > 0) |
| 379 | { |
| 380 | // 4:3 model overlay — preserve 4:3 + pillarbox while bars are on, else stretch. |
| 381 | const bool preserve4x3 = AspectRatio::ArePillarboxBarsEnabled(); |
| 382 | for (int i = 0; i < _rscOverlayShapes.Size(); ++i) |
| 383 | Object::Draw2D(_rscOverlayShapes[i], 0, PackedWhite, /*preserveAspect4x3*/ preserve4x3); |
| 384 | if (_rscOverlayPillarbox) |
| 385 | Object::DrawWidescreenPillarbox(/*requireGameplayActive*/ false); |
| 386 | return; |
| 387 | } |
| 388 | _rsc->DrawHUD(nullptr, _alpha); |
| 389 | if (_rscObjectDisplayPillarbox) |
| 390 | Object::DrawWidescreenPillarbox(/*requireGameplayActive*/ false, /*force*/ true); |
| 391 | } |
| 392 | |
| 393 | void TitleEffectBasic::Draw() |
no test coverage detected