resinfo.h
上传用户:sycq158
上传日期:2008-10-22
资源大小:15361k
文件大小:1k
- #ifndef _GAME_RESINFO_
- #define _GAME_RESINFO_
- /* For IDB_RESOURCE */
- // size
- #define RES_0_SIZE_WIDTH 512
- #define RES_0_SIZE_HEIGHT 640
- // position
- #define RES_POSL_LAND 0
- #define RES_POST_LAND 0
- #define RES_POST_LAND_BRICK 0
- #define RES_POST_LAND_IRON 1
- #define RES_POST_LAND_RIVER1 2
- #define RES_POST_LAND_RIVER2 3
- #define RES_POST_LAND_RIVER3 4
- #define RES_POST_LAND_RIVER RES_POST_LAND_RIVER1
- #define RES_POST_LAND_GRASS 5
- #define RES_POST_LAND_ICE 6
- #define RES_POSL_TREASURE 1
- #define RES_POST_TREASURE 8
- #define RES_POSL_BASE 32
- #define RES_POST_BASE 224
- #define RES_POSL_TANK 0
- #define RES_POST_TANK 9
- #define RES_POSL_TANK_HOME 8
- #define RES_POST_TANK_HOME 9
- #define RES_POSL_TANK_ENEMY 12
- #define RES_POST_TANK_ENEMY 9
- #define RES_POST_BULLET 17
- #define RES_POSL_BULLET 4
- #define RES_POSL_BOOM1 0
- #define RES_POSL_BOOM2 1
- #define RES_POSL_BOOM3 2
- #define RES_POST_BOOM 17
- #define RES_POSL_BOOM RES_POSL_BOOM1
- //-----------------------------------------------------------------------------
- // Resource's infomations, such as size, position, and so on.
- //-----------------------------------------------------------------------------
- #define RESPOS_LEFT 0
- #define RESPOS_TOP 1
- #define RESFRAME_NUM 2
- #define RESSIZE_WIDTH 3
- #define RESSIZE_HEIGHT 4
- extern int ResArray[40][5];
- #endif /*_GAME_RESINFO_*/