Example #1
0
/**
 * @brief Perform actions after loading a game for single player campaign
 * @sa SAV_GameLoad
 */
static bool SAV_GameActionsAfterLoad (void)
{
	bool result = true;

	result = result && AIR_PostLoadInit();
	result = result && B_PostLoadInit();
	result = result && PR_PostLoadInit();

	/* Make sure the date&time is displayed when loading. */
	CP_UpdateTime();

	/* Update number of UFO detected by radar */
	RADAR_SetRadarAfterLoading();

	return result;
}
Example #2
0
/**
 * @brief Perform actions after loading a game for single player campaign
 * @sa SAV_GameLoad
 */
static bool SAV_GameActionsAfterLoad (void)
{
	bool result = true;

	result = result && AIR_PostLoadInit();
	result = result && B_PostLoadInit();
	result = result && PR_PostLoadInit();

	/* Make sure the date&time is displayed when loading. */
	CP_UpdateTime();

	/* Update number of UFO detected by radar */
	RADAR_SetRadarAfterLoading();

	/* Update the XVI button -- needs to be done after research was loaded */
	CP_UpdateXVIMapButton();

	return result;
}