summaryrefslogtreecommitdiff
path: root/source/tb/tb.h
blob: e03b3282987935b688c5c864fc1f3b7d599ab61e (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
29
30
31
32
33
34
#ifndef TB_H
#define TB_H

typedef struct enemy enemy;
struct enemy
{
    enemy *next;
    enemy *prev;
    u64 color;
    s32 x, y;
};

typedef struct enemy_list enemy_list;
struct enemy_list
{
    enemy *first;
    enemy *last;

    s32 count;
};


typedef struct user user;
struct user
{
    u64 color;
    b32 alive;
    s32 x;
    s32 y;
    u64 width;
    s32 height;
};

#endif