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


enum { colact_grib = 1, colact_gulag, colact_instgulag };

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;
    int collision_act;
    char *msg;
    int msglen;
} tt_body;


void tt_body_move(int d);


#endif