类似最终幻想的复古2D单机RPG游戏 C++源码


类似最终幻想的复古2D单机RPG游戏 C++源码 类似最终幻想的复古2D单机RPG游戏源码,国外大牛写的,一款单人角色扮演游戏,玩法比较复古,需要玩家接收各种任务,探索各个未知场景,回合制战斗模式,各项功能都比较齐全,支持windows、linux、OS X,对开发复古类RPG游戏开发的很有参考价值。
资源截图
代码片段和文件信息
///////////////////////////////////////////////////////////////////////////////
//            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
*** rief   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.
***
*** 
ote 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.depsaudio.Po

    .......     25038  2010-09-29 09:32  类似最终幻想的2D单机RPG游戏源码RPG.depsaudio_descriptor.Po

    .......     24980  2010-09-29 09:32  类似最终幻想的2D单机RPG游戏源码RPG.depsaudio_effects.Po

    .......     25751  2010-09-29 09:32  类似最终幻想的2D单机RPG游戏源码RPG.depsaudio_input.Po

    .......     24833  2010-09-29 09:32  类似最终幻想的2D单机RPG游戏源码RPG.depsaudio_stream.Po

    .......    107349  2010-09-29 09:34  类似最终幻想的2D单机RPG游戏源码RPG.depsattle.Po

    .......    106653  2010-09-29 09:34  类似最终幻想的2D单机RPG游戏源码RPG.depsattle_actions.Po

    .......    106837  2010-09-29 09:34  类似最终幻想的2D单机RPG游戏源码RPG.depsattle_actors.Po

    .......    107188  2010-09-29 09:35  类似最终幻想的2D单机RPG游戏源码RPG.depsattle_command.Po

    .......    106656  2010-09-29 09:35  类似最终幻想的2D单机RPG游戏源码RPG.depsattle_effects.Po

    .......    105422  2010-09-29 09:35  类似最终幻想的2D单机RPG游戏源码RPG.depsattle_events.Po

    .......    107353  2010-09-29 09:35  类似最终幻想的2D单机RPG游戏源码RPG.depsattle_finish.Po

    .......    106665  2010-09-29 09:35  类似最终幻想的2D单机RPG游戏源码RPG.depsattle_indicators.Po

    .......    106573  2010-09-29 09:35  类似最终幻想的2D单机RPG游戏源码RPG.depsattle_utils.Po

    .......    107402  2010-09-29 09:35  类似最终幻想的2D单机RPG游戏源码RPG.depsoot.Po

    .......    105211  2010-09-29 09:35  类似最终幻想的2D单机RPG游戏源码RPG.depsoot_credits.Po

    .......    105774  2010-09-29 09:35  类似最终幻想的2D单机RPG游戏源码RPG.depsoot_menu.Po

    .......     31168  2010-09-29 09:35  类似最终幻想的2D单机RPG游戏源码RPG.depsoot_welcome.Po

    .......     90120  2010-09-29 09:31  类似最终幻想的2D单机RPG游戏源码RPG.depsclass.Po

    .......     85108  2010-09-29 09:31  类似最终幻想的2D单机RPG游戏源码RPG.depsclass_info.Po

    .......     85041  2010-09-29 09:31  类似最终幻想的2D单机RPG游戏源码RPG.depsclass_registry.Po

    .......     85228  2010-09-29 09:32  类似最终幻想的2D单机RPG游戏源码RPG.depsclass_rep.Po

    .......     85037  2010-09-29 09:32  类似最终幻想的2D单机RPG游戏源码RPG.depscreate_class.Po

    .......     97428  2010-09-29 09:31  类似最终幻想的2D单机RPG游戏源码RPG.depsdefs.Po

    .......    106002  2010-09-29 09:32  类似最终幻想的2D单机RPG游戏源码RPG.depsdefs_engine.Po

    .......    104781  2010-09-29 09:34  类似最终幻想的2D单机RPG游戏源码RPG.depsdefs_global.Po

    .......    108057  2010-09-29 09:34  类似最终幻想的2D单机RPG游戏源码RPG.depsdefs_modes.Po

    .......    166302  2010-09-29 09:38  类似最终幻想的2D单机RPG游戏源码RPG.depsdialog_boxes.moc.Po

    .......    166291  2010-09-29 09:37  类似最终幻想的2D单机RPG游戏源码RPG.depsdialog_boxes.Po

    .......    166287  2010-09-29 09:38  类似最终幻想的2D单机RPG游戏源码RPG.depseditor.moc.Po

............此处省略1091个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)