genesis-3d_engine/Engine/players/Demo/Demo_Main.cc

46 lines
1009 B
C++
Raw Normal View History

/** \file demo.cc
* \brief: make demo for the boss
* Copyright (c) 2011,<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>WebJet<EFBFBD><EFBFBD>ҵ<EFBFBD><EFBFBD>
* All rights reserved.
* Date Ver Who Comment
* 2011/10/13 1.0 SunHao
*/
#include "stdneb.h"
#include "system/appentry.h"
#include "Demo_GameApplication.h"
ImplementNebulaApplication()
/**
Demo <EFBFBD><EFBFBD>Ҫ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڷ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ĵ<EFBFBD><EFBFBD><EFBFBD>ij<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>в<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
ProjectPath ָ<EFBFBD><EFBFBD>Ҫ<EFBFBD>򿪵<EFBFBD>·<EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
Scene ָ<EFBFBD><EFBFBD>Ҫ<EFBFBD>򿪵ij<EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD>û<EFBFBD>У<EFBFBD>Ĭ<EFBFBD>ϴ<EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD><EFBFBD><EFBFBD>ճ<EFBFBD><EFBFBD><EFBFBD>
ʵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>show<EFBFBD><EFBFBD><EFBFBD>̵<EFBFBD>show.scene. <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>в<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
ProjectPath="E:\WebJet_CodeReview\trunk\test_project\ProjRes\show" Scene="asset:scene/show.scene"
E:\WebJet_CodeReview\trunk\test_project\ <EFBFBD><EFBFBD>ɱ<EFBFBD><EFBFBD>صĹ<EFBFBD><EFBFBD><EFBFBD>·<EFBFBD><EFBFBD>
*/
//------------------------------------------------------------------------------
/**
*/
void
NebulaMain(const Util::CommandLineArgs& args)
{
Demo::DemoGameApplication app;
app.SetCompanyName("Changyou");
app.SetAppTitle("Demo");
app.SetCmdLineArgs(args);
if (app.Open())
{
app.Run();
app.Close();
}
app.Exit();
}