mirror of https://github.com/OpenRCT2/OpenRCT2.git
add more verbose logging
This commit is contained in:
parent
9771ddec83
commit
f27c63e119
|
@ -51,7 +51,7 @@ int object_load_file(int groupIndex, const rct_object_entry *entry, int* chunkSi
|
|||
|
||||
subsitute_path(path, RCT2_ADDRESS(RCT2_ADDRESS_OBJECT_DATA_PATH, char), (char*)installedObject + 16);
|
||||
|
||||
// log_verbose("loading object, %s", path);
|
||||
log_verbose("loading object, %s", path);
|
||||
|
||||
file = fopen(path, "rb");
|
||||
if (file == NULL)
|
||||
|
|
|
@ -420,6 +420,8 @@ int object_read_and_load_entries(FILE *file)
|
|||
RCT2_GLOBAL(0x14241BC, uint32) = 0;
|
||||
return 0;
|
||||
}
|
||||
|
||||
log_verbose("finished loading required objects");
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
|
@ -84,6 +84,7 @@ void openrct2_launch()
|
|||
break;
|
||||
}
|
||||
|
||||
log_verbose("begin openrct2 loop");
|
||||
openrct2_loop();
|
||||
osinterface_free();
|
||||
|
||||
|
|
|
@ -119,6 +119,7 @@ int rct2_init()
|
|||
gfx_clear(RCT2_ADDRESS(RCT2_ADDRESS_SCREEN_DPI, rct_drawpixelinfo), 10);
|
||||
RCT2_GLOBAL(RCT2_ADDRESS_RUN_INTRO_TICK_PART, uint8) = gGeneral_config.play_intro ? 8 : 255;
|
||||
|
||||
log_verbose("initialising game finished");
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
|
@ -90,6 +90,8 @@ static void title_create_windows();
|
|||
*/
|
||||
void title_load()
|
||||
{
|
||||
log_verbose("loading title");
|
||||
|
||||
if (RCT2_GLOBAL(0x009DEA6E, uint8) & 1)
|
||||
RCT2_CALLPROC_X(0x00667C15, 0, 1, 0, 0, 0, 0, 0);//Game pause toggle
|
||||
|
||||
|
@ -117,6 +119,8 @@ void title_load()
|
|||
title_init_showcase();
|
||||
gfx_invalidate_screen();
|
||||
RCT2_GLOBAL(0x009DEA66, uint16) = 0;
|
||||
|
||||
log_verbose("loading title finished");
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -171,6 +175,7 @@ static void title_update_showcase()
|
|||
log_fatal("OpenRCT2 can not currently cope when unable to load title screen scenario.");
|
||||
exit(-1);
|
||||
}
|
||||
log_verbose("loaded title scenario");
|
||||
|
||||
w = window_get_main();
|
||||
w->viewport_target_sprite = -1;
|
||||
|
|
Loading…
Reference in New Issue