道具部分完成,bug修复

This commit is contained in:
ozg
2014-04-14 00:26:26 +08:00
parent 241e597718
commit eaecd1919e
31 changed files with 780 additions and 177 deletions
+7 -1
View File
@@ -15,7 +15,7 @@
#include "SimpleAudioEngine.h"
#include "CppSQLite3.h"
#include "GameCfg.h"
#include "RPGConfirmLayer.h"
#include "RPGDialogLayer.h"
#include "RPGData.h"
USING_NS_CC;
@@ -27,6 +27,12 @@ using namespace CocosDenshion;
//获取player列表
#define PLAYER_QUERY "select * from player order by id asc"
//获取save_data数据
#define SAVEDATA_QUERY "select * from save_data where id = 1"
//查询现有道具
#define ITEMS_QUERY "select * from items where id in(%s) order by id asc"
//技能的属性
enum RPGSkillAttr
{