mirror of https://github.com/OpenRCT2/OpenRCT2.git
Rename Shared.cpp to Platform.Common.cpp
This commit is contained in:
parent
cf7c486c5f
commit
d8009291c4
|
@ -875,10 +875,10 @@
|
|||
<ClCompile Include="PlatformEnvironment.cpp" />
|
||||
<ClCompile Include="platform\Crash.cpp" />
|
||||
<ClCompile Include="platform\Platform.Android.cpp" />
|
||||
<ClCompile Include="platform\Platform.Common.cpp" />
|
||||
<ClCompile Include="platform\Platform.Linux.cpp" />
|
||||
<ClCompile Include="platform\Platform.Posix.cpp" />
|
||||
<ClCompile Include="platform\Platform.Win32.cpp" />
|
||||
<ClCompile Include="platform\Shared.cpp" />
|
||||
<ClCompile Include="profiling\Profiling.cpp" />
|
||||
<ClCompile Include="rct12\RCT12.cpp" />
|
||||
<ClCompile Include="rct12\SawyerChunk.cpp" />
|
||||
|
@ -1054,7 +1054,8 @@
|
|||
<ClCompile Include="world\Wall.cpp" />
|
||||
<ClCompile Include="..\thirdparty\duktape\duktape.cpp">
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<ForcedIncludeFiles></ForcedIncludeFiles>
|
||||
<ForcedIncludeFiles>
|
||||
</ForcedIncludeFiles>
|
||||
<WarningLevel>TurnOffAllWarnings</WarningLevel>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
|
|
|
@ -24,7 +24,9 @@
|
|||
|
||||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <chrono>
|
||||
#include <cstring>
|
||||
#include <thread>
|
||||
#include <time.h>
|
||||
|
||||
#ifdef _WIN32
|
||||
|
@ -136,4 +138,10 @@ namespace Platform
|
|||
return 1;
|
||||
}
|
||||
#endif
|
||||
|
||||
void Sleep(uint32_t ms)
|
||||
{
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(ms));
|
||||
}
|
||||
|
||||
} // namespace Platform
|
Loading…
Reference in New Issue