-
Notifications
You must be signed in to change notification settings - Fork 4
/
dx.h
47 lines (38 loc) · 954 Bytes
/
dx.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
39
40
41
42
43
44
45
46
47
#pragma once
enum
{
DRIVER_DDRAW,
DRIVER_DDRAW16,
DRIVER_DDRAW32,
DRIVER_GDI,
DRIVER_OVR,
DRIVER_BLT,
};
#define MAXWQSIZE 32
extern const RENDER drivers[];
extern size_t renders_count;
extern unsigned char active;
extern unsigned char pause;
extern LPDIRECTDRAW2 dd;
extern LPDIRECTDRAWSURFACE sprim;
extern LPDIRECTDRAWSURFACE surf0;
extern LPDIRECTDRAWSURFACE surf1;
extern LPDIRECTINPUTDEVICE2 dijoyst;
void sound_play();
void sound_stop();
void __fastcall do_sound_none();
void __fastcall do_sound_wave();
void __fastcall do_sound_ds();
void do_sound();
void setpal(char system);
void set_priority();
void flip();
void set_vidmode();
void updatebitmap();
void adjust_mouse_cursor();
void start_dx();
void done_dx();
void scale_normal();
void readdevice(VOID *md, DWORD sz, LPDIRECTINPUTDEVICE dev);
void readmouse(DIMOUSESTATE *md);
void ReadKeyboard(PVOID KbdData);