summaryrefslogtreecommitdiff
path: root/src/player.h
blob: 85040469d3fa7af6919add395bf0325086acac2b (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
#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;
} tt_player;


void tt_player_walk(int delta);

void tt_player_draw();


#endif