summaryrefslogtreecommitdiff
path: root/include/manager/specialWarpManager.h
blob: 200edcf1d8f9b9e16c90352d1f00743e719aad41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#ifndef SPECIALWARPMANAGER_H
#define SPECIALWARPMANAGER_H

#include "manager.h"

typedef struct {
    u16 posX;
    u16 posY;
    u8 width;
    u8 height;
    u8 roomProperty;
    union {
        u8 all;
        struct {
            u8 layer : 2;
            u8 unk1 : 2;
            u8 unk2 : 1;
            u8 unk3 : 3;
        } PACKED b;
    } PACKED unk_07;
} SpecialWarpManagerWarpData;

typedef struct {
    Manager base;
    SpecialWarpManagerWarpData* warpList;
} SpecialWarpManager;

#endif // SPECIALWARPMANAGER_H