資源簡介
游戲截圖:
http://blog.csdn.net/niehanmin/article/details/79157934
娛樂園過山車游戲源碼,國外的一款游戲,支持Windows,Linux和Android.
代碼片段和文件信息
/*
??Copyright?(C)?2012?Stuffomatic?Ltd.?
??All?rights?reserved.
??See?the?accompanying?license?file?for?details?about?usage?modification?and
??distribution?of?this?file.
*/
/**
?*?\file
?*?\brief?Implementation?of?the?rp::launcher?class.
?*?\author?Julien?Jorge
?*/
#include?“launcher.hpp“
#include?“bear_gettext.hpp“
#include?
#include?
#include?
#define?STRINGIZE_HELPER(a)?#?a
#define?STRINGIZE(a)?STRINGIZE_HELPER(a)
/*----------------------------------------------------------------------------*/
/**
?*?\brief?Constructor.
?*?\param?argc?Number?of?program?arguments.
?*?\param?argv?Program?arguments.
?*/
rp::launcher::launcher(?int&?argc?char**?&argv?)
??:?claw::application(argc?argv)?m_game(NULL)
{
#ifdef?BEAR_TEXT_DOMAIN_PATH
??bindtextdomain(?“bear-engine“?BOOST_PP_STRINGIZE(BEAR_TEXT_DOMAIN_PATH)?);
#endif
??bind_textdomain_codeset(?“bear-engine“?“ISO-8859-15“?);
??textdomain(?“bear-engine“?);
??m_arguments.add
????(“-h“?“--help“?bear_gettext(“Print?this?help?screen?and?exit.“)?true);
??m_arguments.parse(argc?argv);
??if?(?m_arguments.get_bool(“--help“)?)
????help();
??else
????create_game(?argc?argv?);
}?//?running_rp::launcher()
/*----------------------------------------------------------------------------*/
/**
?*?\brief?Destructor.
?*/
rp::launcher::~launcher()
{
??delete?m_game;
}?//?running_bear::~running_bear()
/*----------------------------------------------------------------------------*/
/**
?*?\brief?Run?the?application.
?*/
int?rp::launcher::run()
{
??std::string?text_domain_dir;
#ifdef?_WIN32
??text_domain_dir?=?get_application_path()?+?“..\\share\\locale“;
#elif?defined?RP_STATIC
??text_domain_dir?=?get_application_path()?+?“share/locale“;
#elif?defined?RP_TEXT_DOMAIN_PATH
??
??text_domain_dir?=?BOOST_PP_STRINGIZE(RP_TEXT_DOMAIN_PATH);
#endif
??if?(?text_domain_dir.empty()?)
????claw::logger?<?????????????????<??else?if?(?bindtextdomain
????????????(?“super-great-park“?text_domain_dir.c_str()?)?!=?NULL?)
????claw::logger?<?????????????????<??else
????claw::logger?<?????????????????<“Could?not?set?the?text?domain?directory?to?‘“
?????????????????<
??bind_textdomain_codeset(?“super-great-park“?“ISO-8859-15“?);
??try
????{
??????if?(?m_game?!=?NULL?)
????????{
??????????m_game->run();
??????????delete?m_game;
??????????m_game?=?NULL;
????????}
??????return?EXIT_SUCCESS;
????}
??catch(?std::exception&?e?)
????{
??????claw::logger?<???????????????????<??????delete?m_game;
??????m_game?=?NULL;
??????return?EXIT_FAILURE;
????}
}?//?running_bear::run()
/*----------------------------------------------------------------------------*/
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????6017??2013-08-28?00:57??c++娛樂園過山車游戲源碼\娛樂園過山車游戲源碼\gsc\gsc\asgp\build-sc
?????文件???????1764??2013-08-28?00:57??c++娛樂園過山車游戲源碼\娛樂園過山車游戲源碼\gsc\gsc\asgp\build-sc
?????文件???????1513??2013-08-28?00:57??c++娛樂園過山車游戲源碼\娛樂園過山車游戲源碼\gsc\gsc\asgp\build-sc
?????文件????????423??2013-08-28?00:57??c++娛樂園過山車游戲源碼\娛樂園過山車游戲源碼\gsc\gsc\asgp\build-sc
?????文件???????3747??2013-08-28?00:57??c++娛樂園過山車游戲源碼\娛樂園過山車游戲源碼\gsc\gsc\asgp\build-sc
?????文件???????4926??2013-08-28?00:57??c++娛樂園過山車游戲源碼\娛樂園過山車游戲源碼\gsc\gsc\asgp\CMakeLists.txt
?????文件????????256??2013-08-28?00:57??c++娛樂園過山車游戲源碼\娛樂園過山車游戲源碼\gsc\gsc\asgp\data\animation\balloon-blast.canim
?????文件????????105??2013-08-28?00:57??c++娛樂園過山車游戲源碼\娛樂園過山車游戲源碼\gsc\gsc\asgp\data\animation\balloon-slow.canim
?????文件???????1171??2013-08-28?00:57??c++娛樂園過山車游戲源碼\娛樂園過山車游戲源碼\gsc\gsc\asgp\data\animation\balloon.canim
?????文件????????576??2013-08-28?00:57??c++娛樂園過山車游戲源碼\娛樂園過山車游戲源碼\gsc\gsc\asgp\data\animation\bird\fly.canim
?????文件????????819??2013-08-28?00:57??c++娛樂園過山車游戲源碼\娛樂園過山車游戲源碼\gsc\gsc\asgp\data\animation\bird\idle.canim
?????文件???????1674??2013-08-28?00:57??c++娛樂園過山車游戲源碼\娛樂園過山車游戲源碼\gsc\gsc\asgp\data\animation\bonus\bowl.canim
?????文件????????792??2013-08-28?00:57??c++娛樂園過山車游戲源碼\娛樂園過山車游戲源碼\gsc\gsc\asgp\data\animation\boss\emergency-on.canim
?????文件????????829??2013-08-28?00:57??c++娛樂園過山車游戲源碼\娛樂園過山車游戲源碼\gsc\gsc\asgp\data\animation\boss\engine.canim
?????文件????????830??2013-08-28?00:57??c++娛樂園過山車游戲源碼\娛樂園過山車游戲源碼\gsc\gsc\asgp\data\animation\boss\lady-plunger.canim
?????文件????????170??2013-08-28?00:57??c++娛樂園過山車游戲源碼\娛樂園過山車游戲源碼\gsc\gsc\asgp\data\animation\boss\lady-smoke.canim
?????文件????????690??2013-08-28?00:57??c++娛樂園過山車游戲源碼\娛樂園過山車游戲源碼\gsc\gsc\asgp\data\animation\boss\lady.canim
?????文件????????401??2013-08-28?00:57??c++娛樂園過山車游戲源碼\娛樂園過山車游戲源碼\gsc\gsc\asgp\data\animation\boss\pipe-1.canim
?????文件????????906??2013-08-28?00:57??c++娛樂園過山車游戲源碼\娛樂園過山車游戲源碼\gsc\gsc\asgp\data\animation\boss\pipe-3.canim
?????文件????????537??2013-08-28?00:57??c++娛樂園過山車游戲源碼\娛樂園過山車游戲源碼\gsc\gsc\asgp\data\animation\boss\pipe-4.canim
?????文件????????635??2013-08-28?00:57??c++娛樂園過山車游戲源碼\娛樂園過山車游戲源碼\gsc\gsc\asgp\data\animation\boss\propeller.canim
?????文件????????815??2013-08-28?00:57??c++娛樂園過山車游戲源碼\娛樂園過山車游戲源碼\gsc\gsc\asgp\data\animation\boss\smoke.canim
?????文件????????328??2013-08-28?00:57??c++娛樂園過山車游戲源碼\娛樂園過山車游戲源碼\gsc\gsc\asgp\data\animation\boss\trap-door-closing.canim
?????文件????????328??2013-08-28?00:57??c++娛樂園過山車游戲源碼\娛樂園過山車游戲源碼\gsc\gsc\asgp\data\animation\boss\trap-door.canim
?????文件????????448??2013-08-28?00:57??c++娛樂園過山車游戲源碼\娛樂園過山車游戲源碼\gsc\gsc\asgp\data\animation\cart\spatter.canim
?????文件????????451??2013-08-28?00:57??c++娛樂園過山車游戲源碼\娛樂園過山車游戲源碼\gsc\gsc\asgp\data\animation\cart\speed.canim
?????文件????????797??2013-08-28?00:57??c++娛樂園過山車游戲源碼\娛樂園過山車游戲源碼\gsc\gsc\asgp\data\animation\cart\tar.canim
?????文件????????621??2013-08-28?00:57??c++娛樂園過山車游戲源碼\娛樂園過山車游戲源碼\gsc\gsc\asgp\data\animation\effect\double-wave.canim
?????文件????????568??2013-08-28?00:57??c++娛樂園過山車游戲源碼\娛樂園過山車游戲源碼\gsc\gsc\asgp\data\animation\effect\steam.canim
?????文件????????487??2013-08-28?00:57??c++娛樂園過山車游戲源碼\娛樂園過山車游戲源碼\gsc\gsc\asgp\data\animation\effect\wave.canim
............此處省略3047個文件信息
- 上一篇:weblogic8.1版本_6
- 下一篇:微信dat文件解析工具.zip
評論
共有 條評論