blob: 2d8228bf8163459c03c6b6afa482a27e6adfc4a0 (
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
#define DIRECT_ENABLE_DEBUG
#include <iostream>
#include <vector>
using namespace std;
/*
* ++DFB
*/
#include <++dfb.h>
/*
* Direct
*/
extern "C" {
#include <stdarg.h>
#include <direct/clock.h>
#include <direct/debug.h>
#include <direct/memcpy.h>
#include <direct/messages.h>
#include <direct/thread.h>
#include <direct/util.h>
#include <gfx/convert.h>
#include <divine.h>
}
/*
* PluggIt
*/
#include "KeySend.h"
/*
* Win32
*/
#ifdef __WIN32__
#define CreateWindow CreateWindowWin32
#include <windows.h>
#include <wingdi.h>
#include <winuser.h>
#include "videodriver.h"
#undef CreateWindow
#else
/*
* X11
*/
extern "C" {
#include <X11/Xlib.h> /* fundamentals X datas structures */
#include <X11/Xutil.h> /* datas definitions for various functions */
#include <X11/keysym.h> /* for a perfect use of keyboard events */
#include <X11/Xatom.h>
#include <X11/cursorfont.h>
#include <X11/extensions/XShm.h>
#include <X11/extensions/Xdamage.h>
#include <sys/ipc.h>
#include <sys/shm.h>
}
#endif
|