summaryrefslogtreecommitdiff
path: root/src/body.h
blob: fcb15bc26e1b901a6bd6bf6fe47016b28713e95c (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
#ifndef TT_INCLUDED_BODY
#define TT_INCLUDED_BODY


typedef struct tt_body {
    int x;
    int y;
    int xrem;
    int yrem;
    int xvel;
    int yvel;
    int txrrow;
    int txrcol;
    int rem;
    int anim;
    int rate;
    void (*collision_act)(struct tt_body *b);
    char *msg;
    int msglen;
} tt_body;


void tt_body_move(int d);


#endif