2010-10-12 16:14:34 +08:00
|
|
|
|
#ifndef _RESOURCE_H_
|
|
|
|
|
#define _RESOURCE_H_
|
|
|
|
|
|
2010-10-13 22:03:07 +08:00
|
|
|
|
#include "SimpleAudioEngine.h"
|
2010-10-12 16:14:34 +08:00
|
|
|
|
#include "cocos2dsimplegame_res_def.h"
|
|
|
|
|
#include "cocos2d.h"
|
|
|
|
|
|
2010-10-19 17:08:25 +08:00
|
|
|
|
const T_ResourceInfo ResInfo[] =
|
2010-10-12 16:14:34 +08:00
|
|
|
|
{
|
|
|
|
|
{ "CloseNormal", COCOS2_ID_BITMAP_CloseNormal },
|
|
|
|
|
{ "CloseSelected", COCOS2_ID_BITMAP_CloseSelected },
|
|
|
|
|
{ "Player", COCOS2_ID_BITMAP_Player },
|
|
|
|
|
{ "Projectile", COCOS2_ID_BITMAP_Projectile },
|
|
|
|
|
{ "Target", COCOS2_ID_BITMAP_Target },
|
2010-10-19 17:08:25 +08:00
|
|
|
|
{ "CloseNormal@WVGA", COCOS2_ID_BITMAP_CloseNormal_WVGA },
|
|
|
|
|
{ "CloseSelected@WVGA", COCOS2_ID_BITMAP_CloseSelected_WVGA },
|
|
|
|
|
{ "Player@WVGA", COCOS2_ID_BITMAP_Player_WVGA },
|
|
|
|
|
{ "Projectile@WVGA", COCOS2_ID_BITMAP_Projectile_WVGA },
|
|
|
|
|
{ "Target@WVGA", COCOS2_ID_BITMAP_Target_WVGA },
|
2010-10-12 16:14:34 +08:00
|
|
|
|
};
|
|
|
|
|
|
2010-10-13 14:18:03 +08:00
|
|
|
|
/**
|
|
|
|
|
@warning <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ<EFBFBD>Ľṹ<EFBFBD><EFBFBD><EFBFBD>У<EFBFBD>FileName<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>չ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҫ<EFBFBD><EFBFBD>ԭʼ<EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>չ<EFBFBD><EFBFBD>һ<EFBFBD><EFBFBD>
|
|
|
|
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
*/
|
|
|
|
|
const T_SoundResInfo SoundResInfo[] =
|
|
|
|
|
{
|
|
|
|
|
{ "background-music-aac.mp3", COCOS2_ID_RAWDATA_background_music_aac },
|
|
|
|
|
{ "pew-pew-lei.wav", COCOS2_ID_RAWDATA_pew_pew_lei },
|
|
|
|
|
};
|
|
|
|
|
|
2010-10-12 16:14:34 +08:00
|
|
|
|
#endif
|