Wise&mystical
1.0
Project about Europe
Loading...
Searching...
No Matches
rglfw.c
Go to the documentation of this file.
1
29
//#define _GLFW_BUILD_DLL // To build shared version
30
// Ref: http://www.glfw.org/docs/latest/compile.html#compile_manual
31
32
// Platform options:
33
// _GLFW_WIN32 to use the Win32 API
34
// _GLFW_X11 to use the X Window System
35
// _GLFW_WAYLAND to use the Wayland API (experimental and incomplete)
36
// _GLFW_COCOA to use the Cocoa frameworks
37
// _GLFW_OSMESA to use the OSMesa API (headless and non-interactive)
38
// _GLFW_MIR experimental, not supported at this moment
39
40
#if defined(_WIN32)
41
#define _GLFW_WIN32
42
#endif
43
#if defined(__linux__)
44
#if !defined(_GLFW_WAYLAND)
// Required for Wayland windowing
45
#define _GLFW_X11
46
#endif
47
#endif
48
#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__DragonFly__)
49
#define _GLFW_X11
50
#endif
51
#if defined(__APPLE__)
52
#define _GLFW_COCOA
53
#define _GLFW_USE_MENUBAR
// To create and populate the menu bar when the first window is created
54
#define _GLFW_USE_RETINA
// To have windows use the full resolution of Retina displays
55
#endif
56
#if defined(__TINYC__)
57
#define _WIN32_WINNT_WINXP 0x0501
58
#endif
59
60
// Common modules to all platforms
61
#include "
external/glfw/src/context.c
"
62
#include "
external/glfw/src/init.c
"
63
#include "
external/glfw/src/input.c
"
64
#include "
external/glfw/src/monitor.c
"
65
#include "
external/glfw/src/vulkan.c
"
66
#include "
external/glfw/src/window.c
"
67
68
#if defined(_WIN32)
69
#include "
external/glfw/src/win32_init.c
"
70
#include "
external/glfw/src/win32_joystick.c
"
71
#include "
external/glfw/src/win32_monitor.c
"
72
#include "
external/glfw/src/win32_time.c
"
73
#include "
external/glfw/src/win32_thread.c
"
74
#include "
external/glfw/src/win32_window.c
"
75
#include "
external/glfw/src/wgl_context.c
"
76
#include "
external/glfw/src/egl_context.c
"
77
#include "
external/glfw/src/osmesa_context.c
"
78
#endif
79
80
#if defined(__linux__)
81
#if defined(_GLFW_WAYLAND)
82
#include "
external/glfw/src/wl_init.c
"
83
#include "
external/glfw/src/wl_monitor.c
"
84
#include "
external/glfw/src/wl_window.c
"
85
#include "external/glfw/src/wayland-pointer-constraints-unstable-v1-client-protocol.c"
86
#include "external/glfw/src/wayland-relative-pointer-unstable-v1-client-protocol.c"
87
#endif
88
#if defined(_GLFW_X11)
89
#include "
external/glfw/src/x11_init.c
"
90
#include "
external/glfw/src/x11_monitor.c
"
91
#include "
external/glfw/src/x11_window.c
"
92
#include "
external/glfw/src/glx_context.c
"
93
#endif
94
95
#include "
external/glfw/src/linux_joystick.c
"
96
#include "
external/glfw/src/posix_thread.c
"
97
#include "
external/glfw/src/posix_time.c
"
98
#include "
external/glfw/src/xkb_unicode.c
"
99
#include "
external/glfw/src/egl_context.c
"
100
#include "
external/glfw/src/osmesa_context.c
"
101
#endif
102
103
#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined( __NetBSD__) || defined(__DragonFly__)
104
#include "
external/glfw/src/x11_init.c
"
105
#include "
external/glfw/src/x11_monitor.c
"
106
#include "
external/glfw/src/x11_window.c
"
107
#include "
external/glfw/src/xkb_unicode.c
"
108
#include "
external/glfw/src/null_joystick.c
"
109
#include "
external/glfw/src/posix_time.c
"
110
#include "
external/glfw/src/posix_thread.c
"
111
#include "
external/glfw/src/glx_context.c
"
112
#include "
external/glfw/src/egl_context.c
"
113
#include "
external/glfw/src/osmesa_context.c
"
114
#endif
115
116
#if defined(__APPLE__)
117
#include "
external/glfw/src/cocoa_init.m
"
118
#include "
external/glfw/src/cocoa_joystick.m
"
119
#include "
external/glfw/src/cocoa_monitor.m
"
120
#include "
external/glfw/src/cocoa_window.m
"
121
#include "
external/glfw/src/cocoa_time.c
"
122
#include "
external/glfw/src/posix_thread.c
"
123
#include "
external/glfw/src/nsgl_context.m
"
124
#include "
external/glfw/src/egl_context.c
"
125
#include "
external/glfw/src/osmesa_context.c
"
126
#endif
cocoa_init.m
cocoa_joystick.m
cocoa_monitor.m
cocoa_time.c
cocoa_window.m
context.c
egl_context.c
glx_context.c
init.c
input.c
linux_joystick.c
monitor.c
nsgl_context.m
null_joystick.c
osmesa_context.c
posix_thread.c
posix_time.c
vulkan.c
wgl_context.c
win32_init.c
win32_joystick.c
win32_monitor.c
win32_thread.c
win32_time.c
win32_window.c
window.c
wl_init.c
wl_monitor.c
wl_window.c
x11_init.c
x11_monitor.c
x11_window.c
xkb_unicode.c
Game
raylib-master
src
rglfw.c
Generated by
1.9.5