| 140 | //========================================================================== |
| 141 | |
| 142 | bool FStrifeStartScreen::DoProgress(int advance) |
| 143 | { |
| 144 | int notch_pos; |
| 145 | |
| 146 | if (CurPos < MaxPos) |
| 147 | { |
| 148 | notch_pos = ((CurPos + 1) * (ST_LASERSPACE_WIDTH - ST_LASER_WIDTH)) / MaxPos; |
| 149 | if (notch_pos != NotchPos && !(notch_pos & 1)) |
| 150 | { // Time to update. |
| 151 | DrawStuff(NotchPos, notch_pos); |
| 152 | NotchPos = notch_pos; |
| 153 | StartupTexture->CleanHardwareData(true); |
| 154 | } |
| 155 | } |
| 156 | return FStartScreen::DoProgress(advance); |
| 157 | } |
| 158 | |
| 159 | //========================================================================== |
| 160 | // |
nothing calls this directly
no test coverage detected