true architecture

This commit is contained in:
axelpicou
2024-03-20 11:29:30 +01:00
parent 5714bbf085
commit e849aebc4e
19 changed files with 589 additions and 438 deletions

26
enginecustom/Main.cpp Normal file
View File

@@ -0,0 +1,26 @@
#include "systemclass.h"
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, PSTR pScmdline, int iCmdshow)
{
SystemClass* System;
bool result;
// Create the system object.
System = new SystemClass;
// Initialize and run the system object.
result = System->Initialize();
if (result)
{
System->Run();
}
// Shutdown and release the system object.
System->Shutdown();
delete System;
System = 0;
return 0;
}