摘要: //其他初始化init_prop();//初始化道具init_ornamemtal();//初始化装饰物init_monster_type_info();//初始化怪物基本信息这个比较重要在加载NPC时会用到这些基本信息的储存在m_monster_type_infos[mo_type_info.nB... 阅读全文
posted @ 2014-08-29 23:41 zzyoucan 阅读(253) 评论(0) 推荐(0) 编辑
摘要: init_map(res_path)1.初始化mapbase的基本信息pos2d screen_area = {1000, 600}; //普通屏幕大小m_spBase->init(screen_area.x / 3, screen_area.y / 3 , //屏幕划分成3*3格子 hea... 阅读全文
posted @ 2014-08-29 23:22 zzyoucan 阅读(1155) 评论(0) 推荐(0) 编辑
摘要: init_timer(); //各种定时器的初始化void Map::init_timer(){ //auto tf = GetPlug(TimerFactory); auto tf = m_spTimerFactory; m_updateMovePosTimer.reset... 阅读全文
posted @ 2014-08-29 22:37 zzyoucan 阅读(627) 评论(0) 推荐(0) 编辑