gosu 1.4.5 → 1.4.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (101) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +0 -8
  3. data/dependencies/SDL/include/SDL.h +1 -1
  4. data/dependencies/SDL/include/SDL_assert.h +4 -10
  5. data/dependencies/SDL/include/SDL_atomic.h +1 -1
  6. data/dependencies/SDL/include/SDL_audio.h +1 -1
  7. data/dependencies/SDL/include/SDL_bits.h +1 -1
  8. data/dependencies/SDL/include/SDL_blendmode.h +1 -1
  9. data/dependencies/SDL/include/SDL_clipboard.h +1 -1
  10. data/dependencies/SDL/include/SDL_config.h +2 -2
  11. data/dependencies/SDL/include/SDL_cpuinfo.h +1 -1
  12. data/dependencies/SDL/include/SDL_egl.h +1 -1
  13. data/dependencies/SDL/include/SDL_endian.h +1 -1
  14. data/dependencies/SDL/include/SDL_error.h +1 -1
  15. data/dependencies/SDL/include/SDL_events.h +1 -1
  16. data/dependencies/SDL/include/SDL_filesystem.h +1 -1
  17. data/dependencies/SDL/include/SDL_gamecontroller.h +1 -1
  18. data/dependencies/SDL/include/SDL_gesture.h +1 -1
  19. data/dependencies/SDL/include/SDL_guid.h +1 -1
  20. data/dependencies/SDL/include/SDL_haptic.h +1 -1
  21. data/dependencies/SDL/include/SDL_hidapi.h +1 -1
  22. data/dependencies/SDL/include/SDL_hints.h +1 -1
  23. data/dependencies/SDL/include/SDL_joystick.h +1 -1
  24. data/dependencies/SDL/include/SDL_keyboard.h +1 -1
  25. data/dependencies/SDL/include/SDL_keycode.h +1 -1
  26. data/dependencies/SDL/include/SDL_loadso.h +1 -1
  27. data/dependencies/SDL/include/SDL_locale.h +1 -1
  28. data/dependencies/SDL/include/SDL_log.h +1 -1
  29. data/dependencies/SDL/include/SDL_main.h +1 -1
  30. data/dependencies/SDL/include/SDL_messagebox.h +1 -1
  31. data/dependencies/SDL/include/SDL_metal.h +1 -1
  32. data/dependencies/SDL/include/SDL_misc.h +1 -1
  33. data/dependencies/SDL/include/SDL_mouse.h +1 -1
  34. data/dependencies/SDL/include/SDL_mutex.h +1 -1
  35. data/dependencies/SDL/include/SDL_name.h +1 -1
  36. data/dependencies/SDL/include/SDL_opengl.h +1 -1
  37. data/dependencies/SDL/include/SDL_opengles.h +1 -1
  38. data/dependencies/SDL/include/SDL_opengles2.h +1 -1
  39. data/dependencies/SDL/include/SDL_pixels.h +1 -1
  40. data/dependencies/SDL/include/SDL_platform.h +1 -1
  41. data/dependencies/SDL/include/SDL_power.h +1 -1
  42. data/dependencies/SDL/include/SDL_quit.h +1 -1
  43. data/dependencies/SDL/include/SDL_rect.h +1 -1
  44. data/dependencies/SDL/include/SDL_render.h +1 -1
  45. data/dependencies/SDL/include/SDL_revision.h +2 -2
  46. data/dependencies/SDL/include/SDL_rwops.h +1 -1
  47. data/dependencies/SDL/include/SDL_scancode.h +1 -1
  48. data/dependencies/SDL/include/SDL_sensor.h +1 -1
  49. data/dependencies/SDL/include/SDL_shape.h +1 -1
  50. data/dependencies/SDL/include/SDL_stdinc.h +1 -1
  51. data/dependencies/SDL/include/SDL_surface.h +1 -1
  52. data/dependencies/SDL/include/SDL_system.h +1 -1
  53. data/dependencies/SDL/include/SDL_syswm.h +1 -1
  54. data/dependencies/SDL/include/SDL_test.h +1 -1
  55. data/dependencies/SDL/include/SDL_test_assert.h +1 -1
  56. data/dependencies/SDL/include/SDL_test_common.h +1 -1
  57. data/dependencies/SDL/include/SDL_test_compare.h +1 -1
  58. data/dependencies/SDL/include/SDL_test_crc32.h +1 -1
  59. data/dependencies/SDL/include/SDL_test_font.h +1 -1
  60. data/dependencies/SDL/include/SDL_test_fuzzer.h +1 -1
  61. data/dependencies/SDL/include/SDL_test_harness.h +1 -1
  62. data/dependencies/SDL/include/SDL_test_images.h +1 -1
  63. data/dependencies/SDL/include/SDL_test_log.h +1 -1
  64. data/dependencies/SDL/include/SDL_test_md5.h +1 -1
  65. data/dependencies/SDL/include/SDL_test_memory.h +1 -1
  66. data/dependencies/SDL/include/SDL_test_random.h +1 -1
  67. data/dependencies/SDL/include/SDL_thread.h +3 -3
  68. data/dependencies/SDL/include/SDL_timer.h +1 -1
  69. data/dependencies/SDL/include/SDL_touch.h +1 -1
  70. data/dependencies/SDL/include/SDL_types.h +1 -1
  71. data/dependencies/SDL/include/SDL_version.h +2 -2
  72. data/dependencies/SDL/include/SDL_video.h +1 -1
  73. data/dependencies/SDL/include/begin_code.h +1 -1
  74. data/dependencies/SDL/include/close_code.h +1 -1
  75. data/dependencies/SDL/lib/x64/libSDL2.dll.a +0 -0
  76. data/dependencies/SDL/lib/x86/libSDL2.dll.a +0 -0
  77. data/dependencies/SDL_sound/SDL_sound_internal.h +3 -3
  78. data/dependencies/SDL_sound/SDL_sound_wav.c +5 -0
  79. data/dependencies/mojoAL/mojoal.c +41 -30
  80. data/dependencies/stb/stb_image.h +117 -27
  81. data/ext/gosu/extconf.rb +1 -1
  82. data/include/Gosu/Version.hpp +1 -1
  83. data/lib/SDL2.dll +0 -0
  84. data/lib64/SDL2.dll +0 -0
  85. data/src/AudioFile.hpp +1 -1
  86. data/src/AudioFileSDLSound.cpp +2 -0
  87. data/src/AudioImpl.hpp +2 -2
  88. data/src/Input.cpp +30 -26
  89. data/src/RubyGosu.cxx +146 -93
  90. data/src/RubyGosu.h +5 -7
  91. metadata +3 -13
  92. data/dependencies/SDL/include/SDL_config_android.h +0 -157
  93. data/dependencies/SDL/include/SDL_config_iphoneos.h +0 -166
  94. data/dependencies/SDL/include/SDL_config_macosx.h +0 -197
  95. data/dependencies/SDL/include/SDL_config_minimal.h +0 -82
  96. data/dependencies/SDL/include/SDL_config_pandora.h +0 -128
  97. data/dependencies/SDL/include/SDL_config_psp.h +0 -144
  98. data/dependencies/SDL/include/SDL_config_windows.h +0 -225
  99. data/dependencies/SDL/include/SDL_config_winrt.h +0 -215
  100. data/dependencies/SDL/include/SDL_config_wiz.h +0 -121
  101. data/dependencies/SDL/include/SDL_copying.h +0 -20
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gosu
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.5
4
+ version: 1.4.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julian Raschke
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-24 00:00:00.000000000 Z
11
+ date: 2023-05-20 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: |2
14
14
  2D game development library.
