| 16578 | } |
| 16579 | |
| 16580 | void cFodder::intro_LegionMessage() { |
| 16581 | int16 Duration = 150; |
| 16582 | bool DoBreak = false; |
| 16583 | |
| 16584 | mSurface->clearBuffer(); |
| 16585 | mGraphics->PaletteSet(); |
| 16586 | |
| 16587 | Intro_Print_String(&mVersionCurrent->getIntroData()->at(0).mText[0]); |
| 16588 | Intro_Print_String(&mVersionCurrent->getIntroData()->at(0).mText[1]); |
| 16589 | Intro_Print_String(&mVersionCurrent->getIntroData()->at(0).mText[2]); |
| 16590 | mSurface->Save(); |
| 16591 | |
| 16592 | while (mSurface->isPaletteAdjusting() || DoBreak == false) { |
| 16593 | |
| 16594 | if (mSurface->isPaletteAdjusting()) { |
| 16595 | mSurface->palette_FadeTowardNew(); |
| 16596 | |
| 16597 | if (!DoBreak) { |
| 16598 | Video_Sleep(); |
| 16599 | Video_Sleep(); |
| 16600 | Video_Sleep(); |
| 16601 | continue; |
| 16602 | } |
| 16603 | } |
| 16604 | |
| 16605 | if (Duration >= 0) |
| 16606 | --Duration; |
| 16607 | else { |
| 16608 | if (DoBreak == false) { |
| 16609 | mSurface->paletteNew_SetToBlack(); |
| 16610 | |
| 16611 | Duration = 0; |
| 16612 | DoBreak = true; |
| 16613 | } |
| 16614 | } |
| 16615 | |
| 16616 | Video_Sleep(); |
| 16617 | } |
| 16618 | } |
| 16619 | |
| 16620 | int16 cFodder::intro_Play() { |
| 16621 |
nothing calls this directly
no test coverage detected