Add project files.
This commit is contained in:
@@ -0,0 +1,56 @@
|
||||
/* Copyright (C) 2016 Richard W. Allen
|
||||
Program Name: SDL Pong C++
|
||||
Author: Richard W. Allen
|
||||
Version: V1.0
|
||||
Date Started: August 24, 2016
|
||||
Date End:
|
||||
Webpage: http://www.richardallenonline.com
|
||||
IDE: Visual Studio 2015
|
||||
Compiler: C\C++ 2014
|
||||
Langage: C++
|
||||
License: GNU GENERAL PUBLIC LICENSE Version 2
|
||||
see license.txt for details
|
||||
|
||||
*/
|
||||
|
||||
/*** TrooperEngine DLL Header Files ***/
|
||||
#include "TrooperEngine.hpp"
|
||||
|
||||
/*** SDL Header Files ***/
|
||||
#include "SDL.h"
|
||||
|
||||
#include "UTest/UTest.hpp"
|
||||
|
||||
#include "UtilityEngineTest/StringTest.hpp"
|
||||
|
||||
using UtilityEngine::cString;
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
argc, argv;
|
||||
|
||||
printf(cString("TrooperEngine V") + TrooperEngineCore::cTrooperEngineCore::Version() + "\n");
|
||||
|
||||
|
||||
UTest u("cVideo");
|
||||
|
||||
printf("\nTesting cVideo\n");
|
||||
|
||||
//TrooperEngineCore::cTrooperEngineCore& core = TrooperEngineCore::cTrooperEngineCore::Inst();
|
||||
VideoEngine::cVideo& video = VideoEngine::cVideo::Inst();
|
||||
//core.VideoInit();
|
||||
|
||||
if (!video.Setup()) {
|
||||
printf("database failed to open.\n");
|
||||
return 1;
|
||||
}
|
||||
|
||||
u.test("Video Initialize open", !video.IsInit());
|
||||
|
||||
StringTest();
|
||||
|
||||
|
||||
system("pause");
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user