tileMatch_ui.cpp 43 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229
  1. // ---------------------------------------
  2. // Sprite definitions for tileMatch_ui
  3. // Generated with TexturePacker 7.1.0
  4. //
  5. // https://www.codeandweb.com/texturepacker
  6. // ---------------------------------------
  7. #include "tileMatch_ui.hpp"
  8. USING_NS_CC;
  9. namespace TexturePacker
  10. {
  11. void TileMatch_ui::addSpriteFramesToCache()
  12. {
  13. SpriteFrameCache *cache = SpriteFrameCache::getInstance();
  14. cache->addSpriteFramesWithFile("tileMatch_ui.plist");
  15. };
  16. void TileMatch_ui::removeSpriteFramesFromCache()
  17. {
  18. SpriteFrameCache *cache = SpriteFrameCache::getInstance();
  19. cache->removeSpriteFramesFromFile("tileMatch_ui.plist");
  20. };
  21. // ---------------------
  22. // sprite name constants
  23. // ---------------------
  24. const std::string TileMatch_ui::claw_1 = "claw_1.png";
  25. const std::string TileMatch_ui::claw_1_2 = "claw_1_2.png";
  26. const std::string TileMatch_ui::claw_2 = "claw_2.png";
  27. const std::string TileMatch_ui::claw_3 = "claw_3.png";
  28. const std::string TileMatch_ui::claw_4 = "claw_4.png";
  29. const std::string TileMatch_ui::claw_5 = "claw_5.png";
  30. const std::string TileMatch_ui::claw_fly_01 = "claw_fly_01.png";
  31. const std::string TileMatch_ui::claw_fly_19 = "claw_fly_19.png";
  32. const std::string TileMatch_ui::claw_fly_21 = "claw_fly_21.png";
  33. const std::string TileMatch_ui::claw_fly_25 = "claw_fly_25.png";
  34. const std::string TileMatch_ui::claw_fly_26 = "claw_fly_26.png";
  35. const std::string TileMatch_ui::claw_fly_efc = "claw_fly_efc.png";
  36. const std::string TileMatch_ui::g_bg_down_dark = "g_bg_down_dark.png";
  37. const std::string TileMatch_ui::g_big_star = "g_big_star.png";
  38. const std::string TileMatch_ui::g_btn_add = "g_btn_add.png";
  39. const std::string TileMatch_ui::g_btn_c_blue_1 = "g_btn_c_blue_1.png";
  40. const std::string TileMatch_ui::g_btn_c_green_1 = "g_btn_c_green_1.png";
  41. const std::string TileMatch_ui::g_btn_c_red_1 = "g_btn_c_red_1.png";
  42. const std::string TileMatch_ui::g_btn_c_stroke = "g_btn_c_stroke.png";
  43. const std::string TileMatch_ui::g_btn_item_hard_lock = "g_btn_item_hard_lock.png";
  44. const std::string TileMatch_ui::g_btn_item_hard_unlock = "g_btn_item_hard_unlock.png";
  45. const std::string TileMatch_ui::g_btn_item_money = "g_btn_item_money.png";
  46. const std::string TileMatch_ui::g_btn_item_pur_lock = "g_btn_item_pur_lock.png";
  47. const std::string TileMatch_ui::g_btn_item_pur_unlock = "g_btn_item_pur_unlock.png";
  48. const std::string TileMatch_ui::g_btn_item_unlock = "g_btn_item_unlock.png";
  49. const std::string TileMatch_ui::g_btn_l_highlight = "g_btn_l_highlight.png";
  50. const std::string TileMatch_ui::g_caidai_1 = "g_caidai_1.png";
  51. const std::string TileMatch_ui::g_caidai_2 = "g_caidai_2.png";
  52. const std::string TileMatch_ui::g_charge_slider_bg_2 = "g_charge_slider_bg_2.png";
  53. const std::string TileMatch_ui::g_charge_slider_fill_2 = "g_charge_slider_fill_2.png";
  54. const std::string TileMatch_ui::g_collect_2 = "g_collect_2.png";
  55. const std::string TileMatch_ui::g_collect_3 = "g_collect_3.png";
  56. const std::string TileMatch_ui::g_collect_add_text = "g_collect_add_text.png";
  57. const std::string TileMatch_ui::g_efx_Iyxing = "g_efx_Iyxing.png";
  58. const std::string TileMatch_ui::g_efx_Iyxing2 = "g_efx_Iyxing2.png";
  59. const std::string TileMatch_ui::g_efx_Iyxing3 = "g_efx_Iyxing3.png";
  60. const std::string TileMatch_ui::g_fx_star_1 = "g_fx_star_1.png";
  61. const std::string TileMatch_ui::g_fx_star_2 = "g_fx_star_2.png";
  62. const std::string TileMatch_ui::g_golden_fx_1 = "g_golden_fx_1.png";
  63. const std::string TileMatch_ui::g_golden_fx_2 = "g_golden_fx_2.png";
  64. const std::string TileMatch_ui::g_golden_fx_3 = "g_golden_fx_3.png";
  65. const std::string TileMatch_ui::g_golden_fx_4 = "g_golden_fx_4.png";
  66. const std::string TileMatch_ui::g_golden_fx_5 = "g_golden_fx_5.png";
  67. const std::string TileMatch_ui::g_golden_fx_6 = "g_golden_fx_6.png";
  68. const std::string TileMatch_ui::g_golden_fx_7 = "g_golden_fx_7.png";
  69. const std::string TileMatch_ui::g_guide_tips_1 = "g_guide_tips_1.png";
  70. const std::string TileMatch_ui::g_guide_woman_1 = "g_guide_woman_1.png";
  71. const std::string TileMatch_ui::g_guide_woman_2 = "g_guide_woman_2.png";
  72. const std::string TileMatch_ui::g_icon_Fail_bg = "g_icon_ fail_bg.png";
  73. const std::string TileMatch_ui::g_icon_Fail_withdraw = "g_icon_ fail_withdraw.png";
  74. const std::string TileMatch_ui::g_icon_Item_lock = "g_icon_ item_lock.png";
  75. const std::string TileMatch_ui::g_icon_ads = "g_icon_ads.png";
  76. const std::string TileMatch_ui::g_icon_exit = "g_icon_exit.png";
  77. const std::string TileMatch_ui::g_icon_gold = "g_icon_gold.png";
  78. const std::string TileMatch_ui::g_icon_infinite = "g_icon_infinite.png";
  79. const std::string TileMatch_ui::g_icon_item_bg = "g_icon_item_bg.png";
  80. const std::string TileMatch_ui::g_icon_item_num_bottom = "g_icon_item_num_bottom.png";
  81. const std::string TileMatch_ui::g_icon_music_off = "g_icon_music_off.png";
  82. const std::string TileMatch_ui::g_icon_music_on = "g_icon_music_on.png";
  83. const std::string TileMatch_ui::g_icon_set = "g_icon_set.png";
  84. const std::string TileMatch_ui::g_icon_set_bg = "g_icon_set_bg.png";
  85. const std::string TileMatch_ui::g_icon_sound_off = "g_icon_sound_off.png";
  86. const std::string TileMatch_ui::g_icon_sound_on = "g_icon_sound_on.png";
  87. const std::string TileMatch_ui::g_icon_vib_off = "g_icon_vib_off.png";
  88. const std::string TileMatch_ui::g_icon_vib_on = "g_icon_vib_on.png";
  89. const std::string TileMatch_ui::g_in_booster_3 = "g_in_booster_3.png";
  90. const std::string TileMatch_ui::g_light_1 = "g_light_1.png";
  91. const std::string TileMatch_ui::g_light_2 = "g_light_2.png";
  92. const std::string TileMatch_ui::g_light_3 = "g_light_3.png";
  93. const std::string TileMatch_ui::g_light_4 = "g_light_4.png";
  94. const std::string TileMatch_ui::g_magnet_flash = "g_magnet_flash.png";
  95. const std::string TileMatch_ui::g_outside_time_bg = "g_outside_time_bg.png";
  96. const std::string TileMatch_ui::g_pass_tips_2 = "g_pass_tips_2.png";
  97. const std::string TileMatch_ui::g_prop_1 = "g_prop_1.png";
  98. const std::string TileMatch_ui::g_prop_1_lock = "g_prop_1_lock.png";
  99. const std::string TileMatch_ui::g_prop_2 = "g_prop_2.png";
  100. const std::string TileMatch_ui::g_prop_2_lock = "g_prop_2_lock.png";
  101. const std::string TileMatch_ui::g_prop_2_lock_spine = "g_prop_2_lock_spine.png";
  102. const std::string TileMatch_ui::g_prop_3 = "g_prop_3.png";
  103. const std::string TileMatch_ui::g_prop_3_lock = "g_prop_3_lock.png";
  104. const std::string TileMatch_ui::g_prop_4 = "g_prop_4.png";
  105. const std::string TileMatch_ui::g_prop_4_lock = "g_prop_4_lock.png";
  106. const std::string TileMatch_ui::g_puppy_icon = "g_puppy_icon.png";
  107. const std::string TileMatch_ui::g_puppy_pic = "g_puppy_pic.png";
  108. const std::string TileMatch_ui::g_slider_bg = "g_slider_bg.png";
  109. const std::string TileMatch_ui::g_slider_fill = "g_slider_fill.png";
  110. const std::string TileMatch_ui::g_star_guang_1 = "g_star_guang_1.png";
  111. const std::string TileMatch_ui::g_star_guang_2 = "g_star_guang_2.png";
  112. const std::string TileMatch_ui::g_star_guang_3 = "g_star_guang_3.png";
  113. const std::string TileMatch_ui::g_three_golden_1 = "g_three_golden_1.png";
  114. const std::string TileMatch_ui::g_three_golden_2 = "g_three_golden_2.png";
  115. const std::string TileMatch_ui::g_three_reward_icon = "g_three_reward_icon.png";
  116. const std::string TileMatch_ui::g_three_shadow_1 = "g_three_shadow_1.png";
  117. const std::string TileMatch_ui::g_three_shadow_2 = "g_three_shadow_2.png";
  118. const std::string TileMatch_ui::g_three_silver_1 = "g_three_silver_1.png";
  119. const std::string TileMatch_ui::g_three_silver_2 = "g_three_silver_2.png";
  120. const std::string TileMatch_ui::g_three_woodden_11 = "g_three_woodden_1 1.png";
  121. const std::string TileMatch_ui::g_three_woodden_2 = "g_three_woodden_2.png";
  122. const std::string TileMatch_ui::g_three_woodden_open_1 = "g_three_woodden_open_1.png";
  123. const std::string TileMatch_ui::g_three_woodden_open_2 = "g_three_woodden_open_2.png";
  124. const std::string TileMatch_ui::g_three_woodden_open_3 = "g_three_woodden_open_3.png";
  125. const std::string TileMatch_ui::g_tx_wind2 = "g_tx_wind2.png";
  126. const std::string TileMatch_ui::g_wintitle_10 = "g_wintitle_10.png";
  127. const std::string TileMatch_ui::g_wintitle_11 = "g_wintitle_11.png";
  128. const std::string TileMatch_ui::g_wintitle_12 = "g_wintitle_12.png";
  129. const std::string TileMatch_ui::g_wintitle_13 = "g_wintitle_13.png";
  130. const std::string TileMatch_ui::g_wintitle_14 = "g_wintitle_14.png";
  131. const std::string TileMatch_ui::g_wintitle_6 = "g_wintitle_6.png";
  132. const std::string TileMatch_ui::g_wintitle_7 = "g_wintitle_7.png";
  133. const std::string TileMatch_ui::g_wintitle_8 = "g_wintitle_8.png";
  134. const std::string TileMatch_ui::g_wintitle_9 = "g_wintitle_9.png";
  135. const std::string TileMatch_ui::g_xiangKuang_g6 = "g_xiangKuang_g6.png";
  136. const std::string TileMatch_ui::g_xiangKuang_liZi_g3 = "g_xiangKuang_liZi_g3.png";
  137. const std::string TileMatch_ui::g_xiangKuang_liZi_g5 = "g_xiangKuang_liZi_g5.png";
  138. const std::string TileMatch_ui::g_xichen_wind = "g_xichen_wind.png";
  139. const std::string TileMatch_ui::game_bar_purple = "game_bar_purple.png";
  140. const std::string TileMatch_ui::game_bar_red = "game_bar_red.png";
  141. const std::string TileMatch_ui::game_bar_warring_2 = "game_bar_warring_2.png";
  142. const std::string TileMatch_ui::game_clock = "game_clock.png";
  143. const std::string TileMatch_ui::game_hand = "game_hand.png";
  144. const std::string TileMatch_ui::game_outside_add_icon = "game_outside_add_icon.png";
  145. const std::string TileMatch_ui::game_outside_slect_icon = "game_outside_slect_icon.png";
  146. const std::string TileMatch_ui::game_prop_10 = "game_prop_10.png";
  147. const std::string TileMatch_ui::game_prop_12 = "game_prop_12.png";
  148. const std::string TileMatch_ui::game_prop_13 = "game_prop_13.png";
  149. const std::string TileMatch_ui::game_prop_8 = "game_prop_8.png";
  150. const std::string TileMatch_ui::game_prop_9 = "game_prop_9.png";
  151. const std::string TileMatch_ui::game_ui_speci_btn = "game_ui_speci_btn.png";
  152. const std::string TileMatch_ui::game_whiter_bg = "game_whiter_bg.png";
  153. const std::string TileMatch_ui::goodsStory = "GoodsStory_按钮内容_关闭_红色.png";
  154. const std::string TileMatch_ui::goodsStory__1 = "GoodsStory_进度条1_绿.png";
  155. const std::string TileMatch_ui::goodsStory__2 = "GoodsStory_进度条2_绿.png";
  156. const std::string TileMatch_ui::goodsStory__3 = "GoodsStory_关闭按钮3.png";
  157. const std::string TileMatch_ui::goodsStory____1 = "GoodsStory_按钮基底_剧情关卡按钮光1.png";
  158. const std::string TileMatch_ui::goodsStory_____1 = "GoodsStory_按钮基底_难度游戏按钮_1.png";
  159. const std::string TileMatch_ui::goodsStory_____2 = "GoodsStory_按钮基底_难度游戏按钮_2.png";
  160. const std::string TileMatch_ui::goodsStory______UI = "GoodsStory_卡片收集系统_弹窗_破碎卡片UI.png";
  161. const std::string TileMatch_ui::goodsStory___congratulation = "GoodsStory_文本标题_congratulation.png";
  162. const std::string TileMatch_ui::goodsStory___goods = "GoodsStory_游戏图例_goods.png";
  163. const std::string TileMatch_ui::gwMain_star6 = "gw-main_star6.png";
  164. const std::string TileMatch_ui::match_outside_blue = "match_outside_blue.png";
  165. const std::string TileMatch_ui::match_outside_green = "match_outside_green.png";
  166. const std::string TileMatch_ui::plus_blue_banner_icon = "plus_blue_banner_icon.png";
  167. const std::string TileMatch_ui::plus_moves_icon = "plus_moves_icon.png";
  168. const std::string TileMatch_ui::plus_red_banner_icon = "plus_red_banner_icon.png";
  169. const std::string TileMatch_ui::ui_fail_frame = "ui_fail_frame.png";
  170. const std::string TileMatch_ui::ui_fail_life = "ui_fail_life.png";
  171. const std::string TileMatch_ui::ui_text_bg = "ui_text_bg.png";
  172. // ---------------------------------------------------------
  173. // convenience functions returing pointers to Sprite objects
  174. // ---------------------------------------------------------
  175. Sprite* TileMatch_ui::createClaw_1Sprite()
  176. {
  177. return Sprite::createWithSpriteFrameName(claw_1);
  178. }
  179. Sprite* TileMatch_ui::createClaw_1_2Sprite()
  180. {
  181. return Sprite::createWithSpriteFrameName(claw_1_2);
  182. }
  183. Sprite* TileMatch_ui::createClaw_2Sprite()
  184. {
  185. return Sprite::createWithSpriteFrameName(claw_2);
  186. }
  187. Sprite* TileMatch_ui::createClaw_3Sprite()
  188. {
  189. return Sprite::createWithSpriteFrameName(claw_3);
  190. }
  191. Sprite* TileMatch_ui::createClaw_4Sprite()
  192. {
  193. return Sprite::createWithSpriteFrameName(claw_4);
  194. }
  195. Sprite* TileMatch_ui::createClaw_5Sprite()
  196. {
  197. return Sprite::createWithSpriteFrameName(claw_5);
  198. }
  199. Sprite* TileMatch_ui::createClaw_fly_01Sprite()
  200. {
  201. return Sprite::createWithSpriteFrameName(claw_fly_01);
  202. }
  203. Sprite* TileMatch_ui::createClaw_fly_19Sprite()
  204. {
  205. return Sprite::createWithSpriteFrameName(claw_fly_19);
  206. }
  207. Sprite* TileMatch_ui::createClaw_fly_21Sprite()
  208. {
  209. return Sprite::createWithSpriteFrameName(claw_fly_21);
  210. }
  211. Sprite* TileMatch_ui::createClaw_fly_25Sprite()
  212. {
  213. return Sprite::createWithSpriteFrameName(claw_fly_25);
  214. }
  215. Sprite* TileMatch_ui::createClaw_fly_26Sprite()
  216. {
  217. return Sprite::createWithSpriteFrameName(claw_fly_26);
  218. }
  219. Sprite* TileMatch_ui::createClaw_fly_efcSprite()
  220. {
  221. return Sprite::createWithSpriteFrameName(claw_fly_efc);
  222. }
  223. Sprite* TileMatch_ui::createG_bg_down_darkSprite()
  224. {
  225. return Sprite::createWithSpriteFrameName(g_bg_down_dark);
  226. }
  227. Sprite* TileMatch_ui::createG_big_starSprite()
  228. {
  229. return Sprite::createWithSpriteFrameName(g_big_star);
  230. }
  231. Sprite* TileMatch_ui::createG_btn_addSprite()
  232. {
  233. return Sprite::createWithSpriteFrameName(g_btn_add);
  234. }
  235. Sprite* TileMatch_ui::createG_btn_c_blue_1Sprite()
  236. {
  237. return Sprite::createWithSpriteFrameName(g_btn_c_blue_1);
  238. }
  239. Sprite* TileMatch_ui::createG_btn_c_green_1Sprite()
  240. {
  241. return Sprite::createWithSpriteFrameName(g_btn_c_green_1);
  242. }
  243. Sprite* TileMatch_ui::createG_btn_c_red_1Sprite()
  244. {
  245. return Sprite::createWithSpriteFrameName(g_btn_c_red_1);
  246. }
  247. Sprite* TileMatch_ui::createG_btn_c_strokeSprite()
  248. {
  249. return Sprite::createWithSpriteFrameName(g_btn_c_stroke);
  250. }
  251. Sprite* TileMatch_ui::createG_btn_item_hard_lockSprite()
  252. {
  253. return Sprite::createWithSpriteFrameName(g_btn_item_hard_lock);
  254. }
  255. Sprite* TileMatch_ui::createG_btn_item_hard_unlockSprite()
  256. {
  257. return Sprite::createWithSpriteFrameName(g_btn_item_hard_unlock);
  258. }
  259. Sprite* TileMatch_ui::createG_btn_item_moneySprite()
  260. {
  261. return Sprite::createWithSpriteFrameName(g_btn_item_money);
  262. }
  263. Sprite* TileMatch_ui::createG_btn_item_pur_lockSprite()
  264. {
  265. return Sprite::createWithSpriteFrameName(g_btn_item_pur_lock);
  266. }
  267. Sprite* TileMatch_ui::createG_btn_item_pur_unlockSprite()
  268. {
  269. return Sprite::createWithSpriteFrameName(g_btn_item_pur_unlock);
  270. }
  271. Sprite* TileMatch_ui::createG_btn_item_unlockSprite()
  272. {
  273. return Sprite::createWithSpriteFrameName(g_btn_item_unlock);
  274. }
  275. Sprite* TileMatch_ui::createG_btn_l_highlightSprite()
  276. {
  277. return Sprite::createWithSpriteFrameName(g_btn_l_highlight);
  278. }
  279. Sprite* TileMatch_ui::createG_caidai_1Sprite()
  280. {
  281. return Sprite::createWithSpriteFrameName(g_caidai_1);
  282. }
  283. Sprite* TileMatch_ui::createG_caidai_2Sprite()
  284. {
  285. return Sprite::createWithSpriteFrameName(g_caidai_2);
  286. }
  287. Sprite* TileMatch_ui::createG_charge_slider_bg_2Sprite()
  288. {
  289. return Sprite::createWithSpriteFrameName(g_charge_slider_bg_2);
  290. }
  291. Sprite* TileMatch_ui::createG_charge_slider_fill_2Sprite()
  292. {
  293. return Sprite::createWithSpriteFrameName(g_charge_slider_fill_2);
  294. }
  295. Sprite* TileMatch_ui::createG_collect_2Sprite()
  296. {
  297. return Sprite::createWithSpriteFrameName(g_collect_2);
  298. }
  299. Sprite* TileMatch_ui::createG_collect_3Sprite()
  300. {
  301. return Sprite::createWithSpriteFrameName(g_collect_3);
  302. }
  303. Sprite* TileMatch_ui::createG_collect_add_textSprite()
  304. {
  305. return Sprite::createWithSpriteFrameName(g_collect_add_text);
  306. }
  307. Sprite* TileMatch_ui::createG_efx_IyxingSprite()
  308. {
  309. return Sprite::createWithSpriteFrameName(g_efx_Iyxing);
  310. }
  311. Sprite* TileMatch_ui::createG_efx_Iyxing2Sprite()
  312. {
  313. return Sprite::createWithSpriteFrameName(g_efx_Iyxing2);
  314. }
  315. Sprite* TileMatch_ui::createG_efx_Iyxing3Sprite()
  316. {
  317. return Sprite::createWithSpriteFrameName(g_efx_Iyxing3);
  318. }
  319. Sprite* TileMatch_ui::createG_fx_star_1Sprite()
  320. {
  321. return Sprite::createWithSpriteFrameName(g_fx_star_1);
  322. }
  323. Sprite* TileMatch_ui::createG_fx_star_2Sprite()
  324. {
  325. return Sprite::createWithSpriteFrameName(g_fx_star_2);
  326. }
  327. Sprite* TileMatch_ui::createG_golden_fx_1Sprite()
  328. {
  329. return Sprite::createWithSpriteFrameName(g_golden_fx_1);
  330. }
  331. Sprite* TileMatch_ui::createG_golden_fx_2Sprite()
  332. {
  333. return Sprite::createWithSpriteFrameName(g_golden_fx_2);
  334. }
  335. Sprite* TileMatch_ui::createG_golden_fx_3Sprite()
  336. {
  337. return Sprite::createWithSpriteFrameName(g_golden_fx_3);
  338. }
  339. Sprite* TileMatch_ui::createG_golden_fx_4Sprite()
  340. {
  341. return Sprite::createWithSpriteFrameName(g_golden_fx_4);
  342. }
  343. Sprite* TileMatch_ui::createG_golden_fx_5Sprite()
  344. {
  345. return Sprite::createWithSpriteFrameName(g_golden_fx_5);
  346. }
  347. Sprite* TileMatch_ui::createG_golden_fx_6Sprite()
  348. {
  349. return Sprite::createWithSpriteFrameName(g_golden_fx_6);
  350. }
  351. Sprite* TileMatch_ui::createG_golden_fx_7Sprite()
  352. {
  353. return Sprite::createWithSpriteFrameName(g_golden_fx_7);
  354. }
  355. Sprite* TileMatch_ui::createG_guide_tips_1Sprite()
  356. {
  357. return Sprite::createWithSpriteFrameName(g_guide_tips_1);
  358. }
  359. Sprite* TileMatch_ui::createG_guide_woman_1Sprite()
  360. {
  361. return Sprite::createWithSpriteFrameName(g_guide_woman_1);
  362. }
  363. Sprite* TileMatch_ui::createG_guide_woman_2Sprite()
  364. {
  365. return Sprite::createWithSpriteFrameName(g_guide_woman_2);
  366. }
  367. Sprite* TileMatch_ui::createG_icon_Fail_bgSprite()
  368. {
  369. return Sprite::createWithSpriteFrameName(g_icon_Fail_bg);
  370. }
  371. Sprite* TileMatch_ui::createG_icon_Fail_withdrawSprite()
  372. {
  373. return Sprite::createWithSpriteFrameName(g_icon_Fail_withdraw);
  374. }
  375. Sprite* TileMatch_ui::createG_icon_Item_lockSprite()
  376. {
  377. return Sprite::createWithSpriteFrameName(g_icon_Item_lock);
  378. }
  379. Sprite* TileMatch_ui::createG_icon_adsSprite()
  380. {
  381. return Sprite::createWithSpriteFrameName(g_icon_ads);
  382. }
  383. Sprite* TileMatch_ui::createG_icon_exitSprite()
  384. {
  385. return Sprite::createWithSpriteFrameName(g_icon_exit);
  386. }
  387. Sprite* TileMatch_ui::createG_icon_goldSprite()
  388. {
  389. return Sprite::createWithSpriteFrameName(g_icon_gold);
  390. }
  391. Sprite* TileMatch_ui::createG_icon_infiniteSprite()
  392. {
  393. return Sprite::createWithSpriteFrameName(g_icon_infinite);
  394. }
  395. Sprite* TileMatch_ui::createG_icon_item_bgSprite()
  396. {
  397. return Sprite::createWithSpriteFrameName(g_icon_item_bg);
  398. }
  399. Sprite* TileMatch_ui::createG_icon_item_num_bottomSprite()
  400. {
  401. return Sprite::createWithSpriteFrameName(g_icon_item_num_bottom);
  402. }
  403. Sprite* TileMatch_ui::createG_icon_music_offSprite()
  404. {
  405. return Sprite::createWithSpriteFrameName(g_icon_music_off);
  406. }
  407. Sprite* TileMatch_ui::createG_icon_music_onSprite()
  408. {
  409. return Sprite::createWithSpriteFrameName(g_icon_music_on);
  410. }
  411. Sprite* TileMatch_ui::createG_icon_setSprite()
  412. {
  413. return Sprite::createWithSpriteFrameName(g_icon_set);
  414. }
  415. Sprite* TileMatch_ui::createG_icon_set_bgSprite()
  416. {
  417. return Sprite::createWithSpriteFrameName(g_icon_set_bg);
  418. }
  419. Sprite* TileMatch_ui::createG_icon_sound_offSprite()
  420. {
  421. return Sprite::createWithSpriteFrameName(g_icon_sound_off);
  422. }
  423. Sprite* TileMatch_ui::createG_icon_sound_onSprite()
  424. {
  425. return Sprite::createWithSpriteFrameName(g_icon_sound_on);
  426. }
  427. Sprite* TileMatch_ui::createG_icon_vib_offSprite()
  428. {
  429. return Sprite::createWithSpriteFrameName(g_icon_vib_off);
  430. }
  431. Sprite* TileMatch_ui::createG_icon_vib_onSprite()
  432. {
  433. return Sprite::createWithSpriteFrameName(g_icon_vib_on);
  434. }
  435. Sprite* TileMatch_ui::createG_in_booster_3Sprite()
  436. {
  437. return Sprite::createWithSpriteFrameName(g_in_booster_3);
  438. }
  439. Sprite* TileMatch_ui::createG_light_1Sprite()
  440. {
  441. return Sprite::createWithSpriteFrameName(g_light_1);
  442. }
  443. Sprite* TileMatch_ui::createG_light_2Sprite()
  444. {
  445. return Sprite::createWithSpriteFrameName(g_light_2);
  446. }
  447. Sprite* TileMatch_ui::createG_light_3Sprite()
  448. {
  449. return Sprite::createWithSpriteFrameName(g_light_3);
  450. }
  451. Sprite* TileMatch_ui::createG_light_4Sprite()
  452. {
  453. return Sprite::createWithSpriteFrameName(g_light_4);
  454. }
  455. Sprite* TileMatch_ui::createG_magnet_flashSprite()
  456. {
  457. return Sprite::createWithSpriteFrameName(g_magnet_flash);
  458. }
  459. Sprite* TileMatch_ui::createG_outside_time_bgSprite()
  460. {
  461. return Sprite::createWithSpriteFrameName(g_outside_time_bg);
  462. }
  463. Sprite* TileMatch_ui::createG_pass_tips_2Sprite()
  464. {
  465. return Sprite::createWithSpriteFrameName(g_pass_tips_2);
  466. }
  467. Sprite* TileMatch_ui::createG_prop_1Sprite()
  468. {
  469. return Sprite::createWithSpriteFrameName(g_prop_1);
  470. }
  471. Sprite* TileMatch_ui::createG_prop_1_lockSprite()
  472. {
  473. return Sprite::createWithSpriteFrameName(g_prop_1_lock);
  474. }
  475. Sprite* TileMatch_ui::createG_prop_2Sprite()
  476. {
  477. return Sprite::createWithSpriteFrameName(g_prop_2);
  478. }
  479. Sprite* TileMatch_ui::createG_prop_2_lockSprite()
  480. {
  481. return Sprite::createWithSpriteFrameName(g_prop_2_lock);
  482. }
  483. Sprite* TileMatch_ui::createG_prop_2_lock_spineSprite()
  484. {
  485. return Sprite::createWithSpriteFrameName(g_prop_2_lock_spine);
  486. }
  487. Sprite* TileMatch_ui::createG_prop_3Sprite()
  488. {
  489. return Sprite::createWithSpriteFrameName(g_prop_3);
  490. }
  491. Sprite* TileMatch_ui::createG_prop_3_lockSprite()
  492. {
  493. return Sprite::createWithSpriteFrameName(g_prop_3_lock);
  494. }
  495. Sprite* TileMatch_ui::createG_prop_4Sprite()
  496. {
  497. return Sprite::createWithSpriteFrameName(g_prop_4);
  498. }
  499. Sprite* TileMatch_ui::createG_prop_4_lockSprite()
  500. {
  501. return Sprite::createWithSpriteFrameName(g_prop_4_lock);
  502. }
  503. Sprite* TileMatch_ui::createG_puppy_iconSprite()
  504. {
  505. return Sprite::createWithSpriteFrameName(g_puppy_icon);
  506. }
  507. Sprite* TileMatch_ui::createG_puppy_picSprite()
  508. {
  509. return Sprite::createWithSpriteFrameName(g_puppy_pic);
  510. }
  511. Sprite* TileMatch_ui::createG_slider_bgSprite()
  512. {
  513. return Sprite::createWithSpriteFrameName(g_slider_bg);
  514. }
  515. Sprite* TileMatch_ui::createG_slider_fillSprite()
  516. {
  517. return Sprite::createWithSpriteFrameName(g_slider_fill);
  518. }
  519. Sprite* TileMatch_ui::createG_star_guang_1Sprite()
  520. {
  521. return Sprite::createWithSpriteFrameName(g_star_guang_1);
  522. }
  523. Sprite* TileMatch_ui::createG_star_guang_2Sprite()
  524. {
  525. return Sprite::createWithSpriteFrameName(g_star_guang_2);
  526. }
  527. Sprite* TileMatch_ui::createG_star_guang_3Sprite()
  528. {
  529. return Sprite::createWithSpriteFrameName(g_star_guang_3);
  530. }
  531. Sprite* TileMatch_ui::createG_three_golden_1Sprite()
  532. {
  533. return Sprite::createWithSpriteFrameName(g_three_golden_1);
  534. }
  535. Sprite* TileMatch_ui::createG_three_golden_2Sprite()
  536. {
  537. return Sprite::createWithSpriteFrameName(g_three_golden_2);
  538. }
  539. Sprite* TileMatch_ui::createG_three_reward_iconSprite()
  540. {
  541. return Sprite::createWithSpriteFrameName(g_three_reward_icon);
  542. }
  543. Sprite* TileMatch_ui::createG_three_shadow_1Sprite()
  544. {
  545. return Sprite::createWithSpriteFrameName(g_three_shadow_1);
  546. }
  547. Sprite* TileMatch_ui::createG_three_shadow_2Sprite()
  548. {
  549. return Sprite::createWithSpriteFrameName(g_three_shadow_2);
  550. }
  551. Sprite* TileMatch_ui::createG_three_silver_1Sprite()
  552. {
  553. return Sprite::createWithSpriteFrameName(g_three_silver_1);
  554. }
  555. Sprite* TileMatch_ui::createG_three_silver_2Sprite()
  556. {
  557. return Sprite::createWithSpriteFrameName(g_three_silver_2);
  558. }
  559. Sprite* TileMatch_ui::createG_three_woodden_11Sprite()
  560. {
  561. return Sprite::createWithSpriteFrameName(g_three_woodden_11);
  562. }
  563. Sprite* TileMatch_ui::createG_three_woodden_2Sprite()
  564. {
  565. return Sprite::createWithSpriteFrameName(g_three_woodden_2);
  566. }
  567. Sprite* TileMatch_ui::createG_three_woodden_open_1Sprite()
  568. {
  569. return Sprite::createWithSpriteFrameName(g_three_woodden_open_1);
  570. }
  571. Sprite* TileMatch_ui::createG_three_woodden_open_2Sprite()
  572. {
  573. return Sprite::createWithSpriteFrameName(g_three_woodden_open_2);
  574. }
  575. Sprite* TileMatch_ui::createG_three_woodden_open_3Sprite()
  576. {
  577. return Sprite::createWithSpriteFrameName(g_three_woodden_open_3);
  578. }
  579. Sprite* TileMatch_ui::createG_tx_wind2Sprite()
  580. {
  581. return Sprite::createWithSpriteFrameName(g_tx_wind2);
  582. }
  583. Sprite* TileMatch_ui::createG_wintitle_10Sprite()
  584. {
  585. return Sprite::createWithSpriteFrameName(g_wintitle_10);
  586. }
  587. Sprite* TileMatch_ui::createG_wintitle_11Sprite()
  588. {
  589. return Sprite::createWithSpriteFrameName(g_wintitle_11);
  590. }
  591. Sprite* TileMatch_ui::createG_wintitle_12Sprite()
  592. {
  593. return Sprite::createWithSpriteFrameName(g_wintitle_12);
  594. }
  595. Sprite* TileMatch_ui::createG_wintitle_13Sprite()
  596. {
  597. return Sprite::createWithSpriteFrameName(g_wintitle_13);
  598. }
  599. Sprite* TileMatch_ui::createG_wintitle_14Sprite()
  600. {
  601. return Sprite::createWithSpriteFrameName(g_wintitle_14);
  602. }
  603. Sprite* TileMatch_ui::createG_wintitle_6Sprite()
  604. {
  605. return Sprite::createWithSpriteFrameName(g_wintitle_6);
  606. }
  607. Sprite* TileMatch_ui::createG_wintitle_7Sprite()
  608. {
  609. return Sprite::createWithSpriteFrameName(g_wintitle_7);
  610. }
  611. Sprite* TileMatch_ui::createG_wintitle_8Sprite()
  612. {
  613. return Sprite::createWithSpriteFrameName(g_wintitle_8);
  614. }
  615. Sprite* TileMatch_ui::createG_wintitle_9Sprite()
  616. {
  617. return Sprite::createWithSpriteFrameName(g_wintitle_9);
  618. }
  619. Sprite* TileMatch_ui::createG_xiangKuang_g6Sprite()
  620. {
  621. return Sprite::createWithSpriteFrameName(g_xiangKuang_g6);
  622. }
  623. Sprite* TileMatch_ui::createG_xiangKuang_liZi_g3Sprite()
  624. {
  625. return Sprite::createWithSpriteFrameName(g_xiangKuang_liZi_g3);
  626. }
  627. Sprite* TileMatch_ui::createG_xiangKuang_liZi_g5Sprite()
  628. {
  629. return Sprite::createWithSpriteFrameName(g_xiangKuang_liZi_g5);
  630. }
  631. Sprite* TileMatch_ui::createG_xichen_windSprite()
  632. {
  633. return Sprite::createWithSpriteFrameName(g_xichen_wind);
  634. }
  635. Sprite* TileMatch_ui::createGame_bar_purpleSprite()
  636. {
  637. return Sprite::createWithSpriteFrameName(game_bar_purple);
  638. }
  639. Sprite* TileMatch_ui::createGame_bar_redSprite()
  640. {
  641. return Sprite::createWithSpriteFrameName(game_bar_red);
  642. }
  643. Sprite* TileMatch_ui::createGame_bar_warring_2Sprite()
  644. {
  645. return Sprite::createWithSpriteFrameName(game_bar_warring_2);
  646. }
  647. Sprite* TileMatch_ui::createGame_clockSprite()
  648. {
  649. return Sprite::createWithSpriteFrameName(game_clock);
  650. }
  651. Sprite* TileMatch_ui::createGame_handSprite()
  652. {
  653. return Sprite::createWithSpriteFrameName(game_hand);
  654. }
  655. Sprite* TileMatch_ui::createGame_outside_add_iconSprite()
  656. {
  657. return Sprite::createWithSpriteFrameName(game_outside_add_icon);
  658. }
  659. Sprite* TileMatch_ui::createGame_outside_slect_iconSprite()
  660. {
  661. return Sprite::createWithSpriteFrameName(game_outside_slect_icon);
  662. }
  663. Sprite* TileMatch_ui::createGame_prop_10Sprite()
  664. {
  665. return Sprite::createWithSpriteFrameName(game_prop_10);
  666. }
  667. Sprite* TileMatch_ui::createGame_prop_12Sprite()
  668. {
  669. return Sprite::createWithSpriteFrameName(game_prop_12);
  670. }
  671. Sprite* TileMatch_ui::createGame_prop_13Sprite()
  672. {
  673. return Sprite::createWithSpriteFrameName(game_prop_13);
  674. }
  675. Sprite* TileMatch_ui::createGame_prop_8Sprite()
  676. {
  677. return Sprite::createWithSpriteFrameName(game_prop_8);
  678. }
  679. Sprite* TileMatch_ui::createGame_prop_9Sprite()
  680. {
  681. return Sprite::createWithSpriteFrameName(game_prop_9);
  682. }
  683. Sprite* TileMatch_ui::createGame_ui_speci_btnSprite()
  684. {
  685. return Sprite::createWithSpriteFrameName(game_ui_speci_btn);
  686. }
  687. Sprite* TileMatch_ui::createGame_whiter_bgSprite()
  688. {
  689. return Sprite::createWithSpriteFrameName(game_whiter_bg);
  690. }
  691. Sprite* TileMatch_ui::createGoodsStorySprite()
  692. {
  693. return Sprite::createWithSpriteFrameName(goodsStory);
  694. }
  695. Sprite* TileMatch_ui::createGoodsStory__1Sprite()
  696. {
  697. return Sprite::createWithSpriteFrameName(goodsStory__1);
  698. }
  699. Sprite* TileMatch_ui::createGoodsStory__2Sprite()
  700. {
  701. return Sprite::createWithSpriteFrameName(goodsStory__2);
  702. }
  703. Sprite* TileMatch_ui::createGoodsStory__3Sprite()
  704. {
  705. return Sprite::createWithSpriteFrameName(goodsStory__3);
  706. }
  707. Sprite* TileMatch_ui::createGoodsStory____1Sprite()
  708. {
  709. return Sprite::createWithSpriteFrameName(goodsStory____1);
  710. }
  711. Sprite* TileMatch_ui::createGoodsStory_____1Sprite()
  712. {
  713. return Sprite::createWithSpriteFrameName(goodsStory_____1);
  714. }
  715. Sprite* TileMatch_ui::createGoodsStory_____2Sprite()
  716. {
  717. return Sprite::createWithSpriteFrameName(goodsStory_____2);
  718. }
  719. Sprite* TileMatch_ui::createGoodsStory______UISprite()
  720. {
  721. return Sprite::createWithSpriteFrameName(goodsStory______UI);
  722. }
  723. Sprite* TileMatch_ui::createGoodsStory___congratulationSprite()
  724. {
  725. return Sprite::createWithSpriteFrameName(goodsStory___congratulation);
  726. }
  727. Sprite* TileMatch_ui::createGoodsStory___goodsSprite()
  728. {
  729. return Sprite::createWithSpriteFrameName(goodsStory___goods);
  730. }
  731. Sprite* TileMatch_ui::createGwMain_star6Sprite()
  732. {
  733. return Sprite::createWithSpriteFrameName(gwMain_star6);
  734. }
  735. Sprite* TileMatch_ui::createMatch_outside_blueSprite()
  736. {
  737. return Sprite::createWithSpriteFrameName(match_outside_blue);
  738. }
  739. Sprite* TileMatch_ui::createMatch_outside_greenSprite()
  740. {
  741. return Sprite::createWithSpriteFrameName(match_outside_green);
  742. }
  743. Sprite* TileMatch_ui::createPlus_blue_banner_iconSprite()
  744. {
  745. return Sprite::createWithSpriteFrameName(plus_blue_banner_icon);
  746. }
  747. Sprite* TileMatch_ui::createPlus_moves_iconSprite()
  748. {
  749. return Sprite::createWithSpriteFrameName(plus_moves_icon);
  750. }
  751. Sprite* TileMatch_ui::createPlus_red_banner_iconSprite()
  752. {
  753. return Sprite::createWithSpriteFrameName(plus_red_banner_icon);
  754. }
  755. Sprite* TileMatch_ui::createUi_fail_frameSprite()
  756. {
  757. return Sprite::createWithSpriteFrameName(ui_fail_frame);
  758. }
  759. Sprite* TileMatch_ui::createUi_fail_lifeSprite()
  760. {
  761. return Sprite::createWithSpriteFrameName(ui_fail_life);
  762. }
  763. Sprite* TileMatch_ui::createUi_text_bgSprite()
  764. {
  765. return Sprite::createWithSpriteFrameName(ui_text_bg);
  766. }
  767. // ------------------------------------------------
  768. // convenience functions returning animation frames
  769. // ------------------------------------------------
  770. Vector<SpriteFrame*> TileMatch_ui::getCLAWAnimationFrames()
  771. {
  772. SpriteFrameCache *frameCache = SpriteFrameCache::getInstance();
  773. Vector<SpriteFrame*> frames;
  774. frames.reserve(5);
  775. frames.pushBack(frameCache->getSpriteFrameByName(claw_1));
  776. frames.pushBack(frameCache->getSpriteFrameByName(claw_2));
  777. frames.pushBack(frameCache->getSpriteFrameByName(claw_3));
  778. frames.pushBack(frameCache->getSpriteFrameByName(claw_4));
  779. frames.pushBack(frameCache->getSpriteFrameByName(claw_5));
  780. return frames;
  781. }
  782. Vector<SpriteFrame*> TileMatch_ui::getCLAW_FLYAnimationFrames()
  783. {
  784. SpriteFrameCache *frameCache = SpriteFrameCache::getInstance();
  785. Vector<SpriteFrame*> frames;
  786. frames.reserve(5);
  787. frames.pushBack(frameCache->getSpriteFrameByName(claw_fly_01));
  788. frames.pushBack(frameCache->getSpriteFrameByName(claw_fly_19));
  789. frames.pushBack(frameCache->getSpriteFrameByName(claw_fly_21));
  790. frames.pushBack(frameCache->getSpriteFrameByName(claw_fly_25));
  791. frames.pushBack(frameCache->getSpriteFrameByName(claw_fly_26));
  792. return frames;
  793. }
  794. Vector<SpriteFrame*> TileMatch_ui::getGAME_PROPAnimationFrames()
  795. {
  796. SpriteFrameCache *frameCache = SpriteFrameCache::getInstance();
  797. Vector<SpriteFrame*> frames;
  798. frames.reserve(5);
  799. frames.pushBack(frameCache->getSpriteFrameByName(game_prop_8));
  800. frames.pushBack(frameCache->getSpriteFrameByName(game_prop_9));
  801. frames.pushBack(frameCache->getSpriteFrameByName(game_prop_10));
  802. frames.pushBack(frameCache->getSpriteFrameByName(game_prop_12));
  803. frames.pushBack(frameCache->getSpriteFrameByName(game_prop_13));
  804. return frames;
  805. }
  806. Vector<SpriteFrame*> TileMatch_ui::getGOODSSTORYAnimationFrames()
  807. {
  808. SpriteFrameCache *frameCache = SpriteFrameCache::getInstance();
  809. Vector<SpriteFrame*> frames;
  810. frames.reserve(3);
  811. frames.pushBack(frameCache->getSpriteFrameByName(goodsStory____1));
  812. frames.pushBack(frameCache->getSpriteFrameByName(goodsStory__2));
  813. frames.pushBack(frameCache->getSpriteFrameByName(goodsStory__3));
  814. return frames;
  815. }
  816. Vector<SpriteFrame*> TileMatch_ui::getG_CAIDAIAnimationFrames()
  817. {
  818. SpriteFrameCache *frameCache = SpriteFrameCache::getInstance();
  819. Vector<SpriteFrame*> frames;
  820. frames.reserve(2);
  821. frames.pushBack(frameCache->getSpriteFrameByName(g_caidai_1));
  822. frames.pushBack(frameCache->getSpriteFrameByName(g_caidai_2));
  823. return frames;
  824. }
  825. Vector<SpriteFrame*> TileMatch_ui::getG_COLLECTAnimationFrames()
  826. {
  827. SpriteFrameCache *frameCache = SpriteFrameCache::getInstance();
  828. Vector<SpriteFrame*> frames;
  829. frames.reserve(2);
  830. frames.pushBack(frameCache->getSpriteFrameByName(g_collect_2));
  831. frames.pushBack(frameCache->getSpriteFrameByName(g_collect_3));
  832. return frames;
  833. }
  834. Vector<SpriteFrame*> TileMatch_ui::getG_EFX_IYXINGAnimationFrames()
  835. {
  836. SpriteFrameCache *frameCache = SpriteFrameCache::getInstance();
  837. Vector<SpriteFrame*> frames;
  838. frames.reserve(2);
  839. frames.pushBack(frameCache->getSpriteFrameByName(g_efx_Iyxing2));
  840. frames.pushBack(frameCache->getSpriteFrameByName(g_efx_Iyxing3));
  841. return frames;
  842. }
  843. Vector<SpriteFrame*> TileMatch_ui::getG_FX_STARAnimationFrames()
  844. {
  845. SpriteFrameCache *frameCache = SpriteFrameCache::getInstance();
  846. Vector<SpriteFrame*> frames;
  847. frames.reserve(2);
  848. frames.pushBack(frameCache->getSpriteFrameByName(g_fx_star_1));
  849. frames.pushBack(frameCache->getSpriteFrameByName(g_fx_star_2));
  850. return frames;
  851. }
  852. Vector<SpriteFrame*> TileMatch_ui::getG_GOLDEN_FXAnimationFrames()
  853. {
  854. SpriteFrameCache *frameCache = SpriteFrameCache::getInstance();
  855. Vector<SpriteFrame*> frames;
  856. frames.reserve(7);
  857. frames.pushBack(frameCache->getSpriteFrameByName(g_golden_fx_1));
  858. frames.pushBack(frameCache->getSpriteFrameByName(g_golden_fx_2));
  859. frames.pushBack(frameCache->getSpriteFrameByName(g_golden_fx_3));
  860. frames.pushBack(frameCache->getSpriteFrameByName(g_golden_fx_4));
  861. frames.pushBack(frameCache->getSpriteFrameByName(g_golden_fx_5));
  862. frames.pushBack(frameCache->getSpriteFrameByName(g_golden_fx_6));
  863. frames.pushBack(frameCache->getSpriteFrameByName(g_golden_fx_7));
  864. return frames;
  865. }
  866. Vector<SpriteFrame*> TileMatch_ui::getG_GUIDE_WOMANAnimationFrames()
  867. {
  868. SpriteFrameCache *frameCache = SpriteFrameCache::getInstance();
  869. Vector<SpriteFrame*> frames;
  870. frames.reserve(2);
  871. frames.pushBack(frameCache->getSpriteFrameByName(g_guide_woman_1));
  872. frames.pushBack(frameCache->getSpriteFrameByName(g_guide_woman_2));
  873. return frames;
  874. }
  875. Vector<SpriteFrame*> TileMatch_ui::getG_LIGHTAnimationFrames()
  876. {
  877. SpriteFrameCache *frameCache = SpriteFrameCache::getInstance();
  878. Vector<SpriteFrame*> frames;
  879. frames.reserve(4);
  880. frames.pushBack(frameCache->getSpriteFrameByName(g_light_1));
  881. frames.pushBack(frameCache->getSpriteFrameByName(g_light_2));
  882. frames.pushBack(frameCache->getSpriteFrameByName(g_light_3));
  883. frames.pushBack(frameCache->getSpriteFrameByName(g_light_4));
  884. return frames;
  885. }
  886. Vector<SpriteFrame*> TileMatch_ui::getG_PROPAnimationFrames()
  887. {
  888. SpriteFrameCache *frameCache = SpriteFrameCache::getInstance();
  889. Vector<SpriteFrame*> frames;
  890. frames.reserve(4);
  891. frames.pushBack(frameCache->getSpriteFrameByName(g_prop_1));
  892. frames.pushBack(frameCache->getSpriteFrameByName(g_prop_2));
  893. frames.pushBack(frameCache->getSpriteFrameByName(g_prop_3));
  894. frames.pushBack(frameCache->getSpriteFrameByName(g_prop_4));
  895. return frames;
  896. }
  897. Vector<SpriteFrame*> TileMatch_ui::getG_STAR_GUANGAnimationFrames()
  898. {
  899. SpriteFrameCache *frameCache = SpriteFrameCache::getInstance();
  900. Vector<SpriteFrame*> frames;
  901. frames.reserve(3);
  902. frames.pushBack(frameCache->getSpriteFrameByName(g_star_guang_1));
  903. frames.pushBack(frameCache->getSpriteFrameByName(g_star_guang_2));
  904. frames.pushBack(frameCache->getSpriteFrameByName(g_star_guang_3));
  905. return frames;
  906. }
  907. Vector<SpriteFrame*> TileMatch_ui::getG_THREE_GOLDENAnimationFrames()
  908. {
  909. SpriteFrameCache *frameCache = SpriteFrameCache::getInstance();
  910. Vector<SpriteFrame*> frames;
  911. frames.reserve(2);
  912. frames.pushBack(frameCache->getSpriteFrameByName(g_three_golden_1));
  913. frames.pushBack(frameCache->getSpriteFrameByName(g_three_golden_2));
  914. return frames;
  915. }
  916. Vector<SpriteFrame*> TileMatch_ui::getG_THREE_SHADOWAnimationFrames()
  917. {
  918. SpriteFrameCache *frameCache = SpriteFrameCache::getInstance();
  919. Vector<SpriteFrame*> frames;
  920. frames.reserve(2);
  921. frames.pushBack(frameCache->getSpriteFrameByName(g_three_shadow_1));
  922. frames.pushBack(frameCache->getSpriteFrameByName(g_three_shadow_2));
  923. return frames;
  924. }
  925. Vector<SpriteFrame*> TileMatch_ui::getG_THREE_SILVERAnimationFrames()
  926. {
  927. SpriteFrameCache *frameCache = SpriteFrameCache::getInstance();
  928. Vector<SpriteFrame*> frames;
  929. frames.reserve(2);
  930. frames.pushBack(frameCache->getSpriteFrameByName(g_three_silver_1));
  931. frames.pushBack(frameCache->getSpriteFrameByName(g_three_silver_2));
  932. return frames;
  933. }
  934. Vector<SpriteFrame*> TileMatch_ui::getG_THREE_WOODDEN_OPENAnimationFrames()
  935. {
  936. SpriteFrameCache *frameCache = SpriteFrameCache::getInstance();
  937. Vector<SpriteFrame*> frames;
  938. frames.reserve(3);
  939. frames.pushBack(frameCache->getSpriteFrameByName(g_three_woodden_open_1));
  940. frames.pushBack(frameCache->getSpriteFrameByName(g_three_woodden_open_2));
  941. frames.pushBack(frameCache->getSpriteFrameByName(g_three_woodden_open_3));
  942. return frames;
  943. }
  944. Vector<SpriteFrame*> TileMatch_ui::getG_WINTITLEAnimationFrames()
  945. {
  946. SpriteFrameCache *frameCache = SpriteFrameCache::getInstance();
  947. Vector<SpriteFrame*> frames;
  948. frames.reserve(9);
  949. frames.pushBack(frameCache->getSpriteFrameByName(g_wintitle_6));
  950. frames.pushBack(frameCache->getSpriteFrameByName(g_wintitle_7));
  951. frames.pushBack(frameCache->getSpriteFrameByName(g_wintitle_8));
  952. frames.pushBack(frameCache->getSpriteFrameByName(g_wintitle_9));
  953. frames.pushBack(frameCache->getSpriteFrameByName(g_wintitle_10));
  954. frames.pushBack(frameCache->getSpriteFrameByName(g_wintitle_11));
  955. frames.pushBack(frameCache->getSpriteFrameByName(g_wintitle_12));
  956. frames.pushBack(frameCache->getSpriteFrameByName(g_wintitle_13));
  957. frames.pushBack(frameCache->getSpriteFrameByName(g_wintitle_14));
  958. return frames;
  959. }
  960. Vector<SpriteFrame*> TileMatch_ui::getG_XIANGKUANG_LIZI_GAnimationFrames()
  961. {
  962. SpriteFrameCache *frameCache = SpriteFrameCache::getInstance();
  963. Vector<SpriteFrame*> frames;
  964. frames.reserve(2);
  965. frames.pushBack(frameCache->getSpriteFrameByName(g_xiangKuang_liZi_g3));
  966. frames.pushBack(frameCache->getSpriteFrameByName(g_xiangKuang_liZi_g5));
  967. return frames;
  968. }
  969. // ----------
  970. // animations
  971. // ----------
  972. Animate *TileMatch_ui::createCLAWAnimateAction(float delay, unsigned int loops)
  973. {
  974. return Animate::create(Animation::createWithSpriteFrames(getCLAWAnimationFrames(), delay, loops));
  975. }
  976. Animate *TileMatch_ui::createCLAW_FLYAnimateAction(float delay, unsigned int loops)
  977. {
  978. return Animate::create(Animation::createWithSpriteFrames(getCLAW_FLYAnimationFrames(), delay, loops));
  979. }
  980. Animate *TileMatch_ui::createGAME_PROPAnimateAction(float delay, unsigned int loops)
  981. {
  982. return Animate::create(Animation::createWithSpriteFrames(getGAME_PROPAnimationFrames(), delay, loops));
  983. }
  984. Animate *TileMatch_ui::createGOODSSTORYAnimateAction(float delay, unsigned int loops)
  985. {
  986. return Animate::create(Animation::createWithSpriteFrames(getGOODSSTORYAnimationFrames(), delay, loops));
  987. }
  988. Animate *TileMatch_ui::createG_CAIDAIAnimateAction(float delay, unsigned int loops)
  989. {
  990. return Animate::create(Animation::createWithSpriteFrames(getG_CAIDAIAnimationFrames(), delay, loops));
  991. }
  992. Animate *TileMatch_ui::createG_COLLECTAnimateAction(float delay, unsigned int loops)
  993. {
  994. return Animate::create(Animation::createWithSpriteFrames(getG_COLLECTAnimationFrames(), delay, loops));
  995. }
  996. Animate *TileMatch_ui::createG_EFX_IYXINGAnimateAction(float delay, unsigned int loops)
  997. {
  998. return Animate::create(Animation::createWithSpriteFrames(getG_EFX_IYXINGAnimationFrames(), delay, loops));
  999. }
  1000. Animate *TileMatch_ui::createG_FX_STARAnimateAction(float delay, unsigned int loops)
  1001. {
  1002. return Animate::create(Animation::createWithSpriteFrames(getG_FX_STARAnimationFrames(), delay, loops));
  1003. }
  1004. Animate *TileMatch_ui::createG_GOLDEN_FXAnimateAction(float delay, unsigned int loops)
  1005. {
  1006. return Animate::create(Animation::createWithSpriteFrames(getG_GOLDEN_FXAnimationFrames(), delay, loops));
  1007. }
  1008. Animate *TileMatch_ui::createG_GUIDE_WOMANAnimateAction(float delay, unsigned int loops)
  1009. {
  1010. return Animate::create(Animation::createWithSpriteFrames(getG_GUIDE_WOMANAnimationFrames(), delay, loops));
  1011. }
  1012. Animate *TileMatch_ui::createG_LIGHTAnimateAction(float delay, unsigned int loops)
  1013. {
  1014. return Animate::create(Animation::createWithSpriteFrames(getG_LIGHTAnimationFrames(), delay, loops));
  1015. }
  1016. Animate *TileMatch_ui::createG_PROPAnimateAction(float delay, unsigned int loops)
  1017. {
  1018. return Animate::create(Animation::createWithSpriteFrames(getG_PROPAnimationFrames(), delay, loops));
  1019. }
  1020. Animate *TileMatch_ui::createG_STAR_GUANGAnimateAction(float delay, unsigned int loops)
  1021. {
  1022. return Animate::create(Animation::createWithSpriteFrames(getG_STAR_GUANGAnimationFrames(), delay, loops));
  1023. }
  1024. Animate *TileMatch_ui::createG_THREE_GOLDENAnimateAction(float delay, unsigned int loops)
  1025. {
  1026. return Animate::create(Animation::createWithSpriteFrames(getG_THREE_GOLDENAnimationFrames(), delay, loops));
  1027. }
  1028. Animate *TileMatch_ui::createG_THREE_SHADOWAnimateAction(float delay, unsigned int loops)
  1029. {
  1030. return Animate::create(Animation::createWithSpriteFrames(getG_THREE_SHADOWAnimationFrames(), delay, loops));
  1031. }
  1032. Animate *TileMatch_ui::createG_THREE_SILVERAnimateAction(float delay, unsigned int loops)
  1033. {
  1034. return Animate::create(Animation::createWithSpriteFrames(getG_THREE_SILVERAnimationFrames(), delay, loops));
  1035. }
  1036. Animate *TileMatch_ui::createG_THREE_WOODDEN_OPENAnimateAction(float delay, unsigned int loops)
  1037. {
  1038. return Animate::create(Animation::createWithSpriteFrames(getG_THREE_WOODDEN_OPENAnimationFrames(), delay, loops));
  1039. }
  1040. Animate *TileMatch_ui::createG_WINTITLEAnimateAction(float delay, unsigned int loops)
  1041. {
  1042. return Animate::create(Animation::createWithSpriteFrames(getG_WINTITLEAnimationFrames(), delay, loops));
  1043. }
  1044. Animate *TileMatch_ui::createG_XIANGKUANG_LIZI_GAnimateAction(float delay, unsigned int loops)
  1045. {
  1046. return Animate::create(Animation::createWithSpriteFrames(getG_XIANGKUANG_LIZI_GAnimationFrames(), delay, loops));
  1047. }
  1048. }; // namespace