#ifndef DEF_ROOM_H((br)) #define DEF_ROOM_H((br)) #include "../Game/common.h"((br)) #define ROOM_WIDTH 20((br)) #define ROOM_HEIGHT 10((br)) #define ROOM_IMAGE_NUM 480((br)) #define WALL_IMAGE_NUM 56((br)) #define WALL_IMAGE_NUMX 8((br)) #define WALL_IMAGE_NUMY 7((br)) #define WALL_SIZEX 32((br)) #define WALL_SIZEY 64((br)) #define MAPCHIP_SIZE 32((br)) #define MAP_INITIAL_POSITION 134((br)) typedef struct Room {((br)) int stage[10][20];((br)) struct Room *up;((br)) struct Room *down;((br)) struct Room *left;((br)) struct Room *right;((br)) bool done;((br)) int Enemy_type[ENEMY_MAX];((br)) int Enemy_alive[ENEMY_MAX];((br)) int Enemy_hp[ENEMY_MAX];((br)) }Room_t;((br)) void Room_Init(Room_t* r);((br)) void Room_End();((br)) void Wall_Draw(int type, int x, int y);((br)) int Room_Draw(Room_t* r, int t);((br)) int Enemy_Teach(int *a, int *b);((br)) int Wall_Teach(Room_t* room,int *a, int *b);((br)) int Door_Teach(Room_t* room,int *a, int *b);((br)) void SetBossRoom(Room_t* room);((br)) void DefeatedBossRoom(Room_t* r);((br)) int GetRoomPosX(int x);((br)) int GetRoomPosY(int y);((br)) int Enemy_Type(Room_t *r);((br)) #endif((br))