summaryrefslogtreecommitdiff
path: root/src/player.h
blob: 7c2fc567ee694d74d8dc1866fd705aec6213f470 (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
33
34
35
#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;
    int the_key;
    int tobein_gulag;
    int until_gulag;

    int lenin_pos;
    int zhiv_lenin;
    int lenin_rem;
} tt_player;


void tt_player_walk(int delta);

void tt_player_draw();


#endif