@@ -36,16 +36,6 @@ files:
36
36
  - dependencies/SDL/include/SDL_blendmode.h
37
37
  - dependencies/SDL/include/SDL_clipboard.h
38
38
  - dependencies/SDL/include/SDL_config.h
39
- - dependencies/SDL/include/SDL_config_android.h
40
- - dependencies/SDL/include/SDL_config_iphoneos.h
41
- - dependencies/SDL/include/SDL_config_macosx.h
42
- - dependencies/SDL/include/SDL_config_minimal.h
43
- - dependencies/SDL/include/SDL_config_pandora.h
44
- - dependencies/SDL/include/SDL_config_psp.h
45
- - dependencies/SDL/include/SDL_config_windows.h
46
- - dependencies/SDL/include/SDL_config_winrt.h
47
- - dependencies/SDL/include/SDL_config_wiz.h
48
- - dependencies/SDL/include/SDL_copying.h
49
39
  - dependencies/SDL/include/SDL_cpuinfo.h
50
40
  - dependencies/SDL/include/SDL_egl.h
51
41
  - dependencies/SDL/include/SDL_endian.h
@@ -305,7 +295,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
305
295
  - !ruby/object:Gem::Version
306
296
  version: '0'
307
297
  requirements: []
308
- rubygems_version: 3.3.11
298
+ rubygems_version: 3.4.3
309
299
  signing_key:
310
300
  specification_version: 4
