blob: a564023bc297594587f0479566b5c9f22e87041a (
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
36
37
38
|
/*
* Copyright (C) 2018 Iru Cai <mytbk920423@gmail.com>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
#include <windows.h>
#include <ddraw.h>
#include <stdint.h>
/* media_init.c */
extern IDirectDraw *pddraw; // 0x0048a0d8
extern DDSURFACEDESC sfdesc1; // 0x0048a068
extern IDirectDrawSurface *pddrawsf1; // 0x0048a0dc
extern IDirectDrawSurface *pddrawsf2; // 0x0048a0e0
extern int mkf_data; // 0x48a0e4
extern int mkf_speaking; // 0x48a054
extern int mkf_panel; // 0x48a05c
extern int mkf_effect; // 0x48a058
extern HHOOK ghook; // 0x48a050
extern int pixel_fmt;
char * read_mkf(int mkf_idx, int a1, char *buf, int *bufsize);
/* main.c */
extern HINSTANCE ghInstance; // 48a064
extern HWND gwindowHandle; // 48a0d4
extern RECT g_rect; /* struct tagRECT { left, top, right, bottom } @ 0x46cadc */
extern int16_t game_stage;
extern int16_t game_map;
extern int price_index;
extern char mid_status[7]; // 0x46cb00
/* card.c */
extern uint8_t card_amount[30];
|