PageRenderTime 17ms CodeModel.GetById 15ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/project/Naruto_Uzumaki_Chronicles2_logo_test/main.cpp

http://narutortsproject.googlecode.com/
C++ | 21 lines | 17 code | 4 blank | 0 comment | 1 complexity | e1af3d5cefd28bdc3e15b21bb86dbc25 MD5 | raw file
 1#include "Core/Core.h"
 2#include "Scene_test.h"
 3#include "Scene_menu.h"
 4
 5Core_base naruto_core;
 6
 7int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
 8{
 9  Scene_test* scene_test = new Scene_test;
10  Scene_menu* scene_menu = new Scene_menu;
11
12  if (naruto_core.create())
13  {
14    naruto_core.scene_add(scene_menu);
15    naruto_core.scene_add(scene_test);
16    naruto_core.main();
17  };
18
19  naruto_core.destroy();
20  return 0;
21};