311
301
  summary: 2D game development library.
@@ -1,157 +0,0 @@
1
- /*
2
- Simple DirectMedia Layer
3
- Copyright (C) 1997-2017 Sam Lantinga <slouken@libsdl.org>
4
-
5
- This software is provided 'as-is', without any express or implied
6
- warranty. In no event will the authors be held liable for any damages
7
- arising from the use of this software.
8
-
9
- Permission is granted to anyone to use this software for any purpose,
10
- including commercial applications, and to alter it and redistribute it
11
- freely, subject to the following restrictions:
12
-
13
- 1. The origin of this software must not be misrepresented; you must not
14
- claim that you wrote the original software. If you use this software
15
- in a product, an acknowledgment in the product documentation would be
16
- appreciated but is not required.
17
- 2. Altered source versions must be plainly marked as such, and must not be
18
- misrepresented as being the original software.
19
- 3. This notice may not be removed or altered from any source distribution.
20
- */
21
-
22
- #ifndef SDL_config_android_h_
23
- #define SDL_config_android_h_
24
- #define SDL_config_h_
25
-
26
- #include "SDL_platform.h"
27
-
28
- /**
29
- * \file SDL_config_android.h
30
- *
31
- * This is a configuration that can be used to build SDL for Android
32
- */
33
-
34
- #include <stdarg.h>
35
-
36
- #define HAVE_GCC_ATOMICS 1
37
-
38
- #define HAVE_ALLOCA_H 1
39
- #define HAVE_SYS_TYPES_H 1
40
- #define HAVE_STDIO_H 1
41
- #define STDC_HEADERS 1
42
- #define HAVE_STRING_H 1
43
- #define HAVE_INTTYPES_H 1
44
- #define HAVE_STDINT_H 1
45
- #define HAVE_CTYPE_H 1
46
- #define HAVE_MATH_H 1
47
- #define HAVE_SIGNAL_H 1
48
-
49
- /* C library functions */
50
- #define HAVE_MALLOC 1
51
- #define HAVE_CALLOC 1
52
- #define HAVE_REALLOC 1
53
- #define HAVE_FREE 1
54
- #define HAVE_ALLOCA 1
55
- #define HAVE_GETENV 1
56
- #define HAVE_SETENV 1
57
- #define HAVE_PUTENV 1
58
- #define HAVE_SETENV 1
59
- #define HAVE_UNSETENV 1
60
- #define HAVE_QSORT 1
61
- #define HAVE_ABS 1
62
- #define HAVE_BCOPY 1
63
- #define HAVE_MEMSET 1
64
- #define HAVE_MEMCPY 1
65
- #define HAVE_MEMMOVE 1
66
- #define HAVE_MEMCMP 1
67
- #define HAVE_STRLEN 1
68
- #define HAVE_STRLCPY 1
69
- #define HAVE_STRLCAT 1
70
- #define HAVE_STRDUP 1
71
- #define HAVE_STRCHR 1
72
- #define HAVE_STRRCHR 1
73
- #define HAVE_STRSTR 1
74
- #define HAVE_STRTOL 1
75
- #define HAVE_STRTOUL 1
76
- #define HAVE_STRTOLL 1
77
- #define HAVE_STRTOULL 1
78
- #define HAVE_STRTOD 1
79
- #define HAVE_ATOI 1
80
- #define HAVE_ATOF 1
81
- #define HAVE_STRCMP 1
82
- #define HAVE_STRNCMP 1
83
- #define HAVE_STRCASECMP 1
84
- #define HAVE_STRNCASECMP 1
85
- #define HAVE_VSSCANF 1
86
- #define HAVE_VSNPRINTF 1
87
- #define HAVE_M_PI 1
88
- #define HAVE_ATAN 1
89
- #define HAVE_ATAN2 1
90
- #define HAVE_ACOS 1
91
- #define HAVE_ASIN 1
92
- #define HAVE_CEIL 1
93
- #define HAVE_COPYSIGN 1
94
- #define HAVE_COS 1
95
- #define HAVE_COSF 1
96
- #define HAVE_FABS 1
97
- #define HAVE_FLOOR 1
98
- #define HAVE_LOG 1
99
- #define HAVE_POW 1
100
- #define HAVE_SCALBN 1
101
- #define HAVE_SIN 1
102
- #define HAVE_SINF 1
103
- #define HAVE_SQRT 1
104
- #define HAVE_SQRTF 1
105
- #define HAVE_TAN 1
106
- #define HAVE_TANF 1
107
- #define HAVE_SIGACTION 1
108
- #define HAVE_SETJMP 1
109
- #define HAVE_NANOSLEEP 1
110
- #define HAVE_SYSCONF 1
111
- #define HAVE_CLOCK_GETTIME 1
112
-
113
- #define SIZEOF_VOIDP 4
114
-
115
- /* Enable various audio drivers */
116
- #define SDL_AUDIO_DRIVER_ANDROID 1
117
- #define SDL_AUDIO_DRIVER_DUMMY 1
118
-
119
- /* Enable various input drivers */
120
- #define SDL_JOYSTICK_ANDROID 1
121
- #define SDL_HAPTIC_ANDROID 1
122
-
123
- /* Enable various shared object loading systems */
124
- #define SDL_LOADSO_DLOPEN 1
125
-
126
- /* Enable various threading systems */
127
- #define SDL_THREAD_PTHREAD 1
128
- #define SDL_THREAD_PTHREAD_RECURSIVE_MUTEX 1
129
-
130
- /* Enable various timer systems */
131
- #define SDL_TIMER_UNIX 1
132
-
133
- /* Enable various video drivers */
134
- #define SDL_VIDEO_DRIVER_ANDROID 1
135
-
136
- /* Enable OpenGL ES */
137
- #define SDL_VIDEO_OPENGL_ES 1
138
- #define SDL_VIDEO_OPENGL_ES2 1
139
- #define SDL_VIDEO_OPENGL_EGL 1
140
- #define SDL_VIDEO_RENDER_OGL_ES 1
141
- #define SDL_VIDEO_RENDER_OGL_ES2 1
142
-
143
- /* Enable Vulkan support */
144
- /* Android does not support Vulkan in native code using the "armeabi" ABI. */
145
- #if defined(__ARM_ARCH) && __ARM_ARCH < 7
146
- #define SDL_VIDEO_VULKAN 0
147
- #else
148
- #define SDL_VIDEO_VULKAN 1
149
- #endif
150
-
151
- /* Enable system power support */
152
- #define SDL_POWER_ANDROID 1
153
-
154
- /* Enable the filesystem driver */
155
- #define SDL_FILESYSTEM_ANDROID 1
156
-
157
- #endif /* SDL_config_android_h_ */
@@ -1,166 +0,0 @@
1
- /*
2
- Simple DirectMedia Layer
3
- Copyright (C) 1997-2017 Sam Lantinga <slouken@libsdl.org>
4
-
5
- This software is provided 'as-is', without any express or implied
6
- warranty. In no event will the authors be held liable for any damages
7
- arising from the use of this software.
8
-
9
- Permission is granted to anyone to use this software for any purpose,
10
- including commercial applications, and to alter it and redistribute it
11
- freely, subject to the following restrictions:
12
-
13
- 1. The origin of this software must not be misrepresented; you must not
14
- claim that you wrote the original software. If you use this software
15
- in a product, an acknowledgment in the product documentation would be
16
- appreciated but is not required.
17
- 2. Altered source versions must be plainly marked as such, and must not be
18
- misrepresented as being the original software.
19
- 3. This notice may not be removed or altered from any source distribution.
20
- */
21
-
22
- #ifndef SDL_config_iphoneos_h_
23
- #define SDL_config_iphoneos_h_
24
- #define SDL_config_h_
25
-
26
- #include "SDL_platform.h"
27
-
28
- #ifdef __LP64__
29
- #define SIZEOF_VOIDP 8
30
- #else
31
- #define SIZEOF_VOIDP 4
32
- #endif
33
-
34
- #define HAVE_GCC_ATOMICS 1
35
-
36
- #define HAVE_ALLOCA_H 1
37
- #define HAVE_SYS_TYPES_H 1
38
- #define HAVE_STDIO_H 1
39
- #define STDC_HEADERS 1
40
- #define HAVE_STRING_H 1
41
- #define HAVE_INTTYPES_H 1
42
- #define HAVE_STDINT_H 1
43
- #define HAVE_CTYPE_H 1
44
- #define HAVE_MATH_H 1
45
- #define HAVE_SIGNAL_H 1
46
-
47
- /* C library functions */
48
- #define HAVE_MALLOC 1
49
- #define HAVE_CALLOC 1
50
- #define HAVE_REALLOC 1
51
- #define HAVE_FREE 1
52
- #define HAVE_ALLOCA 1
53
- #define HAVE_GETENV 1
54
- #define HAVE_SETENV 1
55
- #define HAVE_PUTENV 1
56
- #define HAVE_SETENV 1
57
- #define HAVE_UNSETENV 1
58
- #define HAVE_QSORT 1
59
- #define HAVE_ABS 1
60
- #define HAVE_BCOPY 1
61
- #define HAVE_MEMSET 1
62
- #define HAVE_MEMCPY 1
63
- #define HAVE_MEMMOVE 1
64
- #define HAVE_MEMCMP 1
65
- #define HAVE_STRLEN 1
66
- #define HAVE_STRLCPY 1
67
- #define HAVE_STRLCAT 1
68
- #define HAVE_STRDUP 1
69
- #define HAVE_STRCHR 1
70
- #define HAVE_STRRCHR 1
71
- #define HAVE_STRSTR 1
72
- #define HAVE_STRTOL 1
73
- #define HAVE_STRTOUL 1
74
- #define HAVE_STRTOLL 1
75
- #define HAVE_STRTOULL 1
76
- #define HAVE_STRTOD 1
77
- #define HAVE_ATOI 1
78
- #define HAVE_ATOF 1
79
- #define HAVE_STRCMP 1
80
- #define HAVE_STRNCMP 1
81
- #define HAVE_STRCASECMP 1
82
- #define HAVE_STRNCASECMP 1
83
- #define HAVE_VSSCANF 1
84
- #define HAVE_VSNPRINTF 1
85
- #define HAVE_M_PI 1
86
- #define HAVE_ATAN 1
87
- #define HAVE_ATAN2 1
88
- #define HAVE_ACOS 1
89
- #define HAVE_ASIN 1
90
- #define HAVE_CEIL 1
91
- #define HAVE_COPYSIGN 1
92
- #define HAVE_COS 1
93
- #define HAVE_COSF 1
94
- #define HAVE_FABS 1
95
- #define HAVE_FLOOR 1
96
- #define HAVE_LOG 1
97
- #define HAVE_POW 1
98
- #define HAVE_SCALBN 1
99
- #define HAVE_SIN 1
100
- #define HAVE_SINF 1
101
- #define HAVE_SQRT 1
102
- #define HAVE_SQRTF 1
103
- #define HAVE_TAN 1
104
- #define HAVE_TANF 1
105
- #define HAVE_SIGACTION 1
106
- #define HAVE_SETJMP 1
107
- #define HAVE_NANOSLEEP 1
108
- #define HAVE_SYSCONF 1
109
- #define HAVE_SYSCTLBYNAME 1
110
-
111
- /* enable iPhone version of Core Audio driver */
112
- #define SDL_AUDIO_DRIVER_COREAUDIO 1
113
- /* Enable the dummy audio driver (src/audio/dummy/\*.c) */
114
- #define SDL_AUDIO_DRIVER_DUMMY 1
115
-
116
- /* Enable the stub haptic driver (src/haptic/dummy/\*.c) */
117
- #define SDL_HAPTIC_DUMMY 1
118
-
119
- /* Enable MFi joystick support */
120
- #define SDL_JOYSTICK_MFI 1
121
-
122
- /* Enable Unix style SO loading */
123
- #define SDL_LOADSO_DLOPEN 1
124
-
125
- /* Enable various threading systems */
126
- #define SDL_THREAD_PTHREAD 1
127
- #define SDL_THREAD_PTHREAD_RECURSIVE_MUTEX 1
128
-
129
- /* Enable various timer systems */
130
- #define SDL_TIMER_UNIX 1
131
-
132
- /* Supported video drivers */
133
- #define SDL_VIDEO_DRIVER_UIKIT 1
134
- #define SDL_VIDEO_DRIVER_DUMMY 1
135
-
136
- /* enable OpenGL ES */
137
- #define SDL_VIDEO_OPENGL_ES2 1
138
- #define SDL_VIDEO_OPENGL_ES 1
139
- #define SDL_VIDEO_RENDER_OGL_ES 1
140
- #define SDL_VIDEO_RENDER_OGL_ES2 1
141
-
142
- /* Enable Vulkan support */
143
- #if !TARGET_OS_SIMULATOR && !TARGET_CPU_ARM // Only 64-bit devices have Metal
144
- #define SDL_VIDEO_VULKAN 1
145
- #else
146
- #define SDL_VIDEO_VULKAN 0
147
- #endif
148
-
149
- /* Enable system power support */
150
- #define SDL_POWER_UIKIT 1
151
-
152
- /* enable iPhone keyboard support */
153
- #define SDL_IPHONE_KEYBOARD 1
154
-
155
- /* enable iOS extended launch screen */
156
- #define SDL_IPHONE_LAUNCHSCREEN 1
157
-
158
- /* Set max recognized G-force from accelerometer
159
- See src/joystick/uikit/SDL_sysjoystick.m for notes on why this is needed
160
- */
161
- #define SDL_IPHONE_MAX_GFORCE 5.0
162
-
163
- /* enable filesystem support */
164
- #define SDL_FILESYSTEM_COCOA 1
165
-
166
- #endif /* SDL_config_iphoneos_h_ */
@@ -1,197 +0,0 @@
1
- /*
2
- Simple DirectMedia Layer
3
- Copyright (C) 1997-2017 Sam Lantinga <slouken@libsdl.org>
4
-
5
- This software is provided 'as-is', without any express or implied
6
- warranty. In no event will the authors be held liable for any damages
7
- arising from the use of this software.
8
-
9
- Permission is granted to anyone to use this software for any purpose,
10
- including commercial applications, and to alter it and redistribute it
11
- freely, subject to the following restrictions:
12
-
13
- 1. The origin of this software must not be misrepresented; you must not
14
- claim that you wrote the original software. If you use this software
15
- in a product, an acknowledgment in the product documentation would be
16
- appreciated but is not required.
17
- 2. Altered source versions must be plainly marked as such, and must not be
18
- misrepresented as being the original software.
19
- 3. This notice may not be removed or altered from any source distribution.
20
- */
21
-
22
- #ifndef SDL_config_macosx_h_
23
- #define SDL_config_macosx_h_
24
- #define SDL_config_h_
25
-
26
- #include "SDL_platform.h"
27
-
28
- /* This gets us MAC_OS_X_VERSION_MIN_REQUIRED... */
29
- #include <AvailabilityMacros.h>
30
-
31
- /* This is a set of defines to configure the SDL features */
32
-
33
- #ifdef __LP64__
34
- #define SIZEOF_VOIDP 8
35
- #else
36
- #define SIZEOF_VOIDP 4
37
- #endif
38
-
39
- /* Useful headers */
40
- #define HAVE_ALLOCA_H 1
41
- #define HAVE_SYS_TYPES_H 1
42
- #define HAVE_STDIO_H 1
43
- #define STDC_HEADERS 1
44
- #define HAVE_STRING_H 1
45
- #define HAVE_INTTYPES_H 1
46
- #define HAVE_STDINT_H 1
47
- #define HAVE_CTYPE_H 1
48
- #define HAVE_MATH_H 1
49
- #define HAVE_SIGNAL_H 1
50
-
51
- /* C library functions */
52
- #define HAVE_MALLOC 1
53
- #define HAVE_CALLOC 1
54
- #define HAVE_REALLOC 1
55
- #define HAVE_FREE 1
56
- #define HAVE_ALLOCA 1
57
- #define HAVE_GETENV 1
58
- #define HAVE_SETENV 1
59
- #define HAVE_PUTENV 1
60
- #define HAVE_UNSETENV 1
61
- #define HAVE_QSORT 1
62
- #define HAVE_ABS 1
63
- #define HAVE_BCOPY 1
64
- #define HAVE_MEMSET 1
65
- #define HAVE_MEMCPY 1
66
- #define HAVE_MEMMOVE 1
67
- #define HAVE_MEMCMP 1
68
- #define HAVE_STRLEN 1
69
- #define HAVE_STRLCPY 1
70
- #define HAVE_STRLCAT 1
71
- #define HAVE_STRDUP 1
72
- #define HAVE_STRCHR 1
73
- #define HAVE_STRRCHR 1
74
- #define HAVE_STRSTR 1
75
- #define HAVE_STRTOL 1
76
- #define HAVE_STRTOUL 1
77
- #define HAVE_STRTOLL 1
78
- #define HAVE_STRTOULL 1
79
- #define HAVE_STRTOD 1
80
- #define HAVE_ATOI 1
81
- #define HAVE_ATOF 1
82
- #define HAVE_STRCMP 1
83
- #define HAVE_STRNCMP 1
84
- #define HAVE_STRCASECMP 1
85
- #define HAVE_STRNCASECMP 1
86
- #define HAVE_VSSCANF 1
87
- #define HAVE_VSNPRINTF 1
88
- #define HAVE_CEIL 1
89
- #define HAVE_COPYSIGN 1
90
- #define HAVE_COS 1
91
- #define HAVE_COSF 1
92
- #define HAVE_FABS 1
93
- #define HAVE_FLOOR 1
94
- #define HAVE_LOG 1
95
- #define HAVE_POW 1
96
- #define HAVE_SCALBN 1
97
- #define HAVE_SIN 1
98
- #define HAVE_SINF 1
99
- #define HAVE_SQRT 1
100
- #define HAVE_SQRTF 1
101
- #define HAVE_TAN 1
102
- #define HAVE_TANF 1
103
- #define HAVE_SIGACTION 1
104
- #define HAVE_SETJMP 1
105
- #define HAVE_NANOSLEEP 1
106
- #define HAVE_SYSCONF 1
107
- #define HAVE_SYSCTLBYNAME 1
108
- #define HAVE_ATAN 1
109
- #define HAVE_ATAN2 1
110
- #define HAVE_ACOS 1
111
- #define HAVE_ASIN 1
112
-
113
- /* Enable various audio drivers */
114
- #define SDL_AUDIO_DRIVER_COREAUDIO 1
115
- #define SDL_AUDIO_DRIVER_DISK 1
116
- #define SDL_AUDIO_DRIVER_DUMMY 1
117
-
118
- /* Enable various input drivers */
119
- #define SDL_JOYSTICK_IOKIT 1
120
- #define SDL_HAPTIC_IOKIT 1
121
-
122
- /* Enable various shared object loading systems */
123
- #define SDL_LOADSO_DLOPEN 1
124
-
125
- /* Enable various threading systems */
126
- #define SDL_THREAD_PTHREAD 1
127
- #define SDL_THREAD_PTHREAD_RECURSIVE_MUTEX 1
128
-
129
- /* Enable various timer systems */
130
- #define SDL_TIMER_UNIX 1
131
-
132
- /* Enable various video drivers */
133
- #define SDL_VIDEO_DRIVER_COCOA 1
134
- #define SDL_VIDEO_DRIVER_DUMMY 1
135
- #undef SDL_VIDEO_DRIVER_X11
136
- #define SDL_VIDEO_DRIVER_X11_DYNAMIC "/usr/X11R6/lib/libX11.6.dylib"
137
- #define SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT "/usr/X11R6/lib/libXext.6.dylib"
138
- #define SDL_VIDEO_DRIVER_X11_DYNAMIC_XINERAMA "/usr/X11R6/lib/libXinerama.1.dylib"
139
- #define SDL_VIDEO_DRIVER_X11_DYNAMIC_XINPUT2 "/usr/X11R6/lib/libXi.6.dylib"
140
- #define SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR "/usr/X11R6/lib/libXrandr.2.dylib"
141
- #define SDL_VIDEO_DRIVER_X11_DYNAMIC_XSS "/usr/X11R6/lib/libXss.1.dylib"
142
- #define SDL_VIDEO_DRIVER_X11_DYNAMIC_XVIDMODE "/usr/X11R6/lib/libXxf86vm.1.dylib"
143
- #define SDL_VIDEO_DRIVER_X11_XDBE 1
144
- #define SDL_VIDEO_DRIVER_X11_XINERAMA 1
145
- #define SDL_VIDEO_DRIVER_X11_XRANDR 1
146
- #define SDL_VIDEO_DRIVER_X11_XSCRNSAVER 1
147
- #define SDL_VIDEO_DRIVER_X11_XSHAPE 1
148
- #define SDL_VIDEO_DRIVER_X11_XVIDMODE 1
149
- #define SDL_VIDEO_DRIVER_X11_HAS_XKBKEYCODETOKEYSYM 1
150
-
151
- #ifdef MAC_OS_X_VERSION_10_8
152
- /*
153
- * No matter the versions targeted, this is the 10.8 or later SDK, so you have
154
- * to use the external Xquartz, which is a more modern Xlib. Previous SDKs
155
- * used an older Xlib.
156
- */
157
- #define SDL_VIDEO_DRIVER_X11_XINPUT2 1
158
- #define SDL_VIDEO_DRIVER_X11_SUPPORTS_GENERIC_EVENTS 1
159
- #define SDL_VIDEO_DRIVER_X11_CONST_PARAM_XEXTADDDISPLAY 1
160
- #endif
161
-
162
- #ifndef SDL_VIDEO_RENDER_OGL
163
- #define SDL_VIDEO_RENDER_OGL 1
164
- #endif
165
-
166
- /* Enable OpenGL support */
167
- #ifndef SDL_VIDEO_OPENGL
168
- #define SDL_VIDEO_OPENGL 1
169
- #endif
170
- #ifndef SDL_VIDEO_OPENGL_CGL
171
- #define SDL_VIDEO_OPENGL_CGL 1
172
- #endif
173
- #ifndef SDL_VIDEO_OPENGL_GLX
174
- #define SDL_VIDEO_OPENGL_GLX 1
175
- #endif
176
-
177
- /* Enable Vulkan support */
178
- /* Metal/MoltenVK/Vulkan only supported on 64-bit architectures with 10.11+ */
179
- #if TARGET_CPU_X86_64 && (MAC_OS_X_VERSION_MAX_ALLOWED >= 101100)
180
- #define SDL_VIDEO_VULKAN 1
181
- #else
182
- #define SDL_VIDEO_VULKAN 0
183
- #endif
184
-
185
- /* Enable system power support */
186
- #define SDL_POWER_MACOSX 1
187
-
188
- /* enable filesystem support */
189
- #define SDL_FILESYSTEM_COCOA 1
190
-
191
- /* Enable assembly routines */
192
- #define SDL_ASSEMBLY_ROUTINES 1
193
- #ifdef __ppc__
194
- #define SDL_ALTIVEC_BLITTERS 1
195
- #endif
196
-
197
- #endif /* SDL_config_macosx_h_ */
@@ -1,82 +0,0 @@
1
- /*
2
- Simple DirectMedia Layer
3
- Copyright (C) 1997-2017 Sam Lantinga <slouken@libsdl.org>
4
-
5
- This software is provided 'as-is', without any express or implied
6
- warranty. In no event will the authors be held liable for any damages
7
- arising from the use of this software.
8
-
9
- Permission is granted to anyone to use this software for any purpose,
10
- including commercial applications, and to alter it and redistribute it
11
- freely, subject to the following restrictions:
12
-
13
- 1. The origin of this software must not be misrepresented; you must not
14
- claim that you wrote the original software. If you use this software
15
- in a product, an acknowledgment in the product documentation would be
16
- appreciated but is not required.
17
- 2. Altered source versions must be plainly marked as such, and must not be
18
- misrepresented as being the original software.
19
- 3. This notice may not be removed or altered from any source distribution.
20
- */
21
-
22
- #ifndef SDL_config_minimal_h_
23
- #define SDL_config_minimal_h_
24
- #define SDL_config_h_
25
-
26
- #include "SDL_platform.h"
27
-
28
- /**
29
- * \file SDL_config_minimal.h
30
- *
31
- * This is the minimal configuration that can be used to build SDL.
32
- */
33
-
34
- #define HAVE_STDARG_H 1
35
- #define HAVE_STDDEF_H 1
36
-
37
- /* Most everything except Visual Studio 2008 and earlier has stdint.h now */
38
- #if defined(_MSC_VER) && (_MSC_VER < 1600)
39
- /* Here are some reasonable defaults */
40
- typedef unsigned int size_t;
41
- typedef signed char int8_t;
42
- typedef unsigned char uint8_t;
43
- typedef signed short int16_t;
44
- typedef unsigned short uint16_t;
45
- typedef signed int int32_t;
46
- typedef unsigned int uint32_t;
47
- typedef signed long long int64_t;
48
- typedef unsigned long long uint64_t;
49
- typedef unsigned long uintptr_t;
50
- #else
51
- #define HAVE_STDINT_H 1
52
- #endif /* Visual Studio 2008 */
53
-
54
- #ifdef __GNUC__
55
- #define HAVE_GCC_SYNC_LOCK_TEST_AND_SET 1
56
- #endif
57
-
58
- /* Enable the dummy audio driver (src/audio/dummy/\*.c) */
59
- #define SDL_AUDIO_DRIVER_DUMMY 1
60
-
61
- /* Enable the stub joystick driver (src/joystick/dummy/\*.c) */
62
- #define SDL_JOYSTICK_DISABLED 1
63
-
64
- /* Enable the stub haptic driver (src/haptic/dummy/\*.c) */
65
- #define SDL_HAPTIC_DISABLED 1
66
-
67
- /* Enable the stub shared object loader (src/loadso/dummy/\*.c) */
68
- #define SDL_LOADSO_DISABLED 1
69
-
70
- /* Enable the stub thread support (src/thread/generic/\*.c) */
71
- #define SDL_THREADS_DISABLED 1
72
-
73
- /* Enable the stub timer support (src/timer/dummy/\*.c) */
74
- #define SDL_TIMERS_DISABLED 1
75
-
76
- /* Enable the dummy video driver (src/video/dummy/\*.c) */
77
- #define SDL_VIDEO_DRIVER_DUMMY 1
78
-
79
- /* Enable the dummy filesystem driver (src/filesystem/dummy/\*.c) */
80
- #define SDL_FILESYSTEM_DUMMY 1
81
-
82
- #endif /* SDL_config_minimal_h_ */