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

enum {
    colact_grib = 1,
    colact_gulag,
    colact_instgulag,
    colact_key,
    colact_door
};

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;
    int   isdoor;
} tt_body;

void tt_body_move(int d);

#endif