Adding IOStream + String library (needed to have proper iostream)
This commit is contained in:
@@ -12,8 +12,8 @@
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Game\Game.vcxproj">
|
||||
<Project>{b7b12dcc-1a69-4371-a9fe-d6e7671497b0}</Project>
|
||||
<Name>Game</Name>
|
||||
<Project>{b7b12dcc-1a69-4371-a9fe-d6e7671497b0}</Project>
|
||||
<Name>Game</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Juliet\Juliet.vcxproj">
|
||||
<Project>{1bbc0b92-e4d8-4838-974b-439c5c501e82}</Project>
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
|
||||
#include <Core/Application/ApplicationManager.h>
|
||||
#include <Core/HAL/Display/Display.h>
|
||||
#include <Core/HAL/DynLib/DynamicLibrary.h>
|
||||
#include <Core/HAL/Event/SystemEvent.h>
|
||||
#include <Core/HAL/Filesystem/Filesystem.h>
|
||||
#include <Core/JulietInit.h>
|
||||
@@ -13,6 +12,7 @@
|
||||
#include <Graphics/RenderPass.h>
|
||||
#include <Windows.h>
|
||||
|
||||
#include <Core/Common/String.h>
|
||||
#include <Core/Memory/Utils.h>
|
||||
#include <cstdlib>
|
||||
|
||||
@@ -58,12 +58,11 @@ void JulietApplication::Init()
|
||||
if (Running)
|
||||
{
|
||||
AttachToWindow(GraphicsDevice, MainWindow);
|
||||
// Game = LoadDynamicLibrary("Game.dll");
|
||||
|
||||
GameCode.Functions = reinterpret_cast<void**>(&Game);
|
||||
GameCode.FunctionCount = ArraySize(GameFunctionTable);
|
||||
GameCode.FunctionNames = GameFunctionTable;
|
||||
InitHotReloadCode(GameCode, StringBufferParam("Game.dll"), StringBufferParam("Game_Temp.dll"), StringBufferParam("lock.tmp"));
|
||||
InitHotReloadCode(GameCode, ConstString("Game.dll"), ConstString("Game_Temp.dll"), ConstString("lock.tmp"));
|
||||
if ((Running = GameCode.IsValid))
|
||||
{
|
||||
Game.Init();
|
||||
|
||||
Reference in New Issue
Block a user