| 1 |
/* |
| 2 |
|
| 3 |
Boost Software License - Version 1.0 - August 17th,2003 |
| 4 |
|
| 5 |
Permission is hereby granted,free of charge,to any person or organization |
| 6 |
obtaining a copy of the software and accompanying documentation covered by |
| 7 |
this license (the "Software") to use,reproduce,display,distribute, |
| 8 |
execute,and transmit the Software,and to prepare derivative works of the |
| 9 |
Software,and to permit third-parties to whom the Software is furnished to |
| 10 |
do so,all subject to the following: |
| 11 |
|
| 12 |
The copyright notices in the Software and this entire statement,including |
| 13 |
the above license grant,this restriction and the following disclaimer, |
| 14 |
must be included in all copies of the Software,in whole or in part,and |
| 15 |
all derivative works of the Software,unless such copies or derivative |
| 16 |
works are solely in the form of machine-executable object code generated by |
| 17 |
a source language processor. |
| 18 |
|
| 19 |
THE SOFTWARE IS PROVIDED "AS IS",WITHOUT WARRANTY OF ANY KIND,EXPRESS OR |
| 20 |
IMPLIED,INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 21 |
FITNESS FOR A PARTICULAR PURPOSE,TITLE AND NON-INFRINGEMENT. IN NO EVENT |
| 22 |
SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE |
| 23 |
FOR ANY DAMAGES OR OTHER LIABILITY,WHETHER IN CONTRACT,TORT OR OTHERWISE, |
| 24 |
ARISING FROM,OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
| 25 |
DEALINGS IN THE SOFTWARE. |
| 26 |
|
| 27 |
*/ |
| 28 |
module derelict.sdl2.internal.sdl_dynamic; |
| 29 |
|
| 30 |
import core.stdc.stdarg, |
| 31 |
core.stdc.stdio; |
| 32 |
import derelict.util.system; |
| 33 |
import derelict.sdl2.internal.sdl_types; |
| 34 |
|
| 35 |
extern(C) @nogc nothrow { |
| 36 |
// SDL.h |
| 37 |
alias da_SDL_Init = int function(Uint32); |
| 38 |
alias da_SDL_InitSubSystem = int function(Uint32); |
| 39 |
alias da_SDL_QuitSubSystem = void function(Uint32); |
| 40 |
alias da_SDL_WasInit = Uint32 function(Uint32); |
| 41 |
alias da_SDL_Quit = void function(); |
| 42 |
alias da_SDL_free = void function(void* mem); |
| 43 |
|
| 44 |
// SDL_assert.h |
| 45 |
alias da_SDL_SetAssertionHandler = void function(SDL_AssertionHandler,void*); |
| 46 |
alias da_SDL_GetDefaultAssertionHandler = SDL_AssertionHandler function(); |
| 47 |
alias da_SDL_GetAssertionHandler = SDL_AssertionHandler function(void**); |
| 48 |
alias da_SDL_GetAssertionReport = const(SDL_assert_data)* function(); |
| 49 |
alias da_SDL_ResetAssertionReport = void function(); |
| 50 |
|
| 51 |
// SDL_audio.h |
| 52 |
alias da_SDL_GetNumAudioDrivers = int function(); |
| 53 |
alias da_SDL_GetAudioDriver = const(char)* function(int); |
| 54 |
alias da_SDL_AudioInit = int function(const(char)*); |
| 55 |
alias da_SDL_AudioQuit = void function(); |
| 56 |
alias da_SDL_GetCurrentAudioDriver = const(char)* function(); |
| 57 |
alias da_SDL_OpenAudio = int function(SDL_AudioSpec*,SDL_AudioSpec*); |
| 58 |
alias da_SDL_GetNumAudioDevices = int function(int); |
| 59 |
alias da_SDL_GetAudioDeviceName = const(char)* function(int,int); |
| 60 |
alias da_SDL_OpenAudioDevice = SDL_AudioDeviceID function(const(char)*,int,const(SDL_AudioSpec)*,SDL_AudioSpec*,int); |
| 61 |
alias da_SDL_GetAudioStatus = SDL_AudioStatus function(); |
| 62 |
alias da_SDL_GetAudioDeviceStatus = SDL_AudioStatus function(SDL_AudioDeviceID); |
| 63 |
alias da_SDL_PauseAudio = void function(int); |
| 64 |
alias da_SDL_PauseAudioDevice = void function(SDL_AudioDeviceID,int); |
| 65 |
alias da_SDL_LoadWAV_RW = SDL_AudioSpec* function(SDL_RWops*,int,SDL_AudioSpec*,Uint8**,Uint32*); |
| 66 |
alias da_SDL_FreeWAV = void function(Uint8*); |
| 67 |
alias da_SDL_BuildAudioCVT = int function(SDL_AudioCVT*,SDL_AudioFormat,Uint8,int,SDL_AudioFormat,Uint8,int); |
| 68 |
alias da_SDL_ConvertAudio = int function(SDL_AudioCVT*); |
| 69 |
alias da_SDL_MixAudio = void function(Uint8*,const(Uint8)*,Uint32,int); |
| 70 |
alias da_SDL_MixAudioFormat = void function(Uint8*,const(Uint8)*,SDL_AudioFormat,Uint32,int); |
| 71 |
alias da_SDL_QueueAudio = int function(SDL_AudioDeviceID,const (void)*,Uint32); |
| 72 |
alias da_SDL_DequeueAudio = Uint32 function(SDL_AudioDeviceID,void*,Uint32); |
| 73 |
alias da_SDL_GetQueuedAudioSize = int function(SDL_AudioDeviceID); |
| 74 |
alias da_SDL_ClearQueuedAudio = int function(SDL_AudioDeviceID); |
| 75 |
alias da_SDL_LockAudio = void function(); |
| 76 |
alias da_SDL_LockAudioDevice = void function(SDL_AudioDeviceID); |
| 77 |
alias da_SDL_UnlockAudio = void function(); |
| 78 |
alias da_SDL_UnlockAudioDevice = void function(SDL_AudioDeviceID); |
| 79 |
alias da_SDL_CloseAudio = void function(); |
| 80 |
alias da_SDL_CloseAudioDevice = void function(SDL_AudioDeviceID); |
| 81 |
alias da_SDL_AudioDeviceConnected = int function(SDL_AudioDeviceID); |
| 82 |
|
| 83 |
// SDL_clipboard.h |
| 84 |
alias da_SDL_SetClipboardText = int function(const(char)*); |
| 85 |
alias da_SDL_GetClipboardText = char* function(); |
| 86 |
alias da_SDL_HasClipboardText = SDL_bool function(); |
| 87 |
|
| 88 |
// SDL_cpuinfo.h |
| 89 |
alias da_SDL_GetCPUCount = int function(); |
| 90 |
alias da_SDL_GetCPUCacheLineSize = int function(); |
| 91 |
alias da_SDL_HasRDTSC = SDL_bool function(); |
| 92 |
alias da_SDL_HasAltiVec = SDL_bool function(); |
| 93 |
alias da_SDL_HasMMX = SDL_bool function(); |
| 94 |
alias da_SDL_Has3DNow = SDL_bool function(); |
| 95 |
alias da_SDL_HasSSE = SDL_bool function(); |
| 96 |
alias da_SDL_HasSSE2 = SDL_bool function(); |
| 97 |
alias da_SDL_HasSSE3 = SDL_bool function(); |
| 98 |
alias da_SDL_HasSSE41 = SDL_bool function(); |
| 99 |
alias da_SDL_HasSSE42 = SDL_bool function(); |
| 100 |
alias da_SDL_HasAVX = SDL_bool function(); |
| 101 |
alias da_SDL_HasAVX2 = SDL_bool function(); |
| 102 |
alias da_SDL_GetSystemRAM = int function(); |
| 103 |
|
| 104 |
// SDL_error.h |
| 105 |
alias da_SDL_SetError = void function(const(char)*,...); |
| 106 |
alias da_SDL_GetError = const(char)* function(); |
| 107 |
alias da_SDL_ClearError = void function(); |
| 108 |
|
| 109 |
// SDL_events.h |
| 110 |
alias da_SDL_PumpEvents = void function(); |
| 111 |
alias da_SDL_PeepEvents = int function(SDL_Event*,int,SDL_eventaction,Uint32,Uint32); |
| 112 |
alias da_SDL_HasEvent = SDL_bool function(Uint32); |
| 113 |
alias da_SDL_HasEvents = SDL_bool function(Uint32,Uint32); |
| 114 |
alias da_SDL_FlushEvent = void function(Uint32); |
| 115 |
alias da_SDL_FlushEvents = void function(Uint32,Uint32); |
| 116 |
alias da_SDL_PollEvent = int function(SDL_Event*); |
| 117 |
alias da_SDL_WaitEvent = int function(SDL_Event*); |
| 118 |
alias da_SDL_WaitEventTimeout = int function(SDL_Event*,int); |
| 119 |
alias da_SDL_PushEvent = int function(SDL_Event*); |
| 120 |
alias da_SDL_SetEventFilter = void function(SDL_EventFilter,void*); |
| 121 |
alias da_SDL_GetEventFilter = SDL_bool function(SDL_EventFilter*,void**); |
| 122 |
alias da_SDL_AddEventWatch = void function(SDL_EventFilter,void*); |
| 123 |
alias da_SDL_DelEventWatch = void function(SDL_EventFilter,void*); |
| 124 |
alias da_SDL_FilterEvents = void function(SDL_EventFilter,void*); |
| 125 |
alias da_SDL_EventState = Uint8 function(Uint32,int); |
| 126 |
alias da_SDL_RegisterEvents = Uint32 function(int); |
| 127 |
|
| 128 |
// SDL_filesystem.h |
| 129 |
alias da_SDL_GetBasePath = char* function(); |
| 130 |
alias da_SDL_GetPrefPath = char* function(const(char)* org,const(char)* app); |
| 131 |
|
| 132 |
// SDL_gamecontroller.h |
| 133 |
alias da_SDL_GameControllerAddMappingsFromRW = int function(SDL_RWops*,int); |
| 134 |
alias da_SDL_GameControllerAddMapping = int function(const(char)*); |
| 135 |
alias da_SDL_GameControllerMappingForGUID = char* function(SDL_JoystickGUID); |
| 136 |
alias da_SDL_GameControllerMapping = char* function(SDL_GameController*); |
| 137 |
alias da_SDL_IsGameController = SDL_bool function(int); |
| 138 |
alias da_SDL_GameControllerNameForIndex = const(char)* function(int); |
| 139 |
alias da_SDL_GameControllerOpen = SDL_GameController* function(int); |
| 140 |
alias da_SDL_GameControllerFromInstanceID = SDL_GameController* function(SDL_JoystickID); |
| 141 |
alias da_SDL_GameControllerName = const(char)* function(SDL_GameController*); |
| 142 |
alias da_SDL_GameControllerGetAttached = SDL_bool function(SDL_GameController*); |
| 143 |
alias da_SDL_GameControllerGetJoystick = SDL_Joystick* function(SDL_GameController*); |
| 144 |
alias da_SDL_GameControllerEventState = int function(int); |
| 145 |
alias da_SDL_GameControllerUpdate = void function(); |
| 146 |
alias da_SDL_GameControllerGetAxisFromString = SDL_GameControllerAxis function(const(char)*); |
| 147 |
alias da_SDL_GameControllerGetStringForAxis = const(char)* function(SDL_GameControllerAxis); |
| 148 |
alias da_SDL_GameControllerGetBindForAxis = SDL_GameControllerButtonBind function(SDL_GameController*,SDL_GameControllerAxis); |
| 149 |
alias da_SDL_GameControllerGetAxis = Sint16 function(SDL_GameController*,SDL_GameControllerAxis); |
| 150 |
alias da_SDL_GameControllerGetButtonFromString = SDL_GameControllerButton function(const(char*)); |
| 151 |
alias da_SDL_GameControllerGetStringForButton = const(char)* function(SDL_GameControllerButton); |
| 152 |
alias da_SDL_GameControllerGetBindForButton = SDL_GameControllerButtonBind function(SDL_GameController*,SDL_GameControllerButton); |
| 153 |
alias da_SDL_GameControllerGetButton = Uint8 function(SDL_GameController*,SDL_GameControllerButton); |
| 154 |
alias da_SDL_GameControllerClose = void function(SDL_GameController*); |
| 155 |
|
| 156 |
// SDL_gesture.h |
| 157 |
alias da_SDL_RecordGesture = int function(SDL_TouchID); |
| 158 |
alias da_SDL_SaveAllDollarTemplates = int function(SDL_RWops*); |
| 159 |
alias da_SDL_SaveDollarTemplate = int function(SDL_GestureID,SDL_RWops*); |
| 160 |
alias da_SDL_LoadDollarTemplates = int function(SDL_TouchID,SDL_RWops*); |
| 161 |
|
| 162 |
// SDL_haptic.h |
| 163 |
alias da_SDL_NumHaptics = int function(); |
| 164 |
alias da_SDL_HapticName = const(char)* function(int); |
| 165 |
alias da_SDL_HapticOpen = SDL_Haptic* function(int); |
| 166 |
alias da_SDL_HapticOpened = int function(int); |
| 167 |
alias da_SDL_HapticIndex = int function(SDL_Haptic*); |
| 168 |
alias da_SDL_MouseIsHaptic = int function(); |
| 169 |
alias da_SDL_HapticOpenFromMouse = SDL_Haptic* function(); |
| 170 |
alias da_SDL_JoystickIsHaptic = int function(SDL_Joystick*); |
| 171 |
alias da_SDL_HapticOpenFromJoystick = SDL_Haptic* function(SDL_Joystick*); |
| 172 |
alias da_SDL_HapticClose = int function(SDL_Haptic*); |
| 173 |
alias da_SDL_HapticNumEffects = int function(SDL_Haptic*); |
| 174 |
alias da_SDL_HapticNumEffectsPlaying = int function(SDL_Haptic*); |
| 175 |
alias da_SDL_HapticQuery = uint function(SDL_Haptic*); |
| 176 |
alias da_SDL_HapticNumAxes = int function(SDL_Haptic*); |
| 177 |
alias da_SDL_HapticEffectSupported = int function(SDL_Haptic*,SDL_HapticEffect*); |
| 178 |
alias da_SDL_HapticNewEffect = int function(SDL_Haptic*,SDL_HapticEffect*); |
| 179 |
alias da_SDL_HapticUpdateEffect = int function(SDL_Haptic*,int,SDL_HapticEffect*); |
| 180 |
alias da_SDL_HapticRunEffect = int function(SDL_Haptic*,int,Uint32); |
| 181 |
alias da_SDL_HapticStopEffect = int function(SDL_Haptic*,int); |
| 182 |
alias da_SDL_HapticDestroyEffect = int function(SDL_Haptic*,int); |
| 183 |
alias da_SDL_HapticGetEffectStatus = int function(SDL_Haptic*,int); |
| 184 |
alias da_SDL_HapticSetGain = int function(SDL_Haptic*,int); |
| 185 |
alias da_SDL_HapticSetAutocenter = int function(SDL_Haptic*,int); |
| 186 |
alias da_SDL_HapticPause = int function(SDL_Haptic*); |
| 187 |
alias da_SDL_HapticUnpause = int function(SDL_Haptic*); |
| 188 |
alias da_SDL_HapticStopAll = int function(SDL_Haptic*); |
| 189 |
alias da_SDL_HapticRumbleSupported = int function(SDL_Haptic*); |
| 190 |
alias da_SDL_HapticRumbleInit = int function(SDL_Haptic*); |
| 191 |
alias da_SDL_HapticRumblePlay = int function(SDL_Haptic*,float,Uint32); |
| 192 |
alias da_SDL_HapticRumbleStop = int function(SDL_Haptic*); |
| 193 |
|
| 194 |
// SDL_hints.h |
| 195 |
alias da_SDL_SetHintWithPriority = SDL_bool function(const(char)*,const(char)*,SDL_HintPriority); |
| 196 |
alias da_SDL_SetHint = SDL_bool function(const(char)*,const(char)*); |
| 197 |
alias da_SDL_GetHint = const(char)* function(const(char)*); |
| 198 |
alias da_SDL_GetHintBoolean = SDL_bool function(const(char)*,SDL_bool); |
| 199 |
alias da_SDL_AddHintCallback = void function(const(char)*,SDL_HintCallback,void*); |
| 200 |
alias da_SDL_DelHintCallback = void function(const(char)*,SDL_HintCallback,void*); |
| 201 |
alias da_SDL_ClearHints = void function(); |
| 202 |
|
| 203 |
// SDL_joystick.h |
| 204 |
alias da_SDL_NumJoysticks = int function(); |
| 205 |
alias da_SDL_JoystickNameForIndex = const(char)* function(int); |
| 206 |
alias da_SDL_JoystickOpen = SDL_Joystick* function(int); |
| 207 |
alias da_SDL_JoystickFromInstanceID = SDL_Joystick* function(SDL_JoystickID); |
| 208 |
alias da_SDL_JoystickName = const(char)* function(SDL_Joystick*); |
| 209 |
alias da_SDL_JoystickGetDeviceGUID = SDL_JoystickGUID function(int); |
| 210 |
alias da_SDL_JoystickGetGUID = SDL_JoystickGUID function(SDL_Joystick*); |
| 211 |
alias da_SDL_JoystickGetGUIDString = char* function(SDL_JoystickGUID); |
| 212 |
alias da_SDL_JoystickGetGUIDFromString = SDL_JoystickGUID function(const(char)*); |
| 213 |
alias da_SDL_JoystickGetAttached = SDL_bool function(SDL_Joystick*); |
| 214 |
alias da_SDL_JoystickInstanceID = SDL_JoystickID function(SDL_Joystick*); |
| 215 |
alias da_SDL_JoystickNumAxes = int function(SDL_Joystick*); |
| 216 |
alias da_SDL_JoystickNumBalls = int function(SDL_Joystick*); |
| 217 |
alias da_SDL_JoystickNumHats = int function(SDL_Joystick*); |
| 218 |
alias da_SDL_JoystickNumButtons = int function(SDL_Joystick*); |
| 219 |
alias da_SDL_JoystickUpdate = void function(); |
| 220 |
alias da_SDL_JoystickEventState = int function(int); |
| 221 |
alias da_SDL_JoystickGetAxis = Sint16 function(SDL_Joystick*,int); |
| 222 |
alias da_SDL_JoystickGetHat = Uint8 function(SDL_Joystick*,int); |
| 223 |
alias da_SDL_JoystickGetBall = int function(SDL_Joystick*,int,int*,int*); |
| 224 |
alias da_SDL_JoystickGetButton = Uint8 function(SDL_Joystick*,int); |
| 225 |
alias da_SDL_JoystickClose = void function(SDL_Joystick*); |
| 226 |
alias da_SDL_JoystickCurrentPowerLevel = SDL_JoystickPowerLevel function(SDL_Joystick*); |
| 227 |
|
| 228 |
// SDL_keyboard.h |
| 229 |
alias da_SDL_GetKeyboardFocus = SDL_Window* function(); |
| 230 |
alias da_SDL_GetKeyboardState = Uint8* function(int*); |
| 231 |
alias da_SDL_GetModState = SDL_Keymod function(); |
| 232 |
alias da_SDL_SetModState = void function(SDL_Keymod); |
| 233 |
alias da_SDL_GetKeyFromScancode = SDL_Keycode function(SDL_Scancode); |
| 234 |
alias da_SDL_GetScancodeFromKey = SDL_Scancode function(SDL_Keycode); |
| 235 |
alias da_SDL_GetScancodeName = const(char)* function(SDL_Scancode); |
| 236 |
alias da_SDL_GetScancodeFromName = SDL_Scancode function(const(char)*); |
| 237 |
alias da_SDL_GetKeyName = const(char)* function(SDL_Keycode); |
| 238 |
alias da_SDL_GetKeyFromName = SDL_Keycode function(const(char)*); |
| 239 |
alias da_SDL_StartTextInput = void function(); |
| 240 |
alias da_SDL_IsTextInputActive = SDL_bool function(); |
| 241 |
alias da_SDL_StopTextInput = void function(); |
| 242 |
alias da_SDL_SetTextInputRect = void function(SDL_Rect*); |
| 243 |
alias da_SDL_HasScreenKeyboardSupport = SDL_bool function(); |
| 244 |
alias da_SDL_IsScreenKeyboardShown = SDL_bool function(SDL_Window*); |
| 245 |
|
| 246 |
// SDL_loadso.h |
| 247 |
alias da_SDL_LoadObject = void* function(const(char)*); |
| 248 |
alias da_SDL_LoadFunction = void* function(void*,const(char*)); |
| 249 |
alias da_SDL_UnloadObject = void function(void*); |
| 250 |
|
| 251 |
// SDL_log.h |
| 252 |
alias da_SDL_LogSetAllPriority = void function(SDL_LogPriority); |
| 253 |
alias da_SDL_LogSetPriority = void function(int,SDL_LogPriority); |
| 254 |
alias da_SDL_LogGetPriority = SDL_LogPriority function(int); |
| 255 |
alias da_SDL_LogResetPriorities = void function(); |
| 256 |
alias da_SDL_Log = void function(const(char)*,...); |
| 257 |
alias da_SDL_LogVerbose = void function(int,const(char)*,...); |
| 258 |
alias da_SDL_LogDebug = void function(int,const(char)*,...); |
| 259 |
alias da_SDL_LogInfo = void function(int,const(char)*,...); |
| 260 |
alias da_SDL_LogWarn = void function(int,const(char)*,...); |
| 261 |
alias da_SDL_LogError = void function(int,const(char)*,...); |
| 262 |
alias da_SDL_LogCritical = void function(int,const(char)*,...); |
| 263 |
alias da_SDL_LogMessage = void function(int,SDL_LogPriority,const(char)*,...); |
| 264 |
alias da_SDL_LogMessageV = void function(int,SDL_LogPriority,const(char)*,va_list); |
| 265 |
alias da_SDL_LogGetOutputFunction = void function(SDL_LogOutputFunction,void**); |
| 266 |
alias da_SDL_LogSetOutputFunction = void function(SDL_LogOutputFunction,void*); |
| 267 |
|
| 268 |
// SDL_messagebox.h |
| 269 |
alias da_SDL_ShowMessageBox = int function(const(SDL_MessageBoxData)*,int*); |
| 270 |
alias da_SDL_ShowSimpleMessageBox = int function(Uint32,const(char)*,const(char)*,SDL_Window*); |
| 271 |
|
| 272 |
// SDL_mouse.h |
| 273 |
alias da_SDL_GetMouseFocus = SDL_Window* function(); |
| 274 |
alias da_SDL_GetMouseState = Uint32 function(int*,int*); |
| 275 |
alias da_SDL_GetGlobalMouseState = Uint32 function(int*,int*); |
| 276 |
alias da_SDL_GetRelativeMouseState = Uint32 function(int*,int*); |
| 277 |
alias da_SDL_WarpMouseInWindow = void function(SDL_Window*,int,int); |
| 278 |
alias da_SDL_WarpMouseGlobal = void function(int,int); |
| 279 |
alias da_SDL_SetRelativeMouseMode = int function(SDL_bool); |
| 280 |
alias da_SDL_CaptureMouse = int function(SDL_bool); |
| 281 |
alias da_SDL_GetRelativeMouseMode = SDL_bool function(); |
| 282 |
alias da_SDL_CreateCursor = SDL_Cursor* function(const(Uint8)*,const(Uint8)*,int,int,int,int); |
| 283 |
alias da_SDL_CreateColorCursor = SDL_Cursor* function(SDL_Surface*,int,int); |
| 284 |
alias da_SDL_CreateSystemCursor = SDL_Cursor* function(SDL_SystemCursor); |
| 285 |
alias da_SDL_SetCursor = void function(SDL_Cursor*); |
| 286 |
alias da_SDL_GetCursor = SDL_Cursor* function(); |
| 287 |
alias da_SDL_GetDefaultCursor = SDL_Cursor* function(); |
| 288 |
alias da_SDL_FreeCursor = void function(SDL_Cursor*); |
| 289 |
alias da_SDL_ShowCursor = int function(int); |
| 290 |
|
| 291 |
// SDL_pixels.h |
| 292 |
alias da_SDL_GetPixelFormatName = const(char)* function(Uint32); |
| 293 |
alias da_SDL_PixelFormatEnumToMasks = SDL_bool function(Uint32,int*,Uint32*,Uint32*,Uint32*,Uint32*); |
| 294 |
alias da_SDL_MasksToPixelFormatEnum = Uint32 function(int,Uint32,Uint32,Uint32,Uint32); |
| 295 |
alias da_SDL_AllocFormat = SDL_PixelFormat* function(Uint32); |
| 296 |
alias da_SDL_FreeFormat = void function(SDL_PixelFormat*); |
| 297 |
alias da_SDL_AllocPalette = SDL_Palette* function(int); |
| 298 |
alias da_SDL_SetPixelFormatPalette = int function(SDL_PixelFormat*,SDL_Palette*); |
| 299 |
alias da_SDL_SetPaletteColors = int function(SDL_Palette*,const(SDL_Color)*,int,int); |
| 300 |
alias da_SDL_FreePalette = void function(SDL_Palette*); |
| 301 |
alias da_SDL_MapRGB = Uint32 function(const(SDL_PixelFormat)*,Uint8,Uint8,Uint8); |
| 302 |
alias da_SDL_MapRGBA = Uint32 function(const(SDL_PixelFormat)*,Uint8,Uint8,Uint8,Uint8); |
| 303 |
alias da_SDL_GetRGB = void function(Uint32,const(SDL_PixelFormat)*,Uint8*,Uint8*,Uint8*); |
| 304 |
alias da_SDL_GetRGBA = void function(Uint32,const(SDL_PixelFormat)*,Uint8*,Uint8*,Uint8*,Uint8*); |
| 305 |
alias da_SDL_CalculateGammaRamp = void function(float,Uint16*); |
| 306 |
|
| 307 |
// SDL_platform.h |
| 308 |
alias da_SDL_GetPlatform = const(char)* function(); |
| 309 |
|
| 310 |
// SDL_power.h |
| 311 |
alias da_SDL_GetPowerInfo = SDL_PowerState function(int*,int*); |
| 312 |
|
| 313 |
// SDL_Rect.h |
| 314 |
alias da_SDL_HasIntersection = SDL_bool function(const(SDL_Rect)*,const(SDL_Rect)*); |
| 315 |
alias da_SDL_IntersectRect = SDL_bool function(const(SDL_Rect)*,const(SDL_Rect)*,SDL_Rect*); |
| 316 |
alias da_SDL_UnionRect = void function(const(SDL_Rect)*,const(SDL_Rect)*,SDL_Rect*); |
| 317 |
alias da_SDL_EnclosePoints = SDL_bool function(const(SDL_Point)*,int,const(SDL_Rect)*,SDL_Rect*); |
| 318 |
alias da_SDL_IntersectRectAndLine = SDL_bool function(const(SDL_Rect)*,int*,int*,int*,int*); |
| 319 |
|
| 320 |
// SDL_Render.h |
| 321 |
alias da_SDL_GetNumRenderDrivers = int function(); |
| 322 |
alias da_SDL_GetRenderDriverInfo = int function(int,SDL_RendererInfo*); |
| 323 |
alias da_SDL_CreateWindowAndRenderer = int function(int,int,Uint32,SDL_Window**,SDL_Renderer**); |
| 324 |
alias da_SDL_CreateRenderer = SDL_Renderer* function(SDL_Window*,int,SDL_RendererFlags); |
| 325 |
alias da_SDL_CreateSoftwareRenderer = SDL_Renderer* function(SDL_Surface*); |
| 326 |
alias da_SDL_GetRenderer = SDL_Renderer* function(SDL_Window*); |
| 327 |
alias da_SDL_GetRendererInfo = int function(SDL_Renderer*,SDL_RendererInfo*); |
| 328 |
alias da_SDL_GetRendererOutputSize = int function(SDL_Renderer*,int*,int*); |
| 329 |
alias da_SDL_CreateTexture = SDL_Texture* function(SDL_Renderer*,Uint32,SDL_TextureAccess,int,int); |
| 330 |
alias da_SDL_CreateTextureFromSurface = SDL_Texture* function(SDL_Renderer*,SDL_Surface*); |
| 331 |
alias da_SDL_QueryTexture = int function(SDL_Texture*,Uint32*,int*,int*,int*); |
| 332 |
alias da_SDL_SetTextureColorMod = int function(SDL_Texture*,Uint8,Uint8,Uint8); |
| 333 |
alias da_SDL_GetTextureColorMod = int function(SDL_Texture*,Uint8*,Uint8*,Uint8*); |
| 334 |
alias da_SDL_SetTextureAlphaMod = int function(SDL_Texture*,Uint8); |
| 335 |
alias da_SDL_GetTextureAlphaMod = int function(SDL_Texture*,Uint8*); |
| 336 |
alias da_SDL_SetTextureBlendMode = int function(SDL_Texture*,SDL_BlendMode); |
| 337 |
alias da_SDL_GetTextureBlendMode = int function(SDL_Texture*,SDL_BlendMode*); |
| 338 |
alias da_SDL_UpdateTexture = int function(SDL_Texture*,const(SDL_Rect)*,const(void)*,int); |
| 339 |
alias da_SDL_UpdateYUVTexture = int function(SDL_Texture*,const(SDL_Rect)*,const(Uint8)*,int,const(Uint8)*,int,const(Uint8)*,int); |
| 340 |
alias da_SDL_LockTexture = int function(SDL_Texture*,const(SDL_Rect)*,void**,int*); |
| 341 |
alias da_SDL_UnlockTexture = void function(SDL_Texture*); |
| 342 |
alias da_SDL_RenderTargetSupported = SDL_bool function(SDL_Renderer*); |
| 343 |
alias da_SDL_SetRenderTarget = int function(SDL_Renderer*,SDL_Texture*); |
| 344 |
alias da_SDL_GetRenderTarget = SDL_Texture* function(SDL_Renderer*); |
| 345 |
alias da_SDL_RenderSetClipRect = int function(SDL_Renderer*,const(SDL_Rect)*); |
| 346 |
alias da_SDL_RenderGetClipRect = void function(SDL_Renderer* renderer,SDL_Rect*); |
| 347 |
alias da_SDL_RenderSetLogicalSize = int function(SDL_Renderer*,int,int); |
| 348 |
alias da_SDL_RenderGetLogicalSize = void function(SDL_Renderer*,int*,int*); |
| 349 |
alias da_SDL_RenderSetIntegerScale = int function(SDL_Renderer*,SDL_bool); |
| 350 |
alias da_SDL_RenderGetIntegerScale = SDL_bool function(SDL_Renderer*); |
| 351 |
alias da_SDL_RenderSetViewport = int function(SDL_Renderer*,const(SDL_Rect)*); |
| 352 |
alias da_SDL_RenderGetViewport = void function(SDL_Renderer*,SDL_Rect*); |
| 353 |
alias da_SDL_RenderIsClipEnabled = SDL_bool function(SDL_Renderer*); |
| 354 |
alias da_SDL_RenderSetScale = int function(SDL_Renderer*,float,float); |
| 355 |
alias da_SDL_RenderGetScale = int function(SDL_Renderer*,float*,float*); |
| 356 |
alias da_SDL_SetRenderDrawColor = int function(SDL_Renderer*,Uint8,Uint8,Uint8,Uint8); |
| 357 |
alias da_SDL_GetRenderDrawColor = int function(SDL_Renderer*,Uint8*,Uint8*,Uint8*,Uint8*); |
| 358 |
alias da_SDL_SetRenderDrawBlendMode = int function(SDL_Renderer*,SDL_BlendMode); |
| 359 |
alias da_SDL_GetRenderDrawBlendMode = int function(SDL_Renderer*,SDL_BlendMode*); |
| 360 |
alias da_SDL_RenderClear = int function(SDL_Renderer*); |
| 361 |
alias da_SDL_RenderDrawPoint = int function(SDL_Renderer*,int,int); |
| 362 |
alias da_SDL_RenderDrawPoints = int function(SDL_Renderer*,const(SDL_Point)*,int); |
| 363 |
alias da_SDL_RenderDrawLine = int function(SDL_Renderer*,int,int,int,int); |
| 364 |
alias da_SDL_RenderDrawLines = int function(SDL_Renderer*,const(SDL_Point)*,int); |
| 365 |
alias da_SDL_RenderDrawRect = int function(SDL_Renderer*,const(SDL_Rect)*); |
| 366 |
alias da_SDL_RenderDrawRects = int function(SDL_Renderer*,const(SDL_Rect)*,int); |
| 367 |
alias da_SDL_RenderFillRect = int function(SDL_Renderer*,const(SDL_Rect)*); |
| 368 |
alias da_SDL_RenderFillRects = int function(SDL_Renderer*,const(SDL_Rect)*,int); |
| 369 |
alias da_SDL_RenderCopy = int function(SDL_Renderer*,SDL_Texture*,const(SDL_Rect)*,const(SDL_Rect*)); |
| 370 |
alias da_SDL_RenderCopyEx = int function(SDL_Renderer*,SDL_Texture*,const(SDL_Rect)*,const(SDL_Rect)*,const(double),const(SDL_Point)*,const(SDL_RendererFlip)); |
| 371 |
alias da_SDL_RenderReadPixels = int function(SDL_Renderer*,const(SDL_Rect)*,Uint32,void*,int); |
| 372 |
alias da_SDL_RenderPresent = void function(SDL_Renderer*); |
| 373 |
alias da_SDL_DestroyTexture = void function(SDL_Texture*); |
| 374 |
alias da_SDL_DestroyRenderer = void function(SDL_Renderer*); |
| 375 |
alias da_SDL_GL_BindTexture = int function(SDL_Texture*,float*,float*); |
| 376 |
alias da_SDL_GL_UnbindTexture = int function(SDL_Texture*); |
| 377 |
|
| 378 |
// SDL_rwops.h |
| 379 |
alias da_SDL_RWFromFile = SDL_RWops* function(const(char)*,const(char)*); |
| 380 |
alias da_SDL_RWFromFP = SDL_RWops* function(FILE*,SDL_bool); |
| 381 |
alias da_SDL_RWFromMem = SDL_RWops* function(void*,int); |
| 382 |
alias da_SDL_RWFromConstMem = SDL_RWops* function(const(void)*,int); |
| 383 |
alias da_SDL_AllocRW = SDL_RWops* function(); |
| 384 |
alias da_SDL_FreeRW = void function(SDL_RWops*); |
| 385 |
alias da_SDL_ReadU8 = Uint8 function(SDL_RWops*); |
| 386 |
alias da_SDL_ReadLE16 = Uint16 function(SDL_RWops*); |
| 387 |
alias da_SDL_ReadBE16 = Uint16 function(SDL_RWops*); |
| 388 |
alias da_SDL_ReadLE32 = Uint32 function(SDL_RWops*); |
| 389 |
alias da_SDL_ReadBE32 = Uint32 function(SDL_RWops*); |
| 390 |
alias da_SDL_ReadLE64 = Uint64 function(SDL_RWops*); |
| 391 |
alias da_SDL_ReadBE64 = Uint64 function(SDL_RWops*); |
| 392 |
alias da_SDL_WriteU8 = size_t function(SDL_RWops*,Uint8); |
| 393 |
alias da_SDL_WriteLE16 = size_t function(SDL_RWops*,Uint16); |
| 394 |
alias da_SDL_WriteBE16 = size_t function(SDL_RWops*,Uint16); |
| 395 |
alias da_SDL_WriteLE32 = size_t function(SDL_RWops*,Uint32); |
| 396 |
alias da_SDL_WriteBE32 = size_t function(SDL_RWops*,Uint32); |
| 397 |
alias da_SDL_WriteLE64 = size_t function(SDL_RWops*,Uint64); |
| 398 |
alias da_SDL_WriteBE64 = size_t function(SDL_RWops*,Uint64); |
| 399 |
|
| 400 |
// SDL_shape.h |
| 401 |
alias da_SDL_CreateShapedWindow = SDL_Window* function(const(char)*,uint,uint,uint,uint,Uint32); |
| 402 |
alias da_SDL_IsShapedWindow = SDL_bool function(const(SDL_Window)*); |
| 403 |
alias da_SDL_SetWindowShape = int function(SDL_Window*,SDL_Surface*,SDL_WindowShapeMode*); |
| 404 |
alias da_SDL_GetShapedWindowMode = int function(SDL_Window*,SDL_WindowShapeMode*); |
| 405 |
|
| 406 |
// SDL_surface.h |
| 407 |
alias da_SDL_CreateRGBSurface = SDL_Surface* function(Uint32,int,int,int,Uint32,Uint32,Uint32,Uint32); |
| 408 |
alias da_SDL_CreateRGBSurfaceWithFormat = SDL_Surface* function(Uint32,int,int,int,Uint32); |
| 409 |
alias da_SDL_CreateRGBSurfaceFrom = SDL_Surface* function(void*,int,int,int,int,Uint32,Uint32,Uint32,Uint32); |
| 410 |
alias da_SDL_CreateRGBSurfaceWithFormatFrom = SDL_Surface* function(void*,int,int,int,int,Uint32); |
| 411 |
alias da_SDL_FreeSurface = void function(SDL_Surface*); |
| 412 |
alias da_SDL_SetSurfacePalette = int function(SDL_Surface*,SDL_Palette*); |
| 413 |
alias da_SDL_LockSurface = int function(SDL_Surface*); |
| 414 |
alias da_SDL_UnlockSurface = int function(SDL_Surface*); |
| 415 |
alias da_SDL_LoadBMP_RW = SDL_Surface* function(SDL_RWops*,int); |
| 416 |
alias da_SDL_SaveBMP_RW = int function(SDL_Surface*,SDL_RWops*,int); |
| 417 |
alias da_SDL_SetSurfaceRLE = int function(SDL_Surface*,int); |
| 418 |
alias da_SDL_SetColorKey = int function(SDL_Surface*,int,Uint32); |
| 419 |
alias da_SDL_GetColorKey = int function(SDL_Surface*,Uint32*); |
| 420 |
alias da_SDL_SetSurfaceColorMod = int function(SDL_Surface*,Uint8,Uint8,Uint8); |
| 421 |
alias da_SDL_GetSurfaceColorMod = int function(SDL_Surface*,Uint8*,Uint8*,Uint8*); |
| 422 |
alias da_SDL_SetSurfaceAlphaMod = int function(SDL_Surface*,Uint8); |
| 423 |
alias da_SDL_GetSurfaceAlphaMod = int function(SDL_Surface*,Uint8*); |
| 424 |
alias da_SDL_SetSurfaceBlendMode = int function(SDL_Surface*,SDL_BlendMode); |
| 425 |
alias da_SDL_GetSurfaceBlendMode = int function(SDL_Surface*,SDL_BlendMode*); |
| 426 |
alias da_SDL_SetClipRect = SDL_bool function(SDL_Surface*,const(SDL_Rect)*); |
| 427 |
alias da_SDL_GetClipRect = void function(SDL_Surface*,SDL_Rect*); |
| 428 |
alias da_SDL_ConvertSurface = SDL_Surface* function(SDL_Surface*,const(SDL_PixelFormat)*,Uint32); |
| 429 |
alias da_SDL_ConvertSurfaceFormat = SDL_Surface* function(SDL_Surface*,Uint32,Uint32); |
| 430 |
alias da_SDL_ConvertPixels = int function(int,int,Uint32,const(void)*,int,Uint32,void*,int); |
| 431 |
alias da_SDL_FillRect = int function(SDL_Surface*,const(SDL_Rect)*,Uint32); |
| 432 |
alias da_SDL_FillRects = int function(SDL_Surface*,const(SDL_Rect)*,int,Uint32); |
| 433 |
alias da_SDL_UpperBlit = int function(SDL_Surface*,const(SDL_Rect)*,SDL_Surface*,SDL_Rect*); |
| 434 |
alias da_SDL_LowerBlit = int function(SDL_Surface*,SDL_Rect*,SDL_Surface*,SDL_Rect*); |
| 435 |
alias da_SDL_SoftStretch = int function(SDL_Surface*,const(SDL_Rect)*,SDL_Surface*,const(SDL_Rect)*); |
| 436 |
alias da_SDL_UpperBlitScaled = int function(SDL_Surface*,const(SDL_Rect)*,SDL_Surface*,SDL_Rect*); |
| 437 |
alias da_SDL_LowerBlitScaled = int function(SDL_Surface*,SDL_Rect*,SDL_Surface*,SDL_Rect*); |
| 438 |
|
| 439 |
// SDL_system.h |
| 440 |
static if(Derelict_OS_Windows) { |
| 441 |
alias da_SDL_Direct3D9GetAdapterIndex = int function(int); |
| 442 |
alias da_SDL_RenderGetD3D9Device = IDirect3DDevice9* function(SDL_Renderer*); |
| 443 |
alias da_SDL_DXGIGetOutputInfo = SDL_bool function (int,int*,int*); |
| 444 |
} |
| 445 |
static if(Derelict_OS_iOS) { |
| 446 |
alias da_SDL_iPhoneSetAnimationCallback = int function(SDL_Window*,int,SDL_iPhoneAnimationCallback,void*); |
| 447 |
alias da_SDL_iPhoneSetEventPump = void function(SDL_bool); |
| 448 |
} |
| 449 |
static if(Derelict_OS_Android) { |
| 450 |
alias da_SDL_AndroidGetJNIEnv = void* function(); |
| 451 |
alias da_SDL_AndroidGetActivity = void* function(); |
| 452 |
|
| 453 |
alias da_SDL_AndroidGetInternalStoragePath = const(char)* function(); |
| 454 |
alias da_SDL_AndroidGetInternalStorageState = int function(); |
| 455 |
alias da_SDL_AndroidGetExternalStoragePath = const(char)* function(); |
| 456 |
} |
| 457 |
static if(Derelict_OS_WinRT) { |
| 458 |
alias da_SDL_WinRTGetFSPathUNICODE = const(wchar_t)* function(SDL_WinRT_Path); |
| 459 |
alias da_SDL_WinRTGetFSPathUTF8 = const(char)* function(SDL_WinRT_Path); |
| 460 |
alias da_SDL_WinRTRunApp = int function(int function(int,char**),void*); |
| 461 |
} |
| 462 |
|
| 463 |
// SDL_syswm.h |
| 464 |
alias da_SDL_GetWindowWMInfo = SDL_bool function(SDL_Window* window,SDL_SysWMinfo * info); |
| 465 |
|
| 466 |
// SDL_timer.h |
| 467 |
alias da_SDL_GetTicks = Uint32 function(); |
| 468 |
alias da_SDL_GetPerformanceCounter = Uint64 function(); |
| 469 |
alias da_SDL_GetPerformanceFrequency = Uint64 function(); |
| 470 |
alias da_SDL_Delay = void function(Uint32); |
| 471 |
alias da_SDL_AddTimer = SDL_TimerID function(Uint32,SDL_TimerCallback,void*); |
| 472 |
alias da_SDL_RemoveTimer = SDL_bool function(SDL_TimerID); |
| 473 |
|
| 474 |
// SDL_touch.h |
| 475 |
alias da_SDL_GetNumTouchDevices = int function(); |
| 476 |
alias da_SDL_GetTouchDevice = SDL_TouchID function(int); |
| 477 |
alias da_SDL_GetNumTouchFingers = int function(SDL_TouchID); |
| 478 |
alias da_SDL_GetTouchFinger = SDL_Finger* function(SDL_TouchID,int); |
| 479 |
|
| 480 |
// SDL_version.h |
| 481 |
alias da_SDL_GetVersion = void function(SDL_version*); |
| 482 |
alias da_SDL_GetRevision = const(char)* function(); |
| 483 |
alias da_SDL_GetRevisionNumber = int function(); |
| 484 |
|
| 485 |
// SDL_video.h |
| 486 |
alias da_SDL_GetNumVideoDrivers = int function(); |
| 487 |
alias da_SDL_GetVideoDriver = const(char)* function(int); |
| 488 |
alias da_SDL_VideoInit = int function(const(char)*); |
| 489 |
alias da_SDL_VideoQuit = void function(); |
| 490 |
alias da_SDL_GetCurrentVideoDriver = const(char)* function(); |
| 491 |
alias da_SDL_GetNumVideoDisplays = int function(); |
| 492 |
alias da_SDL_GetDisplayName = const(char)* function(int); |
| 493 |
alias da_SDL_GetDisplayBounds = int function(int,SDL_Rect*); |
| 494 |
alias da_SDL_GetDisplayDPI = int function(int,float*,float*,float*); |
| 495 |
alias da_SDL_GetDisplayUsableBounds = int function(int,SDL_Rect*); |
| 496 |
alias da_SDL_GetNumDisplayModes = int function(int); |
| 497 |
alias da_SDL_GetDisplayMode = int function(int,int,SDL_DisplayMode*); |
| 498 |
alias da_SDL_GetDesktopDisplayMode = int function(int,SDL_DisplayMode*); |
| 499 |
alias da_SDL_GetCurrentDisplayMode = int function(int,SDL_DisplayMode*); |
| 500 |
alias da_SDL_GetClosestDisplayMode = SDL_DisplayMode* function(int,const(SDL_DisplayMode)*,SDL_DisplayMode*); |
| 501 |
alias da_SDL_GetWindowDisplayIndex = int function(SDL_Window*); |
| 502 |
alias da_SDL_SetWindowDisplayMode = int function(SDL_Window*,const(SDL_DisplayMode)*); |
| 503 |
alias da_SDL_GetWindowDisplayMode = int function(SDL_Window*,SDL_DisplayMode*); |
| 504 |
alias da_SDL_GetWindowPixelFormat = Uint32 function(SDL_Window*); |
| 505 |
alias da_SDL_CreateWindow = SDL_Window* function(const(char)*,int,int,int,int,SDL_WindowFlags); |
| 506 |
alias da_SDL_CreateWindowFrom = SDL_Window* function(const(void)*); |
| 507 |
alias da_SDL_GetWindowID = Uint32 function(SDL_Window*); |
| 508 |
alias da_SDL_GetWindowFromID = SDL_Window* function(Uint32); |
| 509 |
alias da_SDL_GetWindowFlags = SDL_WindowFlags function(SDL_Window*); |
| 510 |
alias da_SDL_SetWindowTitle = void function(SDL_Window*,const(char)*); |
| 511 |
alias da_SDL_GetWindowTitle = const(char)* function(SDL_Window*); |
| 512 |
alias da_SDL_SetWindowIcon = void function(SDL_Window*,SDL_Surface*); |
| 513 |
alias da_SDL_SetWindowData = void* function(SDL_Window*,const(char)*,void*); |
| 514 |
alias da_SDL_GetWindowData = void* function(SDL_Window*,const(char)*); |
| 515 |
alias da_SDL_SetWindowPosition = void function(SDL_Window*,int,int); |
| 516 |
alias da_SDL_GetWindowPosition = void function(SDL_Window*,int*,int*); |
| 517 |
alias da_SDL_SetWindowSize = void function(SDL_Window*,int,int); |
| 518 |
alias da_SDL_GetWindowSize = void function(SDL_Window*,int*,int*); |
| 519 |
alias da_SDL_GetWindowBordersSize = int function(SDL_Window*,int*,int*,int*,int*); |
| 520 |
alias da_SDL_SetWindowMinimumSize = void function(SDL_Window*,int,int); |
| 521 |
alias da_SDL_GetWindowMinimumSize = void function(SDL_Window*,int*,int*); |
| 522 |
alias da_SDL_SetWindowMaximumSize = void function(SDL_Window*,int,int); |
| 523 |
alias da_SDL_GetWindowMaximumSize = void function(SDL_Window*,int*,int*); |
| 524 |
alias da_SDL_SetWindowBordered = void function(SDL_Window*,SDL_bool); |
| 525 |
alias da_SDL_SetWindowResizable = void function(SDL_Window*,SDL_bool); |
| 526 |
alias da_SDL_ShowWindow = void function(SDL_Window*); |
| 527 |
alias da_SDL_HideWindow = void function(SDL_Window*); |
| 528 |
alias da_SDL_RaiseWindow = void function(SDL_Window*); |
| 529 |
alias da_SDL_MaximizeWindow = void function(SDL_Window*); |
| 530 |
alias da_SDL_MinimizeWindow = void function(SDL_Window*); |
| 531 |
alias da_SDL_RestoreWindow = void function(SDL_Window*); |
| 532 |
alias da_SDL_SetWindowFullscreen = int function(SDL_Window*,Uint32); |
| 533 |
alias da_SDL_GetWindowSurface = SDL_Surface* function(SDL_Window*); |
| 534 |
alias da_SDL_UpdateWindowSurface = int function(SDL_Window*); |
| 535 |
alias da_SDL_UpdateWindowSurfaceRects = int function(SDL_Window*,SDL_Rect*,int); |
| 536 |
alias da_SDL_SetWindowGrab = void function(SDL_Window*,SDL_bool); |
| 537 |
alias da_SDL_GetWindowGrab = SDL_bool function(SDL_Window*); |
| 538 |
alias da_SDL_GetGrabbedWindow = SDL_Window* function(); |
| 539 |
alias da_SDL_SetWindowBrightness = int function(SDL_Window*,float); |
| 540 |
alias da_SDL_GetWindowBrightness = float function(SDL_Window*); |
| 541 |
alias da_SDL_SetWindowOpacity = int function(SDL_Window*,float); |
| 542 |
alias da_SDL_GetWindowOpacity = int function(SDL_Window*,float*); |
| 543 |
alias da_SDL_SetWindowModalFor = int function(SDL_Window*,SDL_Window*); |
| 544 |
alias da_SDL_SetWindowInputFocus = int function(SDL_Window*); |
| 545 |
alias da_SDL_SetWindowGammaRamp = int function(SDL_Window*,const(Uint16)*,const(Uint16)*,const(Uint16)*); |
| 546 |
alias da_SDL_GetWindowGammaRamp = int function(SDL_Window*,Uint16*,Uint16*,Uint16*); |
| 547 |
alias da_SDL_SetWindowHitTest = int function(SDL_Window*,SDL_HitTest,void*); |
| 548 |
alias da_SDL_DestroyWindow = void function(SDL_Window*); |
| 549 |
alias da_SDL_IsScreenSaverEnabled = SDL_bool function(); |
| 550 |
alias da_SDL_EnableScreenSaver = void function(); |
| 551 |
alias da_SDL_DisableScreenSaver = void function(); |
| 552 |
alias da_SDL_GL_LoadLibrary = int function(const(char)*); |
| 553 |
alias da_SDL_GL_GetProcAddress = void* function(const(char)*); |
| 554 |
alias da_SDL_GL_UnloadLibrary = void function(); |
| 555 |
alias da_SDL_GL_ExtensionSupported = SDL_bool function(const(char)*); |
| 556 |
alias da_SDL_GL_ResetAttributes = void function(); |
| 557 |
alias da_SDL_GL_SetAttribute = int function(SDL_GLattr,int); |
| 558 |
alias da_SDL_GL_GetAttribute = int function(SDL_GLattr,int*); |
| 559 |
alias da_SDL_GL_CreateContext = SDL_GLContext function(SDL_Window*); |
| 560 |
alias da_SDL_GL_MakeCurrent = int function(SDL_Window*,SDL_GLContext); |
| 561 |
alias da_SDL_GL_GetCurrentWindow = SDL_Window* function(); |
| 562 |
alias da_SDL_GL_GetCurrentContext = SDL_GLContext function(); |
| 563 |
alias da_SDL_GL_GetDrawableSize = void function(SDL_Window*,int*,int*); |
| 564 |
alias da_SDL_GL_SetSwapInterval = int function(int); |
| 565 |
alias da_SDL_GL_GetSwapInterval = int function(); |
| 566 |
alias da_SDL_GL_SwapWindow = void function(SDL_Window*); |
| 567 |
alias da_SDL_GL_DeleteContext = void function(SDL_GLContext); |
| 568 |
} |
| 569 |
|
| 570 |
__gshared { |
| 571 |
da_SDL_Init SDL_Init; |
| 572 |
da_SDL_InitSubSystem SDL_InitSubSystem; |
| 573 |
da_SDL_QuitSubSystem SDL_QuitSubSystem; |
| 574 |
da_SDL_WasInit SDL_WasInit; |
| 575 |
da_SDL_Quit SDL_Quit; |
| 576 |
da_SDL_free SDL_free; |
| 577 |
|
| 578 |
da_SDL_SetAssertionHandler SDL_SetAssertionHandler; |
| 579 |
da_SDL_GetDefaultAssertionHandler SDL_GetDefaultAssertionHandler; |
| 580 |
da_SDL_GetAssertionHandler SDL_GetAssertionHandler; |
| 581 |
da_SDL_GetAssertionReport SDL_GetAssertionReport; |
| 582 |
da_SDL_ResetAssertionReport SDL_ResetAssertionReport; |
| 583 |
|
| 584 |
da_SDL_GetNumAudioDrivers SDL_GetNumAudioDrivers; |
| 585 |
da_SDL_GetAudioDriver SDL_GetAudioDriver; |
| 586 |
da_SDL_AudioInit SDL_AudioInit; |
| 587 |
da_SDL_AudioQuit SDL_AudioQuit; |
| 588 |
da_SDL_GetCurrentAudioDriver SDL_GetCurrentAudioDriver; |
| 589 |
da_SDL_OpenAudio SDL_OpenAudio; |
| 590 |
da_SDL_GetNumAudioDevices SDL_GetNumAudioDevices; |
| 591 |
da_SDL_GetAudioDeviceName SDL_GetAudioDeviceName; |
| 592 |
da_SDL_OpenAudioDevice SDL_OpenAudioDevice; |
| 593 |
da_SDL_GetAudioStatus SDL_GetAudioStatus; |
| 594 |
da_SDL_GetAudioDeviceStatus SDL_GetAudioDeviceStatus; |
| 595 |
da_SDL_PauseAudio SDL_PauseAudio; |
| 596 |
da_SDL_PauseAudioDevice SDL_PauseAudioDevice; |
| 597 |
da_SDL_LoadWAV_RW SDL_LoadWAV_RW; |
| 598 |
da_SDL_FreeWAV SDL_FreeWAV; |
| 599 |
da_SDL_BuildAudioCVT SDL_BuildAudioCVT; |
| 600 |
da_SDL_ConvertAudio SDL_ConvertAudio; |
| 601 |
da_SDL_MixAudio SDL_MixAudio; |
| 602 |
da_SDL_MixAudioFormat SDL_MixAudioFormat; |
| 603 |
da_SDL_QueueAudio SDL_QueueAudio; |
| 604 |
da_SDL_DequeueAudio SDL_DequeueAudio; |
| 605 |
da_SDL_GetQueuedAudioSize SDL_GetQueuedAudioSize; |
| 606 |
da_SDL_ClearQueuedAudio SDL_ClearQueuedAudio; |
| 607 |
da_SDL_LockAudio SDL_LockAudio; |
| 608 |
da_SDL_LockAudioDevice SDL_LockAudioDevice; |
| 609 |
da_SDL_UnlockAudio SDL_UnlockAudio; |
| 610 |
da_SDL_UnlockAudioDevice SDL_UnlockAudioDevice; |
| 611 |
da_SDL_CloseAudio SDL_CloseAudio; |
| 612 |
da_SDL_CloseAudioDevice SDL_CloseAudioDevice; |
| 613 |
// da_SDL_AudioDeviceConnected SDL_AudioDeviceConnected; |
| 614 |
|
| 615 |
da_SDL_SetClipboardText SDL_SetClipboardText; |
| 616 |
da_SDL_GetClipboardText SDL_GetClipboardText; |
| 617 |
da_SDL_HasClipboardText SDL_HasClipboardText; |
| 618 |
|
| 619 |
da_SDL_GetCPUCount SDL_GetCPUCount; |
| 620 |
da_SDL_GetCPUCacheLineSize SDL_GetCPUCacheLineSize; |
| 621 |
da_SDL_HasRDTSC SDL_HasRDTSC; |
| 622 |
da_SDL_HasAltiVec SDL_HasAltiVec; |
| 623 |
da_SDL_HasMMX SDL_HasMMX; |
| 624 |
da_SDL_Has3DNow SDL_Has3DNow; |
| 625 |
da_SDL_HasSSE SDL_HasSSE; |
| 626 |
da_SDL_HasSSE2 SDL_HasSSE2; |
| 627 |
da_SDL_HasSSE3 SDL_HasSSE3; |
| 628 |
da_SDL_HasSSE41 SDL_HasSSE41; |
| 629 |
da_SDL_HasSSE42 SDL_HasSSE42; |
| 630 |
da_SDL_HasAVX SDL_HasAVX; |
| 631 |
da_SDL_HasAVX2 SDL_HasAVX2; |
| 632 |
da_SDL_GetSystemRAM SDL_GetSystemRAM; |
| 633 |
|
| 634 |
da_SDL_SetError SDL_SetError; |
| 635 |
da_SDL_GetError SDL_GetError; |
| 636 |
da_SDL_ClearError SDL_ClearError; |
| 637 |
|
| 638 |
da_SDL_PumpEvents SDL_PumpEvents; |
| 639 |
da_SDL_PeepEvents SDL_PeepEvents; |
| 640 |
da_SDL_HasEvent SDL_HasEvent; |
| 641 |
da_SDL_HasEvents SDL_HasEvents; |
| 642 |
da_SDL_FlushEvent SDL_FlushEvent; |
| 643 |
da_SDL_FlushEvents SDL_FlushEvents; |
| 644 |
da_SDL_PollEvent SDL_PollEvent; |
| 645 |
da_SDL_WaitEvent SDL_WaitEvent; |
| 646 |
da_SDL_WaitEventTimeout SDL_WaitEventTimeout; |
| 647 |
da_SDL_PushEvent SDL_PushEvent; |
| 648 |
da_SDL_SetEventFilter SDL_SetEventFilter; |
| 649 |
da_SDL_GetEventFilter SDL_GetEventFilter; |
| 650 |
da_SDL_AddEventWatch SDL_AddEventWatch; |
| 651 |
da_SDL_DelEventWatch SDL_DelEventWatch; |
| 652 |
da_SDL_FilterEvents SDL_FilterEvents; |
| 653 |
da_SDL_EventState SDL_EventState; |
| 654 |
da_SDL_RegisterEvents SDL_RegisterEvents; |
| 655 |
|
| 656 |
da_SDL_GetBasePath SDL_GetBasePath; |
| 657 |
da_SDL_GetPrefPath SDL_GetPrefPath; |
| 658 |
|
| 659 |
da_SDL_GameControllerAddMappingsFromRW SDL_GameControllerAddMappingsFromRW; |
| 660 |
da_SDL_GameControllerAddMapping SDL_GameControllerAddMapping; |
| 661 |
da_SDL_GameControllerMappingForGUID SDL_GameControllerMappingForGUID; |
| 662 |
da_SDL_GameControllerMapping SDL_GameControllerMapping; |
| 663 |
da_SDL_IsGameController SDL_IsGameController; |
| 664 |
da_SDL_GameControllerNameForIndex SDL_GameControllerNameForIndex; |
| 665 |
da_SDL_GameControllerOpen SDL_GameControllerOpen; |
| 666 |
da_SDL_GameControllerFromInstanceID SDL_GameControllerFromInstanceID; |
| 667 |
da_SDL_GameControllerName SDL_GameControllerName; |
| 668 |
da_SDL_GameControllerGetAttached SDL_GameControllerGetAttached; |
| 669 |
da_SDL_GameControllerGetJoystick SDL_GameControllerGetJoystick; |
| 670 |
da_SDL_GameControllerEventState SDL_GameControllerEventState; |
| 671 |
da_SDL_GameControllerUpdate SDL_GameControllerUpdate; |
| 672 |
da_SDL_GameControllerGetAxisFromString SDL_GameControllerGetAxisFromString; |
| 673 |
da_SDL_GameControllerGetStringForAxis SDL_GameControllerGetStringForAxis; |
| 674 |
da_SDL_GameControllerGetBindForAxis SDL_GameControllerGetBindForAxis; |
| 675 |
da_SDL_GameControllerGetAxis SDL_GameControllerGetAxis; |
| 676 |
da_SDL_GameControllerGetButtonFromString SDL_GameControllerGetButtonFromString; |
| 677 |
da_SDL_GameControllerGetStringForButton SDL_GameControllerGetStringForButton; |
| 678 |
da_SDL_GameControllerGetBindForButton SDL_GameControllerGetBindForButton; |
| 679 |
da_SDL_GameControllerGetButton SDL_GameControllerGetButton; |
| 680 |
da_SDL_GameControllerClose SDL_GameControllerClose; |
| 681 |
|
| 682 |
da_SDL_RecordGesture SDL_RecordGesture; |
| 683 |
da_SDL_SaveAllDollarTemplates SDL_SaveAllDollarTemplates; |
| 684 |
da_SDL_SaveDollarTemplate SDL_SaveDollarTemplate; |
| 685 |
da_SDL_LoadDollarTemplates SDL_LoadDollarTemplates; |
| 686 |
|
| 687 |
da_SDL_NumHaptics SDL_NumHaptics; |
| 688 |
da_SDL_HapticName SDL_HapticName; |
| 689 |
da_SDL_HapticOpen SDL_HapticOpen; |
| 690 |
da_SDL_HapticOpened SDL_HapticOpened; |
| 691 |
da_SDL_HapticIndex SDL_HapticIndex; |
| 692 |
da_SDL_MouseIsHaptic SDL_MouseIsHaptic; |
| 693 |
da_SDL_HapticOpenFromMouse SDL_HapticOpenFromMouse; |
| 694 |
da_SDL_JoystickIsHaptic SDL_JoystickIsHaptic; |
| 695 |
da_SDL_HapticOpenFromJoystick SDL_HapticOpenFromJoystick; |
| 696 |
da_SDL_HapticClose SDL_HapticClose; |
| 697 |
da_SDL_HapticNumEffects SDL_HapticNumEffects; |
| 698 |
da_SDL_HapticNumEffectsPlaying SDL_HapticNumEffectsPlaying; |
| 699 |
da_SDL_HapticQuery SDL_HapticQuery; |
| 700 |
da_SDL_HapticNumAxes SDL_HapticNumAxes; |
| 701 |
da_SDL_HapticEffectSupported SDL_HapticEffectSupported; |
| 702 |
da_SDL_HapticNewEffect SDL_HapticNewEffect; |
| 703 |
da_SDL_HapticUpdateEffect SDL_HapticUpdateEffect; |
| 704 |
da_SDL_HapticRunEffect SDL_HapticRunEffect; |
| 705 |
da_SDL_HapticStopEffect SDL_HapticStopEffect; |
| 706 |
da_SDL_HapticDestroyEffect SDL_HapticDestroyEffect; |
| 707 |
da_SDL_HapticGetEffectStatus SDL_HapticGetEffectStatus; |
| 708 |
da_SDL_HapticSetGain SDL_HapticSetGain; |
| 709 |
da_SDL_HapticSetAutocenter SDL_HapticSetAutocenter; |
| 710 |
da_SDL_HapticPause SDL_HapticPause; |
| 711 |
da_SDL_HapticUnpause SDL_HapticUnpause; |
| 712 |
da_SDL_HapticStopAll SDL_HapticStopAll; |
| 713 |
da_SDL_HapticRumbleSupported SDL_HapticRumbleSupported; |
| 714 |
da_SDL_HapticRumbleInit SDL_HapticRumbleInit; |
| 715 |
da_SDL_HapticRumblePlay SDL_HapticRumblePlay; |
| 716 |
da_SDL_HapticRumbleStop SDL_HapticRumbleStop; |
| 717 |
|
| 718 |
da_SDL_SetHintWithPriority SDL_SetHintWithPriority; |
| 719 |
da_SDL_SetHint SDL_SetHint; |
| 720 |
da_SDL_GetHint SDL_GetHint; |
| 721 |
da_SDL_GetHintBoolean SDL_GetHintBoolean; |
| 722 |
da_SDL_AddHintCallback SDL_AddHintCallback; |
| 723 |
da_SDL_DelHintCallback SDL_DelHintCallback; |
| 724 |
da_SDL_ClearHints SDL_ClearHints; |
| 725 |
|
| 726 |
da_SDL_NumJoysticks SDL_NumJoysticks; |
| 727 |
da_SDL_JoystickNameForIndex SDL_JoystickNameForIndex; |
| 728 |
da_SDL_JoystickOpen SDL_JoystickOpen; |
| 729 |
da_SDL_JoystickName SDL_JoystickName; |
| 730 |
da_SDL_JoystickFromInstanceID SDL_JoystickFromInstanceID; |
| 731 |
da_SDL_JoystickGetDeviceGUID SDL_JoystickGetDeviceGUID; |
| 732 |
da_SDL_JoystickGetGUID SDL_JoystickGetGUID; |
| 733 |
da_SDL_JoystickGetGUIDString SDL_JoystickGetGUIDString; |
| 734 |
da_SDL_JoystickGetGUIDFromString SDL_JoystickGetGUIDFromString; |
| 735 |
da_SDL_JoystickGetAttached SDL_JoystickGetAttached; |
| 736 |
da_SDL_JoystickInstanceID SDL_JoystickInstanceID; |
| 737 |
da_SDL_JoystickNumAxes SDL_JoystickNumAxes; |
| 738 |
da_SDL_JoystickNumBalls SDL_JoystickNumBalls; |
| 739 |
da_SDL_JoystickNumHats SDL_JoystickNumHats; |
| 740 |
da_SDL_JoystickNumButtons SDL_JoystickNumButtons; |
| 741 |
da_SDL_JoystickUpdate SDL_JoystickUpdate; |
| 742 |
da_SDL_JoystickEventState SDL_JoystickEventState; |
| 743 |
da_SDL_JoystickGetAxis SDL_JoystickGetAxis; |
| 744 |
da_SDL_JoystickGetHat SDL_JoystickGetHat; |
| 745 |
da_SDL_JoystickGetBall SDL_JoystickGetBall; |
| 746 |
da_SDL_JoystickGetButton SDL_JoystickGetButton; |
| 747 |
da_SDL_JoystickClose SDL_JoystickClose; |
| 748 |
da_SDL_JoystickCurrentPowerLevel SDL_JoystickCurrentPowerLevel; |
| 749 |
|
| 750 |
da_SDL_GetKeyboardFocus SDL_GetKeyboardFocus; |
| 751 |
da_SDL_GetKeyboardState SDL_GetKeyboardState; |
| 752 |
da_SDL_GetModState SDL_GetModState; |
| 753 |
da_SDL_SetModState SDL_SetModState; |
| 754 |
da_SDL_GetKeyFromScancode SDL_GetKeyFromScancode; |
| 755 |
da_SDL_GetScancodeFromKey SDL_GetScancodeFromKey; |
| 756 |
da_SDL_GetScancodeName SDL_GetScancodeName; |
| 757 |
da_SDL_GetScancodeFromName SDL_GetScancodeFromName; |
| 758 |
da_SDL_GetKeyName SDL_GetKeyName; |
| 759 |
da_SDL_GetKeyFromName SDL_GetKeyFromName; |
| 760 |
da_SDL_StartTextInput SDL_StartTextInput; |
| 761 |
da_SDL_IsTextInputActive SDL_IsTextInputActive; |
| 762 |
da_SDL_StopTextInput SDL_StopTextInput; |
| 763 |
da_SDL_SetTextInputRect SDL_SetTextInputRect; |
| 764 |
da_SDL_HasScreenKeyboardSupport SDL_HasScreenKeyboardSupport; |
| 765 |
da_SDL_IsScreenKeyboardShown SDL_IsScreenKeyboardShown; |
| 766 |
|
| 767 |
da_SDL_LoadObject SDL_LoadObject; |
| 768 |
da_SDL_LoadFunction SDL_LoadFunction; |
| 769 |
da_SDL_UnloadObject SDL_UnloadObject; |
| 770 |
|
| 771 |
da_SDL_LogSetAllPriority SDL_LogSetAllPriority; |
| 772 |
da_SDL_LogSetPriority SDL_LogSetPriority; |
| 773 |
da_SDL_LogGetPriority SDL_LogGetPriority; |
| 774 |
da_SDL_LogResetPriorities SDL_LogResetPriorities; |
| 775 |
da_SDL_Log SDL_Log; |
| 776 |
da_SDL_LogVerbose SDL_LogVerbose; |
| 777 |
da_SDL_LogDebug SDL_LogDebug; |
| 778 |
da_SDL_LogInfo SDL_LogInfo; |
| 779 |
da_SDL_LogWarn SDL_LogWarn; |
| 780 |
da_SDL_LogError SDL_LogError; |
| 781 |
da_SDL_LogCritical SDL_LogCritical; |
| 782 |
da_SDL_LogMessage SDL_LogMessage; |
| 783 |
da_SDL_LogMessageV SDL_LogMessageV; |
| 784 |
da_SDL_LogGetOutputFunction SDL_LogGetOutputFunction; |
| 785 |
da_SDL_LogSetOutputFunction SDL_LogSetOutputFunction; |
| 786 |
|
| 787 |
da_SDL_ShowMessageBox SDL_ShowMessageBox; |
| 788 |
da_SDL_ShowSimpleMessageBox SDL_ShowSimpleMessageBox; |
| 789 |
|
| 790 |
da_SDL_GetMouseFocus SDL_GetMouseFocus; |
| 791 |
da_SDL_GetMouseState SDL_GetMouseState; |
| 792 |
da_SDL_GetGlobalMouseState SDL_GetGlobalMouseState; |
| 793 |
da_SDL_GetRelativeMouseState SDL_GetRelativeMouseState; |
| 794 |
da_SDL_WarpMouseInWindow SDL_WarpMouseInWindow; |
| 795 |
da_SDL_WarpMouseGlobal SDL_WarpMouseGlobal; |
| 796 |
da_SDL_SetRelativeMouseMode SDL_SetRelativeMouseMode; |
| 797 |
da_SDL_CaptureMouse SDL_CaptureMouse; |
| 798 |
da_SDL_GetRelativeMouseMode SDL_GetRelativeMouseMode; |
| 799 |
da_SDL_CreateCursor SDL_CreateCursor; |
| 800 |
da_SDL_CreateColorCursor SDL_CreateColorCursor; |
| 801 |
da_SDL_CreateSystemCursor SDL_CreateSystemCursor; |
| 802 |
da_SDL_SetCursor SDL_SetCursor; |
| 803 |
da_SDL_GetCursor SDL_GetCursor; |
| 804 |
da_SDL_GetDefaultCursor SDL_GetDefaultCursor; |
| 805 |
da_SDL_FreeCursor SDL_FreeCursor; |
| 806 |
da_SDL_ShowCursor SDL_ShowCursor; |
| 807 |
|
| 808 |
da_SDL_GetPixelFormatName SDL_GetPixelFormatName; |
| 809 |
da_SDL_PixelFormatEnumToMasks SDL_PixelFormatEnumToMasks; |
| 810 |
da_SDL_MasksToPixelFormatEnum SDL_MasksToPixelFormatEnum; |
| 811 |
da_SDL_AllocFormat SDL_AllocFormat; |
| 812 |
da_SDL_FreeFormat SDL_FreeFormat; |
| 813 |
da_SDL_AllocPalette SDL_AllocPalette; |
| 814 |
da_SDL_SetPixelFormatPalette SDL_SetPixelFormatPalette; |
| 815 |
da_SDL_SetPaletteColors SDL_SetPaletteColors; |
| 816 |
da_SDL_FreePalette SDL_FreePalette; |
| 817 |
da_SDL_MapRGB SDL_MapRGB; |
| 818 |
da_SDL_MapRGBA SDL_MapRGBA; |
| 819 |
da_SDL_GetRGB SDL_GetRGB; |
| 820 |
da_SDL_GetRGBA SDL_GetRGBA; |
| 821 |
da_SDL_CalculateGammaRamp SDL_CalculateGammaRamp; |
| 822 |
|
| 823 |
da_SDL_GetPlatform SDL_GetPlatform; |
| 824 |
|
| 825 |
da_SDL_GetPowerInfo SDL_GetPowerInfo; |
| 826 |
|
| 827 |
da_SDL_HasIntersection SDL_HasIntersection; |
| 828 |
da_SDL_IntersectRect SDL_IntersectRect; |
| 829 |
da_SDL_UnionRect SDL_UnionRect; |
| 830 |
da_SDL_EnclosePoints SDL_EnclosePoints; |
| 831 |
da_SDL_IntersectRectAndLine SDL_IntersectRectAndLine; |
| 832 |
|
| 833 |
da_SDL_GetNumRenderDrivers SDL_GetNumRenderDrivers; |
| 834 |
da_SDL_GetRenderDriverInfo SDL_GetRenderDriverInfo; |
| 835 |
da_SDL_CreateWindowAndRenderer SDL_CreateWindowAndRenderer; |
| 836 |
da_SDL_CreateRenderer SDL_CreateRenderer; |
| 837 |
da_SDL_CreateSoftwareRenderer SDL_CreateSoftwareRenderer; |
| 838 |
da_SDL_GetRenderer SDL_GetRenderer; |
| 839 |
da_SDL_GetRendererInfo SDL_GetRendererInfo; |
| 840 |
da_SDL_GetRendererOutputSize SDL_GetRendererOutputSize; |
| 841 |
da_SDL_CreateTexture SDL_CreateTexture; |
| 842 |
da_SDL_CreateTextureFromSurface SDL_CreateTextureFromSurface; |
| 843 |
da_SDL_QueryTexture SDL_QueryTexture; |
| 844 |
da_SDL_SetTextureColorMod SDL_SetTextureColorMod; |
| 845 |
da_SDL_GetTextureColorMod SDL_GetTextureColorMod; |
| 846 |
da_SDL_SetTextureAlphaMod SDL_SetTextureAlphaMod; |
| 847 |
da_SDL_GetTextureAlphaMod SDL_GetTextureAlphaMod; |
| 848 |
da_SDL_SetTextureBlendMode SDL_SetTextureBlendMode; |
| 849 |
da_SDL_GetTextureBlendMode SDL_GetTextureBlendMode; |
| 850 |
da_SDL_UpdateTexture SDL_UpdateTexture; |
| 851 |
da_SDL_UpdateYUVTexture SDL_UpdateYUVTexture; |
| 852 |
da_SDL_LockTexture SDL_LockTexture; |
| 853 |
da_SDL_UnlockTexture SDL_UnlockTexture; |
| 854 |
da_SDL_RenderTargetSupported SDL_RenderTargetSupported; |
| 855 |
da_SDL_SetRenderTarget SDL_SetRenderTarget; |
| 856 |
da_SDL_GetRenderTarget SDL_GetRenderTarget; |
| 857 |
da_SDL_RenderSetClipRect SDL_RenderSetClipRect; |
| 858 |
da_SDL_RenderGetClipRect SDL_RenderGetClipRect; |
| 859 |
da_SDL_RenderSetLogicalSize SDL_RenderSetLogicalSize; |
| 860 |
da_SDL_RenderGetLogicalSize SDL_RenderGetLogicalSize; |
| 861 |
da_SDL_RenderSetIntegerScale SDL_RenderSetIntegerScale; |
| 862 |
da_SDL_RenderGetIntegerScale SDL_RenderGetIntegerScale; |
| 863 |
da_SDL_RenderSetViewport SDL_RenderSetViewport; |
| 864 |
da_SDL_RenderGetViewport SDL_RenderGetViewport; |
| 865 |
da_SDL_RenderIsClipEnabled SDL_RenderIsClipEnabled; |
| 866 |
da_SDL_RenderSetScale SDL_RenderSetScale; |
| 867 |
da_SDL_RenderGetScale SDL_RenderGetScale; |
| 868 |
da_SDL_SetRenderDrawColor SDL_SetRenderDrawColor; |
| 869 |
da_SDL_GetRenderDrawColor SDL_GetRenderDrawColor; |
| 870 |
da_SDL_SetRenderDrawBlendMode SDL_SetRenderDrawBlendMode; |
| 871 |
da_SDL_GetRenderDrawBlendMode SDL_GetRenderDrawBlendMode; |
| 872 |
da_SDL_RenderClear SDL_RenderClear; |
| 873 |
da_SDL_RenderDrawPoint SDL_RenderDrawPoint; |
| 874 |
da_SDL_RenderDrawPoints SDL_RenderDrawPoints; |
| 875 |
da_SDL_RenderDrawLine SDL_RenderDrawLine; |
| 876 |
da_SDL_RenderDrawLines SDL_RenderDrawLines; |
| 877 |
da_SDL_RenderDrawRect SDL_RenderDrawRect; |
| 878 |
da_SDL_RenderDrawRects SDL_RenderDrawRects; |
| 879 |
da_SDL_RenderFillRect SDL_RenderFillRect; |
| 880 |
da_SDL_RenderFillRects SDL_RenderFillRects; |
| 881 |
da_SDL_RenderCopy SDL_RenderCopy; |
| 882 |
da_SDL_RenderCopyEx SDL_RenderCopyEx; |
| 883 |
da_SDL_RenderReadPixels SDL_RenderReadPixels; |
| 884 |
da_SDL_RenderPresent SDL_RenderPresent; |
| 885 |
da_SDL_DestroyTexture SDL_DestroyTexture; |
| 886 |
da_SDL_DestroyRenderer SDL_DestroyRenderer; |
| 887 |
da_SDL_GL_BindTexture SDL_GL_BindTexture; |
| 888 |
da_SDL_GL_UnbindTexture SDL_GL_UnbindTexture; |
| 889 |
|
| 890 |
da_SDL_RWFromFile SDL_RWFromFile; |
| 891 |
da_SDL_RWFromFP SDL_RWFromFP; |
| 892 |
da_SDL_RWFromMem SDL_RWFromMem; |
| 893 |
da_SDL_RWFromConstMem SDL_RWFromConstMem; |
| 894 |
da_SDL_AllocRW SDL_AllocRW; |
| 895 |
da_SDL_FreeRW SDL_FreeRW; |
| 896 |
da_SDL_ReadU8 SDL_ReadU8; |
| 897 |
da_SDL_ReadLE16 SDL_ReadLE16; |
| 898 |
da_SDL_ReadBE16 SDL_ReadBE16; |
| 899 |
da_SDL_ReadLE32 SDL_ReadLE32; |
| 900 |
da_SDL_ReadBE32 SDL_ReadBE32; |
| 901 |
da_SDL_ReadLE64 SDL_ReadLE64; |
| 902 |
da_SDL_ReadBE64 SDL_ReadBE64; |
| 903 |
da_SDL_WriteU8 SDL_WriteU8; |
| 904 |
da_SDL_WriteLE16 SDL_WriteLE16; |
| 905 |
da_SDL_WriteBE16 SDL_WriteBE16; |
| 906 |
da_SDL_WriteLE32 SDL_WriteLE32; |
| 907 |
da_SDL_WriteBE32 SDL_WriteBE32; |
| 908 |
da_SDL_WriteLE64 SDL_WriteLE64; |
| 909 |
da_SDL_WriteBE64 SDL_WriteBE64; |
| 910 |
|
| 911 |
da_SDL_CreateShapedWindow SDL_CreateShapedWindow; |
| 912 |
da_SDL_IsShapedWindow SDL_IsShapedWindow; |
| 913 |
da_SDL_SetWindowShape SDL_SetWindowShape; |
| 914 |
da_SDL_GetShapedWindowMode SDL_GetShapedWindowMode; |
| 915 |
|
| 916 |
da_SDL_CreateRGBSurface SDL_CreateRGBSurface; |
| 917 |
da_SDL_CreateRGBSurfaceWithFormat SDL_CreateRGBSurfaceWithFormat; |
| 918 |
da_SDL_CreateRGBSurfaceFrom SDL_CreateRGBSurfaceFrom; |
| 919 |
da_SDL_CreateRGBSurfaceWithFormatFrom SDL_CreateRGBSurfaceWithFormatFrom; |
| 920 |
da_SDL_FreeSurface SDL_FreeSurface; |
| 921 |
da_SDL_SetSurfacePalette SDL_SetSurfacePalette; |
| 922 |
da_SDL_LockSurface SDL_LockSurface; |
| 923 |
da_SDL_UnlockSurface SDL_UnlockSurface; |
| 924 |
da_SDL_LoadBMP_RW SDL_LoadBMP_RW; |
| 925 |
da_SDL_SaveBMP_RW SDL_SaveBMP_RW; |
| 926 |
da_SDL_SetSurfaceRLE SDL_SetSurfaceRLE; |
| 927 |
da_SDL_SetColorKey SDL_SetColorKey; |
| 928 |
da_SDL_GetColorKey SDL_GetColorKey; |
| 929 |
da_SDL_SetSurfaceColorMod SDL_SetSurfaceColorMod; |
| 930 |
da_SDL_GetSurfaceColorMod SDL_GetSurfaceColorMod; |
| 931 |
da_SDL_SetSurfaceAlphaMod SDL_SetSurfaceAlphaMod; |
| 932 |
da_SDL_GetSurfaceAlphaMod SDL_GetSurfaceAlphaMod; |
| 933 |
da_SDL_SetSurfaceBlendMode SDL_SetSurfaceBlendMode; |
| 934 |
da_SDL_GetSurfaceBlendMode SDL_GetSurfaceBlendMode; |
| 935 |
da_SDL_SetClipRect SDL_SetClipRect; |
| 936 |
da_SDL_GetClipRect SDL_GetClipRect; |
| 937 |
da_SDL_ConvertSurface SDL_ConvertSurface; |
| 938 |
da_SDL_ConvertSurfaceFormat SDL_ConvertSurfaceFormat; |
| 939 |
da_SDL_ConvertPixels SDL_ConvertPixels; |
| 940 |
da_SDL_FillRect SDL_FillRect; |
| 941 |
da_SDL_FillRects SDL_FillRects; |
| 942 |
da_SDL_UpperBlit SDL_UpperBlit; |
| 943 |
da_SDL_LowerBlit SDL_LowerBlit; |
| 944 |
da_SDL_SoftStretch SDL_SoftStretch; |
| 945 |
da_SDL_UpperBlitScaled SDL_UpperBlitScaled; |
| 946 |
da_SDL_LowerBlitScaled SDL_LowerBlitScaled; |
| 947 |
|
| 948 |
static if(Derelict_OS_Windows) { |
| 949 |
da_SDL_Direct3D9GetAdapterIndex SDL_Direct3D9GetAdapterIndex ; |
| 950 |
da_SDL_RenderGetD3D9Device SDL_RenderGetD3D9Device; |
| 951 |
da_SDL_DXGIGetOutputInfo SDL_DXGIGetOutputInfo; |
| 952 |
} |
| 953 |
static if(Derelict_OS_iOS) { |
| 954 |
da_SDL_iPhoneSetAnimationCallback SDL_iPhoneSetAnimationCallback; |
| 955 |
da_SDL_iPhoneSetEventPump SDL_iPhoneSetEventPump; |
| 956 |
} |
| 957 |
static if(Derelict_OS_Android) { |
| 958 |
da_SDL_AndroidGetJNIEnv SDL_AndroidGetJNIEnv; |
| 959 |
da_SDL_AndroidGetActivity SDL_AndroidGetActivity; |
| 960 |
|
| 961 |
da_SDL_AndroidGetInternalStoragePath SDL_AndroidGetInternalStoragePath; |
| 962 |
da_SDL_AndroidGetInternalStorageState SDL_AndroidGetInternalStorageState; |
| 963 |
da_SDL_AndroidGetExternalStoragePath SDL_AndroidGetExternalStoragePath; |
| 964 |
} |
| 965 |
static if(Derelict_OS_WinRT) { |
| 966 |
da_SDL_WinRTGetFSPathUNICODE SDL_WinRTGetFSPathUNICODE; |
| 967 |
da_SDL_WinRTGetFSPathUTF8 SDL_WinRTGetFSPathUTF8; |
| 968 |
da_SDL_WinRTRunApp SDL_WinRTRunApp; |
| 969 |
} |
| 970 |
|
| 971 |
da_SDL_GetWindowWMInfo SDL_GetWindowWMInfo; |
| 972 |
|
| 973 |
da_SDL_GetTicks SDL_GetTicks; |
| 974 |
da_SDL_GetPerformanceCounter SDL_GetPerformanceCounter; |
| 975 |
da_SDL_GetPerformanceFrequency SDL_GetPerformanceFrequency; |
| 976 |
da_SDL_Delay SDL_Delay; |
| 977 |
da_SDL_AddTimer SDL_AddTimer; |
| 978 |
da_SDL_RemoveTimer SDL_RemoveTimer; |
| 979 |
|
| 980 |
da_SDL_GetNumTouchDevices SDL_GetNumTouchDevices; |
| 981 |
da_SDL_GetTouchDevice SDL_GetTouchDevice; |
| 982 |
da_SDL_GetNumTouchFingers SDL_GetNumTouchFingers; |
| 983 |
da_SDL_GetTouchFinger SDL_GetTouchFinger; |
| 984 |
|
| 985 |
da_SDL_GetVersion SDL_GetVersion; |
| 986 |
da_SDL_GetRevision SDL_GetRevision; |
| 987 |
da_SDL_GetRevisionNumber SDL_GetRevisionNumber; |
| 988 |
|
| 989 |
da_SDL_GetNumVideoDrivers SDL_GetNumVideoDrivers; |
| 990 |
da_SDL_GetVideoDriver SDL_GetVideoDriver; |
| 991 |
da_SDL_VideoInit SDL_VideoInit; |
| 992 |
da_SDL_VideoQuit SDL_VideoQuit; |
| 993 |
da_SDL_GetCurrentVideoDriver SDL_GetCurrentVideoDriver; |
| 994 |
da_SDL_GetNumVideoDisplays SDL_GetNumVideoDisplays; |
| 995 |
da_SDL_GetDisplayName SDL_GetDisplayName; |
| 996 |
da_SDL_GetDisplayBounds SDL_GetDisplayBounds; |
| 997 |
da_SDL_GetDisplayDPI SDL_GetDisplayDPI; |
| 998 |
da_SDL_GetDisplayUsableBounds SDL_GetDisplayUsableBounds; |
| 999 |
da_SDL_GetNumDisplayModes SDL_GetNumDisplayModes; |
| 1000 |
da_SDL_GetDisplayMode SDL_GetDisplayMode; |
| 1001 |
da_SDL_GetDesktopDisplayMode SDL_GetDesktopDisplayMode; |
| 1002 |
da_SDL_GetCurrentDisplayMode SDL_GetCurrentDisplayMode; |
| 1003 |
da_SDL_GetClosestDisplayMode SDL_GetClosestDisplayMode; |
| 1004 |
da_SDL_GetWindowDisplayIndex SDL_GetWindowDisplayIndex; |
| 1005 |
da_SDL_SetWindowDisplayMode SDL_SetWindowDisplayMode; |
| 1006 |
da_SDL_GetWindowDisplayMode SDL_GetWindowDisplayMode; |
| 1007 |
da_SDL_GetWindowPixelFormat SDL_GetWindowPixelFormat; |
| 1008 |
da_SDL_CreateWindow SDL_CreateWindow; |
| 1009 |
da_SDL_CreateWindowFrom SDL_CreateWindowFrom; |
| 1010 |
da_SDL_GetWindowID SDL_GetWindowID; |
| 1011 |
da_SDL_GetWindowFromID SDL_GetWindowFromID; |
| 1012 |
da_SDL_GetWindowFlags SDL_GetWindowFlags; |
| 1013 |
da_SDL_SetWindowTitle SDL_SetWindowTitle; |
| 1014 |
da_SDL_GetWindowTitle SDL_GetWindowTitle; |
| 1015 |
da_SDL_SetWindowIcon SDL_SetWindowIcon; |
| 1016 |
da_SDL_SetWindowData SDL_SetWindowData; |
| 1017 |
da_SDL_GetWindowData SDL_GetWindowData; |
| 1018 |
da_SDL_SetWindowPosition SDL_SetWindowPosition; |
| 1019 |
da_SDL_GetWindowPosition SDL_GetWindowPosition; |
| 1020 |
da_SDL_SetWindowSize SDL_SetWindowSize; |
| 1021 |
da_SDL_GetWindowSize SDL_GetWindowSize; |
| 1022 |
da_SDL_GetWindowBordersSize SDL_GetWindowBordersSize; |
| 1023 |
da_SDL_SetWindowMinimumSize SDL_SetWindowMinimumSize; |
| 1024 |
da_SDL_GetWindowMinimumSize SDL_GetWindowMinimumSize; |
| 1025 |
da_SDL_SetWindowMaximumSize SDL_SetWindowMaximumSize; |
| 1026 |
da_SDL_GetWindowMaximumSize SDL_GetWindowMaximumSize; |
| 1027 |
da_SDL_SetWindowBordered SDL_SetWindowBordered; |
| 1028 |
da_SDL_SetWindowResizable SDL_SetWindowResizable; |
| 1029 |
da_SDL_ShowWindow SDL_ShowWindow; |
| 1030 |
da_SDL_HideWindow SDL_HideWindow; |
| 1031 |
da_SDL_RaiseWindow SDL_RaiseWindow; |
| 1032 |
da_SDL_MaximizeWindow SDL_MaximizeWindow; |
| 1033 |
da_SDL_MinimizeWindow SDL_MinimizeWindow; |
| 1034 |
da_SDL_RestoreWindow SDL_RestoreWindow; |
| 1035 |
da_SDL_SetWindowFullscreen SDL_SetWindowFullscreen; |
| 1036 |
da_SDL_GetWindowSurface SDL_GetWindowSurface; |
| 1037 |
da_SDL_UpdateWindowSurface SDL_UpdateWindowSurface; |
| 1038 |
da_SDL_UpdateWindowSurfaceRects SDL_UpdateWindowSurfaceRects; |
| 1039 |
da_SDL_SetWindowGrab SDL_SetWindowGrab; |
| 1040 |
da_SDL_GetWindowGrab SDL_GetWindowGrab; |
| 1041 |
da_SDL_GetGrabbedWindow SDL_GetGrabbedWindow; |
| 1042 |
da_SDL_SetWindowBrightness SDL_SetWindowBrightness; |
| 1043 |
da_SDL_GetWindowBrightness SDL_GetWindowBrightness; |
| 1044 |
da_SDL_SetWindowOpacity SDL_SetWindowOpacity; |
| 1045 |
da_SDL_GetWindowOpacity SDL_GetWindowOpacity; |
| 1046 |
da_SDL_SetWindowModalFor SDL_SetWindowModalFor; |
| 1047 |
da_SDL_SetWindowInputFocus SDL_SetWindowInputFocus; |
| 1048 |
da_SDL_SetWindowGammaRamp SDL_SetWindowGammaRamp; |
| 1049 |
da_SDL_GetWindowGammaRamp SDL_GetWindowGammaRamp; |
| 1050 |
da_SDL_SetWindowHitTest SDL_SetWindowHitTest; |
| 1051 |
da_SDL_DestroyWindow SDL_DestroyWindow; |
| 1052 |
da_SDL_IsScreenSaverEnabled SDL_IsScreenSaverEnabled; |
| 1053 |
da_SDL_EnableScreenSaver SDL_EnableScreenSaver; |
| 1054 |
da_SDL_DisableScreenSaver SDL_DisableScreenSaver; |
| 1055 |
da_SDL_GL_LoadLibrary SDL_GL_LoadLibrary; |
| 1056 |
da_SDL_GL_GetProcAddress SDL_GL_GetProcAddress; |
| 1057 |
da_SDL_GL_UnloadLibrary SDL_GL_UnloadLibrary; |
| 1058 |
da_SDL_GL_ExtensionSupported SDL_GL_ExtensionSupported; |
| 1059 |
da_SDL_GL_ResetAttributes SDL_GL_ResetAttributes; |
| 1060 |
da_SDL_GL_SetAttribute SDL_GL_SetAttribute; |
| 1061 |
da_SDL_GL_GetAttribute SDL_GL_GetAttribute; |
| 1062 |
da_SDL_GL_CreateContext SDL_GL_CreateContext; |
| 1063 |
da_SDL_GL_MakeCurrent SDL_GL_MakeCurrent; |
| 1064 |
da_SDL_GL_GetCurrentWindow SDL_GL_GetCurrentWindow; |
| 1065 |
da_SDL_GL_GetCurrentContext SDL_GL_GetCurrentContext; |
| 1066 |
da_SDL_GL_GetDrawableSize SDL_GL_GetDrawableSize; |
| 1067 |
da_SDL_GL_SetSwapInterval SDL_GL_SetSwapInterval; |
| 1068 |
da_SDL_GL_GetSwapInterval SDL_GL_GetSwapInterval; |
| 1069 |
da_SDL_GL_SwapWindow SDL_GL_SwapWindow; |
| 1070 |
da_SDL_GL_DeleteContext SDL_GL_DeleteContext; |
| 1071 |
} |
| 1072 |
|