summaryrefslogtreecommitdiff
path: root/include/affine.h
blob: 1ea56c6603e3083f8a107010d413b4ad1bce81e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef AFFINE_H
#define AFFINE_H

#include "gba/types.h"

typedef struct {
    s16 x;
    s16 y;
    u16 _4;
    u16 _6;
    u16 _8;
} OAMCommand;
extern OAMCommand gOamCmd;

extern void FlushSprites(void);
extern void CopyOAM(void);
extern void DrawEntities(void);
extern void sub_080ADA04(OAMCommand*, void*);
extern void DrawDirect(u32 spriteIndex, u32 frameIndex);

#endif //AFFINE_H