changes to 380 project 4 changes to 350 project 2 Signed-off-by: Amrit Panesar <apanesar@4195tech.com>
30 lines
552 B
C++
30 lines
552 B
C++
//#define _CRTDBG_MAP_ALLOC
|
|
//#include <stdlib.h>
|
|
//#include <crtdbg.h>
|
|
|
|
#include <vld\vld.h>
|
|
|
|
#include "MainWindow.h"
|
|
|
|
int WINAPI WinMain(HINSTANCE inst, HINSTANCE prev, LPSTR cmd, int show)
|
|
{
|
|
//_CrtSetDbgFlag(_CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF);
|
|
|
|
GkMaths::Randomize();
|
|
|
|
//Dictionary::Initialize();
|
|
GkImage::Initialize();
|
|
GkGraphicsDevice::Initialize();
|
|
GkSoundDevice::Initialize();
|
|
|
|
MainWindow mainWindow;
|
|
|
|
GkWindowsForm::PerformFormLoop();
|
|
|
|
GkSoundDevice::Close();
|
|
//Dictionary::Close();
|
|
|
|
//_CrtDumpMemoryLeaks();
|
|
|
|
return 0;
|
|
} |