1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-16 03:23:15 +01:00

fix intro drawing

This commit is contained in:
Ted John
2016-05-13 18:37:00 +01:00
parent f330ae478b
commit f901ec4aa8
2 changed files with 6 additions and 8 deletions

View File

@@ -7,8 +7,7 @@
<LocalDebuggerCommand>$(TargetDir)\openrct2.exe</LocalDebuggerCommand>
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
<LocalDebuggerWorkingDirectory>$(TargetDir)</LocalDebuggerWorkingDirectory>
<LocalDebuggerCommandArguments>
</LocalDebuggerCommandArguments>
<LocalDebuggerCommandArguments>intro</LocalDebuggerCommandArguments>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LocalDebuggerWorkingDirectory>$(TargetDir)</LocalDebuggerWorkingDirectory>

View File

@@ -276,6 +276,10 @@ int rct2_startup_checks()
void rct2_draw()
{
if (RCT2_GLOBAL(RCT2_ADDRESS_RUN_INTRO_TICK_PART, uint8) != 0) {
return;
}
redraw_rain();
window_update_all();
gfx_invalidate_pickedup_peep();
@@ -286,13 +290,8 @@ void rct2_draw()
chat_draw();
console_draw(&gScreenDPI);
if (RCT2_GLOBAL(RCT2_ADDRESS_RUN_INTRO_TICK_PART, uint8) != 0) {
//intro
} else if (gScreenFlags & SCREEN_FLAGS_TITLE_DEMO) {
//title
if (gScreenFlags & SCREEN_FLAGS_TITLE_DEMO) {
DrawOpenRCT2(0, gScreenHeight - 20);
} else {
//game
}
if (gConfigGeneral.show_fps) {