summaryrefslogtreecommitdiff
path: root/src/player.h
blob: e531b163f200037de1245a8ae64aabbd5e5b1571 (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 TAKETHIS_INCLUDED_PLAYER
#define TAKETHIS_INCLUDED_PLAYER

#include "room.h"

typedef struct tt_player {
    tt_room *room;
    int      xwalk;
    int      ywalk;
    int      x;
    int      y;
    int      xrem;
    int      yrem;
    int      variant;
    int      rem;
    int      money;
    int      keys[2];
    int      tobein_gulag;
    int      until_gulag;

    int lenin_pos;
    int lenin_pos_rem;
    int lenin_vel;
    int lenin_zhiv;
    int lenin_rem;
} tt_player;

void tt_player_walk(int delta);

void tt_player_draw();

#endif