mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-08-02 00:14:10 -04:00
Decompile tileGetFloorType
This commit is contained in:
@@ -551,7 +551,14 @@
|
||||
#define FLOORFLAG_0100 0x0100
|
||||
#define FLOORFLAG_DIE 0x4000
|
||||
|
||||
#define FLOORTYPE_ESCALATOR 4
|
||||
#define FLOORTYPE_WOOD 1
|
||||
#define FLOORTYPE_STONE 2
|
||||
#define FLOORTYPE_CARPET 3
|
||||
#define FLOORTYPE_METAL 4
|
||||
#define FLOORTYPE_MUD 5
|
||||
#define FLOORTYPE_WATER 6
|
||||
#define FLOORTYPE_DIRT 7
|
||||
#define FLOORTYPE_SNOW 8
|
||||
|
||||
#define FRFAILREASON_NOTFAILED 0
|
||||
#define FRFAILREASON_OUTOFAMMO 1
|
||||
@@ -2543,6 +2550,7 @@
|
||||
#define TICKMODE_AUTOWALK 7
|
||||
|
||||
#define TILEFLAG_0020 0x0020
|
||||
#define TILEFLAG_0200 0x0200
|
||||
|
||||
#define VISIONMODE_NORMAL 0
|
||||
#define VISIONMODE_XRAY 1
|
||||
|
||||
@@ -48,7 +48,7 @@ u32 func00025774(void);
|
||||
u32 func00025848(void);
|
||||
u32 func00025928(void);
|
||||
void tileGetFloorCol(struct tile *tile, u16 *floorcol);
|
||||
void func00025bdc(struct tile *tile, u8 *floortype);
|
||||
void tileGetFloorType(struct tile *tile, u8 *floortype);
|
||||
u32 func00025c74(void);
|
||||
u32 func00025f90(void);
|
||||
u32 func000260cc(void);
|
||||
|
||||
+1
-1
@@ -5687,7 +5687,7 @@ struct tile {
|
||||
/*0x00*/ u8 unk00; // 0 or 1 to enable floorcol, 2 or 3 to disable
|
||||
/*0x01*/ u8 unk01;
|
||||
/*0x02*/ u16 flags;
|
||||
/*0x04*/ u8 floortype;
|
||||
/*0x04*/ u16 floortype;
|
||||
/*0x08*/ u32 unk08;
|
||||
/*0x0c*/ u16 floorcol;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user