summaryrefslogtreecommitdiff
path: root/src/body.h
blob: ed72a26d2e0e037327c64c6b15d9742b7f431d48 (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;
} tt_body;


void tt_body_move(int d);


#endif