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


void tt_player_walk(int delta);

void tt_player_draw();


#endif