-
Notifications
You must be signed in to change notification settings - Fork 13
/
digger.h
38 lines (34 loc) · 988 Bytes
/
digger.h
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
36
37
38
/* Digger Remastered
Copyright (c) Andrew Jenner 1998-2004 */
struct digger_draw_api;
void dodigger(struct digger_draw_api *);
void erasediggers(void);
void killfire(int n);
void erasebonus(struct digger_draw_api *);
int16_t countem(void);
void makeemfield(void);
void drawemeralds(void);
void initdigger(void);
void drawexplosion(int n);
void createbonus(void);
int16_t reversedir(int16_t d);
bool hitemerald(int16_t x,int16_t y,int16_t rx,int16_t ry,int16_t dir);
void killdigger(int n,int16_t bp6,int16_t bp8);
bool checkdiggerunderbag(int16_t h,int16_t v);
void killemerald(int16_t bpa,int16_t bpc);
void newframe(void);
int diggerx(int n);
int diggery(int n);
void digresettime(int n);
void sceatm(struct digger_draw_api *, int n);
bool isalive(void);
bool digalive(int n);
int getlives(int pl);
void addlife(int pl);
void initlives(void);
void declife(int pl);
extern bool bonusvisible,digonscr,bonusmode;
#ifdef INTDRF
extern uint32_t frame;
#endif
uint32_t getframe(void);