mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-12-14 03:59:36 +00:00
unneeded changes
This commit is contained in:
@@ -529,6 +529,11 @@ int AppStartup()
|
|||||||
|
|
||||||
PL_Init();
|
PL_Init();
|
||||||
|
|
||||||
|
IGpLogDriver *logger = PLDrivers::GetLogDriver();
|
||||||
|
|
||||||
|
if (logger)
|
||||||
|
logger->Printf(IGpLogDriver::Category_Information, "Init phase 1...");
|
||||||
|
|
||||||
ToolBoxInit();
|
ToolBoxInit();
|
||||||
CheckOurEnvirons();
|
CheckOurEnvirons();
|
||||||
|
|
||||||
@@ -546,9 +551,15 @@ int AppStartup()
|
|||||||
LoadCursors();
|
LoadCursors();
|
||||||
ReadInPrefs();
|
ReadInPrefs();
|
||||||
|
|
||||||
|
if (logger)
|
||||||
|
logger->Printf(IGpLogDriver::Category_Information, "Init phase 2...");
|
||||||
|
|
||||||
SpinCursor(2); // Tick once to let the display driver flush any resolution changes from prefs
|
SpinCursor(2); // Tick once to let the display driver flush any resolution changes from prefs
|
||||||
FlushResolutionChange();
|
FlushResolutionChange();
|
||||||
|
|
||||||
|
if (logger)
|
||||||
|
logger->Printf(IGpLogDriver::Category_Information, "Init phase 3...");
|
||||||
|
|
||||||
#if defined COMPILEDEMO
|
#if defined COMPILEDEMO
|
||||||
copyGood = true;
|
copyGood = true;
|
||||||
#elif defined COMPILENOCP
|
#elif defined COMPILENOCP
|
||||||
@@ -573,6 +584,9 @@ int AppStartup()
|
|||||||
InitSrcRects();
|
InitSrcRects();
|
||||||
CreateOffscreens();
|
CreateOffscreens();
|
||||||
|
|
||||||
|
if (logger)
|
||||||
|
logger->Printf(IGpLogDriver::Category_Information, "Init phase 3...");
|
||||||
|
|
||||||
bool resolutionChanged = false;
|
bool resolutionChanged = false;
|
||||||
|
|
||||||
if (!isPrefsLoaded)
|
if (!isPrefsLoaded)
|
||||||
@@ -599,10 +613,14 @@ int AppStartup()
|
|||||||
if (isDoColorFade)
|
if (isDoColorFade)
|
||||||
PortabilityLayer::WindowManager::GetInstance()->SetWindowDesaturation(mainWindow, 1.0);
|
PortabilityLayer::WindowManager::GetInstance()->SetWindowDesaturation(mainWindow, 1.0);
|
||||||
|
|
||||||
|
if (logger)
|
||||||
|
logger->Printf(IGpLogDriver::Category_Information, "Init phase 4...");
|
||||||
|
|
||||||
InitSound(); SpinCursor(2);
|
InitSound(); SpinCursor(2);
|
||||||
InitMusic(); SpinCursor(2);
|
InitMusic(); SpinCursor(2);
|
||||||
|
|
||||||
|
if (logger)
|
||||||
|
logger->Printf(IGpLogDriver::Category_Information, "Init phase 5...");
|
||||||
|
|
||||||
BuildHouseList();
|
BuildHouseList();
|
||||||
OpenHouse(true);
|
OpenHouse(true);
|
||||||
@@ -618,6 +636,9 @@ int AppStartup()
|
|||||||
// HideMenuBarOld();
|
// HideMenuBarOld();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
if (logger)
|
||||||
|
logger->Printf(IGpLogDriver::Category_Information, "Initialization completed");
|
||||||
|
|
||||||
if (isDoColorFade)
|
if (isDoColorFade)
|
||||||
WashColorIn();
|
WashColorIn();
|
||||||
|
|
||||||
|
|||||||
@@ -453,9 +453,8 @@ bool GpFontHandler_FreeType2::Init()
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
|
||||||
extern "C"
|
extern "C"
|
||||||
|
#ifdef _MSC_VER
|
||||||
__declspec(dllexport)
|
__declspec(dllexport)
|
||||||
#endif
|
#endif
|
||||||
IGpFontHandler *GpDriver_CreateFontHandler_FreeType2(const GpFontHandlerProperties &properties)
|
IGpFontHandler *GpDriver_CreateFontHandler_FreeType2(const GpFontHandlerProperties &properties)
|
||||||
|
|||||||
Reference in New Issue
Block a user