Befor NewSurface Fix
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user