-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathMKBUYIN.H
More file actions
53 lines (40 loc) · 1.1 KB
/
MKBUYIN.H
File metadata and controls
53 lines (40 loc) · 1.1 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/******************************************************************************
File: mkbuyin.h
By: David Schwartz
Date: August 1994
(C) Williams Entertainment
Mortal Kombat III buyin module
******************************************************************************/
#ifndef __mk_mkbuyin_h__
#define __mk_mkbuyin_h__
/*
* DEFINITIONS
*/
/* adjust menu index */
#define ADJ_DOWN 0x00 // adjust menu down routine
#define ADJ_UP 0x01 // adjust menu up routine
#define SLIDE_VEL 3
#define SLIDE_TIME 0x40
/*
* RAM
*/
/*
* PROTOTYPES
*/
void do_buyin(void);
void amenu2(WORD,OBJECT **);
void menu_monitor(void);
void move_menu_text_down(void);
void eliminate_buyins(void);
inline void elim2(WORD *,WORD *);
char *get_buyin_msg(FNTSETUP *,WORD,WORD);
char *get_ctc_msg(void);
void countdown_objects(void);
void shape_buyin_num(WORD num,OBJECT *obj_num);
void buyin_pick(short *,short *);
/*
* MACROS
*/
#define adjust_menu_down(_olst) amenu2(ADJ_DOWN,(_olst))
#define adjust_menu_up(_olst) amenu2(ADJ_UP,(_olst))
#endif /* __mk_mkbuyin_h__ */