Befor NewSurface Fix

This commit is contained in:
2018-06-29 15:28:06 -04:00
parent 0a17c2cfe7
commit f85ff9fa96
10 changed files with 94 additions and 22 deletions
+9 -15
View File
@@ -21,7 +21,13 @@ see license.txt for details
#include "UTest/UTest.hpp"
/*** Video Engine Test ***/
#include "VideoEngineTest/VideoTest.hpp"
/*** Utility Engine Test ***/
#include "UtilityEngineTest/StringTest.hpp"
/*** GUI Engine Test ***/
#include "GUIEngineTest/GUIXMLTest.hpp"
using UtilityEngine::cString;
@@ -37,22 +43,10 @@ int main(int argc, char *argv[])
printf(cString("TrooperEngine V") + TrooperEngineCore::cTrooperEngineCore::Version() + "\n");
VideoTest();
UTest u("cVideo");
printf("\nTesting cVideo\n");
TrooperEngineCore::cTrooperEngineCore::Inst();
VideoEngine::cVideo& video = VideoEngine::cVideo::Inst();
video.Initialize();
//core.VideoInit();
if (!video.Setup()) {
printf("database failed to open.\n");
return 1;
}
u.test("Video Initialize open", video.IsInit());
StringTest();