- Mar 6, 2014
- 16
- 3
- 30
Im working on mir2ei .map file, for the cell strucutre:
typedef struct{
uint8_t bFlag;
uint8_t bObj1Ani;
uint8_t bObj2Ani;
uint16_t wFileIndex;
uint16_t wObj1;
uint16_t wObj2;
uint16_t bDoorIndex;
uint8_t bDoorOffset;
uint16_t wLigntNEvent;
}CELLINFO;
Are the fields: bDoorIndex and bDoorOffset really meanful?
I scanned all the .map file, seems these two fields are abandoned.
There is a function GetDoorImageOffset() which gives an image index offset when the door is open/closed, to give visual difference of open/closed door. But this function always returns 0.
So this means no matter whenever a ``door" is open/closed, we can't see the difference? Or did I rush through something incorrectly?
Best
typedef struct{
uint8_t bFlag;
uint8_t bObj1Ani;
uint8_t bObj2Ani;
uint16_t wFileIndex;
uint16_t wObj1;
uint16_t wObj2;
uint16_t bDoorIndex;
uint8_t bDoorOffset;
uint16_t wLigntNEvent;
}CELLINFO;
Are the fields: bDoorIndex and bDoorOffset really meanful?
I scanned all the .map file, seems these two fields are abandoned.
There is a function GetDoorImageOffset() which gives an image index offset when the door is open/closed, to give visual difference of open/closed door. But this function always returns 0.
So this means no matter whenever a ``door" is open/closed, we can't see the difference? Or did I rush through something incorrectly?
Best