資源簡介
類似最終幻想的復古2D單機RPG游戲 C++源碼
類似最終幻想的復古2D單機RPG游戲源碼,國外大牛寫的,一款單人角色扮演游戲,玩法比較復古,需要玩家接收各種任務(wù),探索各個未知場景,回合制戰(zhàn)斗模式,各項功能都比較齊全,支持windows、linux、OS X,對開發(fā)復古類RPG游戲開發(fā)的很有參考價值。
代碼片段和文件信息
///////////////////////////////////////////////////////////////////////////////
//????????????Copyright?(C)?2004-2010?by?The?Allacrost?Project
//?????????????????????????All?Rights?Reserved
//
//?This?code?is?licensed?under?the?GNU?GPL?version?2.?It?is?free?software
//?and?you?may?modify?it?and/or?redistribute?it?under?the?terms?of?this?license.
//?See?http://www.gnu.org/copyleft/gpl.html?for?details.
///////////////////////////////////////////////////////////////////////////////
/**?***************************************************************************
***?\file????defs.h
***?\author??Tyler?Olsen?roots@allacrost.org
***?\brief???Source?file?for?Lua?binding?code
***
***?All?binding?code?is?contained?within?this?file?and?this?file?alone.
***?Therefore?everything?that?you?see?bound?within?this?file?will?be?made
***?available?in?Lua.?All?binding?code?is?contained?within?this?single?file
***?because?the?binding?code?greatly?increases?the?compilation?time?but?this
***?effect?is?mitigated?if?it?is?contained?within?a?single?file.
***
***?\note?To?most?C++?programmers?the?syntax?of?the?binding?code?found?in?this
***?file?may?be?very?unfamiliar?and?obtuse.?Refer?to?the?Luabind?documentation
***?as?necessary?to?gain?an?understanding?of?this?code?style.
***?**************************************************************************/
#include?“utils.h“
#include?“defs.h“
#include?“script.h“
using?namespace?luabind;
namespace?hoa_defs?{
void?BindUtilsToLua()?{
//?----------?Bind?Util?Functions
{
module(hoa_script::scriptManager->GetGlobalState()?“hoa_utils“)
[
def(“RandomFloat“?(float(*)(void))?&hoa_utils::RandomFloat)
];
module(hoa_script::scriptManager->GetGlobalState()?“hoa_utils“)
[
def(“RandomBoundedInteger“?&hoa_utils::RandomBoundedInteger)
];
}
}?//?void?BindEngineToLua()
}?//?namespace?hoa_defs
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
????.......?????28917??2010-09-29?09:32??類似最終幻想的2D單機RPG游戲源碼\RPG\.deps\audio.Po
????.......?????25038??2010-09-29?09:32??類似最終幻想的2D單機RPG游戲源碼\RPG\.deps\audio_desc
????.......?????24980??2010-09-29?09:32??類似最終幻想的2D單機RPG游戲源碼\RPG\.deps\audio_effects.Po
????.......?????25751??2010-09-29?09:32??類似最終幻想的2D單機RPG游戲源碼\RPG\.deps\audio_input.Po
????.......?????24833??2010-09-29?09:32??類似最終幻想的2D單機RPG游戲源碼\RPG\.deps\audio_stream.Po
????.......????107349??2010-09-29?09:34??類似最終幻想的2D單機RPG游戲源碼\RPG\.deps\battle.Po
????.......????106653??2010-09-29?09:34??類似最終幻想的2D單機RPG游戲源碼\RPG\.deps\battle_actions.Po
????.......????106837??2010-09-29?09:34??類似最終幻想的2D單機RPG游戲源碼\RPG\.deps\battle_actors.Po
????.......????107188??2010-09-29?09:35??類似最終幻想的2D單機RPG游戲源碼\RPG\.deps\battle_command.Po
????.......????106656??2010-09-29?09:35??類似最終幻想的2D單機RPG游戲源碼\RPG\.deps\battle_effects.Po
????.......????105422??2010-09-29?09:35??類似最終幻想的2D單機RPG游戲源碼\RPG\.deps\battle_events.Po
????.......????107353??2010-09-29?09:35??類似最終幻想的2D單機RPG游戲源碼\RPG\.deps\battle_finish.Po
????.......????106665??2010-09-29?09:35??類似最終幻想的2D單機RPG游戲源碼\RPG\.deps\battle_indicators.Po
????.......????106573??2010-09-29?09:35??類似最終幻想的2D單機RPG游戲源碼\RPG\.deps\battle_utils.Po
????.......????107402??2010-09-29?09:35??類似最終幻想的2D單機RPG游戲源碼\RPG\.deps\boot.Po
????.......????105211??2010-09-29?09:35??類似最終幻想的2D單機RPG游戲源碼\RPG\.deps\boot_credits.Po
????.......????105774??2010-09-29?09:35??類似最終幻想的2D單機RPG游戲源碼\RPG\.deps\boot_menu.Po
????.......?????31168??2010-09-29?09:35??類似最終幻想的2D單機RPG游戲源碼\RPG\.deps\boot_welcome.Po
????.......?????90120??2010-09-29?09:31??類似最終幻想的2D單機RPG游戲源碼\RPG\.deps\class.Po
????.......?????85108??2010-09-29?09:31??類似最終幻想的2D單機RPG游戲源碼\RPG\.deps\class_info.Po
????.......?????85041??2010-09-29?09:31??類似最終幻想的2D單機RPG游戲源碼\RPG\.deps\class_registry.Po
????.......?????85228??2010-09-29?09:32??類似最終幻想的2D單機RPG游戲源碼\RPG\.deps\class_rep.Po
????.......?????85037??2010-09-29?09:32??類似最終幻想的2D單機RPG游戲源碼\RPG\.deps\create_class.Po
????.......?????97428??2010-09-29?09:31??類似最終幻想的2D單機RPG游戲源碼\RPG\.deps\defs.Po
????.......????106002??2010-09-29?09:32??類似最終幻想的2D單機RPG游戲源碼\RPG\.deps\defs_engine.Po
????.......????104781??2010-09-29?09:34??類似最終幻想的2D單機RPG游戲源碼\RPG\.deps\defs_global.Po
????.......????108057??2010-09-29?09:34??類似最終幻想的2D單機RPG游戲源碼\RPG\.deps\defs_modes.Po
????.......????166302??2010-09-29?09:38??類似最終幻想的2D單機RPG游戲源碼\RPG\.deps\dialog_boxes.moc.Po
????.......????166291??2010-09-29?09:37??類似最終幻想的2D單機RPG游戲源碼\RPG\.deps\dialog_boxes.Po
????.......????166287??2010-09-29?09:38??類似最終幻想的2D單機RPG游戲源碼\RPG\.deps\editor.moc.Po
............此處省略1091個文件信息
評論
共有 條評論