Commit graph

322 commits

Author SHA1 Message Date
Ethan Lee 5785d3d464 Strip out the XML docs, replace with the basic IntPtr docs where appropriate.
Honestly this just got in the way and people know to refer to SDL's docs anyway.
2017-10-19 10:13:23 -04:00
Ethan Lee 689dcf5342 SDL_WinRTRunApp 2017-10-11 09:15:17 -04:00
Ethan Lee f7dbc10af5 Revert "SDL_GL_SwapWindow now returns int"
This reverts commit cf7a5fa2a1.
2017-10-04 17:14:42 -04:00
Ethan Lee cf7a5fa2a1 SDL_GL_SwapWindow now returns int 2017-10-04 17:11:10 -04:00
Ethan Lee 0da7c81d81 2.0.6 Windows-only hints 2017-09-07 10:41:04 -04:00
Ethan Lee b9939c43e3 Fix TOUCH_MOUSE_EVENTS string 2017-09-07 10:38:49 -04:00
Ethan Lee 776b77c27f 2.0.6 pre-release changes 2017-09-07 10:37:23 -04:00
Ethan Lee 9cdd0079b4 Vulkan parameter type fixes 2017-08-31 20:56:29 -04:00
Ethan Lee dc98059905 ARB_create_context_robustness, KHR_no_error, Vulkan! 2017-08-31 16:21:39 -04:00
Ethan Lee 498a565eda SDL_Joystick/SDL_GameController updates from Hg 2017-07-28 13:21:20 -04:00
Jack Mott 705681d982 overload openaudio to allow null 2017-01-19 16:07:10 -05:00
Jack Mott d03071653d add SDL_UpdateTexture overload
Added an overload for SDL_UpdateTexture so that you can pass a null reference, which is allowed
by the SDL2 spec. Similar pattern already exists for SDL_RenderCopy
2017-01-19 09:45:45 -05:00
Ethan Lee 4ec65bc5a0 SDL_SetWindowInputFocus 2016-11-11 13:40:34 -05:00
Ethan Lee a230993c4c 2.0.5 2016-10-20 10:25:04 -04:00
Ethan Lee 6f158b9f79 Fix SDL_BITSPERPIXEL 2016-08-17 15:19:22 -04:00
Ethan Lee cceef27e50 Removed QueryTexturePixels 2016-01-26 08:42:43 -05:00
Ethan Lee 9b6f16a238 SDL_GetDisplayName 2016-01-14 09:52:27 -05:00
Daniel Ratcliffe e3e22902e7 Added bindings for SDL_PowerState and SDL_GetPowerInfo 2016-01-07 22:34:21 +00:00
Ethan Lee c6fa4d1457 Happy New Year! 2016-01-04 11:55:36 -05:00
Ethan Lee d77d831acb Merge from sdl2-hg (2.0.4) 2016-01-04 11:49:39 -05:00
Ethan Lee 23e25a3b2d 2.0.4 2016-01-04 11:49:00 -05:00
Ethan Lee 1efc47ee26 SDL_FillRect overload 2015-12-30 19:16:29 -05:00
Ethan Lee a44c92397d .NET 3.5 fix 2015-12-30 19:14:29 -05:00
Ethan Lee 1c03cdfb2c Minor spacing fixes 2015-12-01 11:13:18 -05:00
Johannes Jacobs c2d58d61d5 Added SDL_RenderCopyEx overloads 2015-12-01 17:03:25 +01:00
Ethan Lee 0532deb9a6 Fix a couple SDL_pixels macros 2015-09-13 16:03:16 -04:00
Ethan Lee c41fcf5b19 Flags type sizes 2015-09-02 07:12:10 -04:00
Ethan Lee 2e9752838d Fix Win32 UTF8 marshaling 2015-07-20 10:03:42 -04:00
Ethan Lee 7f3d91e2e5 Minor API change 2015-07-19 14:31:39 -04:00
Ethan Lee dbffbe778b SDL 2.0.4 RC1 2015-06-13 19:15:08 -04:00
Ethan Lee 83012b9866 Happy New Year, wait what month is it 2015-06-13 18:43:03 -04:00
Elisée 62a28724f2 Fix SDLK_DELETE value: 0177 (octal), 127 (decimal) 2015-06-13 18:43:03 -04:00
Ethan Lee f29dbb7e4d Happy New Year, wait what month is it 2015-05-21 12:54:41 -04:00
Elisée 2748a2f4e2 Fix SDLK_DELETE value: 0177 (octal), 127 (decimal) 2015-01-06 02:11:40 +01:00
Ethan Lee 6ca6862d7e A few SDL2_image RWops funcs 2014-12-27 22:15:02 -05:00
Ethan Lee 07d4d8a494 A few SDL2_image RWops funcs 2014-12-27 22:14:52 -05:00
Ethan Lee a273ea9a18 Render*Rect NULL overloads 2014-12-26 11:16:14 -05:00
David Barnett 7a248e2678 Added SDL_GetRendererOutputSize 2014-12-26 11:16:14 -05:00
Ethan Lee 784cda961f SDL_Render rendertarget funcs 2014-12-26 11:16:14 -05:00
Ethan Lee 9c475e36fa CreateSoftwareRenderer fix 2014-12-26 11:16:14 -05:00
David Barnett 818a5cb6e0 Fix SDL_GetScancodeFromKey signature 2014-12-26 11:16:14 -05:00
Ethan Lee 0834d434ec Render*Rect NULL overloads 2014-12-26 11:16:08 -05:00
David Barnett 19b00a2345 Added SDL_GetRendererOutputSize 2014-12-07 12:55:56 +13:00
Ethan Lee 99f2688d2b SDL_Render rendertarget funcs 2014-12-04 20:01:57 -05:00
Ethan Lee 847df8350b CreateSoftwareRenderer fix 2014-11-18 10:26:32 -05:00
David Barnett 471b3f9658 Fix SDL_GetScancodeFromKey signature 2014-10-26 15:36:18 +13:00
Ethan Lee 9a1f823bca 2.0.4 GUI backend additions 2014-10-18 12:50:39 -04:00
Ethan Lee e395a5114d 2.0.4 mouse additions 2014-10-18 12:39:00 -04:00
Ethan Lee 818830fc3a Overloads for GetMouseState 2014-10-18 12:36:44 -04:00
Ethan Lee df0b8c03d6 SDL_GetVersion can be public 2014-10-08 00:36:27 -04:00
Ethan Lee 92f293416d MiniTK has been removed. 2014-10-07 12:29:29 -04:00
Ethan Lee 34d66997f0 Finish SDL_timer.h 2014-07-16 10:23:25 -04:00
Ethan Lee f284899867 RWops doc fixes 2014-07-07 16:17:56 -04:00
Villermen 1b0674efbe Added comments to publicized method 2014-07-07 22:09:00 +02:00
Villermen 419a25e86d Make Mix_LoadWAV_RW public
It works just fine and other extension libraries have this RW function public too. Why does this one have to be private/internal?
2014-07-07 19:36:41 +02:00
Villermen 3a4bc35646 Added SDL_RenderGetScale and SDL_RenderSetScale
Now with tabs!
2014-06-26 01:16:22 +02:00
Villermen d26d719d76 Added SDL_RenderGetScale and SDL_RenderSetScale 2014-06-26 01:11:11 +02:00
Ethan Lee b8baa22a1b SDL_JoystickIndex was a 1.2 function. 2014-06-24 20:18:08 -04:00
Nick Gravelyn fbe2627fd4 Added SDL_Window[Get/Set]MinimumSize and SDL_Window[Get/Set]MaximumSize. 2014-06-12 22:51:38 -07:00
Ethan Lee ed8c91d2f3 Add Render[Get/Set]ClipRect (thanks Martin!) 2014-06-05 12:10:14 -04:00
Nick Gravelyn 37058ed972 Fixing comments. 2014-05-31 16:43:26 -07:00
Nick Gravelyn 07853258b4 Adding RWops comment 2014-05-31 16:42:33 -07:00
Nick Gravelyn 1c6261532c Added RWops versions of OpenFont to support loading TTFs from memory. 2014-05-31 16:16:28 -07:00
Ethan Lee 48bae22f0e Guid is a thing. Grumble. 2014-05-12 17:34:53 -04:00
Ethan Lee eb23cc18a7 Fix pszGUID string parameter 2014-05-12 15:47:41 -04:00
Ethan Lee a7fe72d17a Fix BlueLine merge 2014-05-05 10:24:26 -04:00
Sean Colombo 4ad42a1e9d Made it so that previous overloads were additional instead of replacements. Should be able to merge this upstream. 2014-05-01 11:44:27 -04:00
Sean Colombo 7d3217b375 Adding our custom changes to OpenGL which relate to framebuffers. We probably want to upstream this at some point. 2014-04-29 10:04:11 -04:00
IntelOrca 713e25ab96 Fix SDL_GetKeyFromScancode signature. 2014-03-26 13:14:21 +00:00
Ethan Lee 67f4c81bb3 SDL 2.0.3 2014-03-15 20:37:47 -04:00
Tobias Schulz f495b5318c .NET doesn't use dllmaps 2014-03-09 17:27:27 +01:00
Ethan Lee 21ab9a5d69 Added some public RWops entry points. 2014-03-07 11:02:35 -05:00
Ethan Lee 404c4d583d AL_SOFT_MSADPCM is now a thing. 2014-03-05 10:06:09 -05:00
Ethan Lee f7ba9ab3b7 Ryan added this back. 2014-03-04 11:21:04 -05:00
Ethan Lee a7b2d3de69 Whuh, we already got rid of this... 2014-03-02 17:41:21 -05:00
Ethan Lee 6d0456c99e Double click support from SDL 2.0.2 2014-03-02 07:42:17 -05:00
Ethan Lee 2e719b0650 SDL 2.0.2 update. Includes some extras as well. 2014-03-02 07:36:30 -05:00
babelshift 60454e8878 From libsdl 2.0.2 RC1 notes - The screensaver is now disabled by default, and there is a hint SDL_HINT_VIDEO_ALLOW_SCREENSAVER that can change that behavior. 2014-03-01 22:51:30 -05:00
babelshift a74f245fe6 From libsdl 2.0.2 RC1 notes - Added a hint SDL_HINT_MOUSE_RELATIVE_MODE_WARP to specify whether mouse relative mode should be emulated using mouse warping. 2014-03-01 22:46:13 -05:00
Ethan Lee 7dd378d866 Update for latest AL_EXT_MSADPCM changes 2014-03-01 06:01:58 -05:00
Ethan Lee cbf996466d Happy New Year, wait what day is it 2014-02-10 18:02:40 -05:00
Ethan Lee 6bf1984db9 SDL_BlitScaled name 2014-01-29 07:26:00 -05:00
Ethan Lee 0fb37403cd Mix_Chunk is not our problem. 2014-01-27 16:39:09 -05:00
Ethan Lee 4a37ca4387 Merge from babelshift 2014-01-12 15:18:50 -05:00
babelshift 078ef09a09 Adding missing hint to handle scale quality 2014-01-12 11:19:45 -05:00
Ethan Lee 63c194dd81 Add MSADPCM256 support 2013-12-02 23:39:57 -05:00
Luís Reis 5caa264f85 Added SDL_RenderSetLogicalSize and SDL_RenderGetLogicalSize 2013-11-30 16:05:05 +00:00
Ethan Lee 062241ca82 SDL2_image has SavePNG, woohoo! 2013-11-18 11:28:32 -05:00
Jameson Ernst b5762af567 Bind touch API. Use frameworks on OS X 2013-10-28 13:09:42 -07:00
Ethan Lee 5b575f02a0 Fix EffectsExtension for lower-level TK. 2013-10-27 15:25:47 -04:00
Ethan Lee 3ce41e80ac Stick to AL.cs style for Buffer 2013-10-27 11:59:56 -04:00
Ethan Lee ac4ac4d299 AL_LOOP_POINTS_SOFT 2013-10-27 07:22:16 -04:00
Ethan Lee 1ffb95fa74 SDL_GetPlatform 2013-10-27 05:02:20 -04:00
David Gow acd92371fc HighDPI support + odds and ends
This patch adds support for the SDL HighDPI stuff (for MacOSX Retina
displays et al), as well as adding a few missing things from SDL 2.0.0
and SDL 2.0.1:
* HighDPI support (hint, window flag, SDL_GL_GetDrawableSize)
* SDL_TICKS_PASSED() macro
* SDL_GL_GetCurrentWindow()
* SDL_GL_GetCurrentContext()
* SDL_HINT_RENDER_DIRECT3D_THREADSAFE
* SDL_HINT_TIMER_RESOLUTION
2013-10-26 11:44:30 +08:00
Ethan Lee d1e5b4d1a0 2.0.1 2013-10-24 02:28:10 -04:00
Ethan Lee f154bab1d8 Add 2.0.1 remark to GetSystemRAM 2013-10-22 22:34:30 -04:00
David Gow cfec5bc59f Merge branch 'sdl2-hg' of https://github.com/flibitijibibo/SDL2-CS
Conflicts:
	src/SDL2.cs
2013-10-23 10:18:48 +08:00
David Gow 85dd4bbb6d Extend filesystem docs, remove LeaveAllocated 2013-10-23 10:16:27 +08:00
Ethan Lee 8facd9f0b0 Merge branch 'sdl2cs-system-ram' of git://github.com/babelshift/SDL2-CS into sdl2-hg 2013-10-22 20:26:23 -04:00
Justin Skiles 861f5b3df6 Fixed trailing space on line 3797. 2013-10-22 20:15:27 -04:00
Justin Skiles 29372e5fa4 Added binding to SDL_GetSystemRAM() in SDL_cpuinfo.h 2013-10-22 19:28:34 -04:00
David Gow 475b9b6787 Add SDL_filesystem.h for SDL 2.0.1 2013-10-22 15:06:27 +08:00
David Gow 15aa82b2df Add SDL_GL_FRAMEBUFFER_SRGB_CAPABLE (SDL bug 1985) 2013-10-21 10:14:24 +08:00
Ethan Lee 1459270321 AL_EXT_MSADPCM support 2013-10-08 23:50:54 -04:00
Ethan Lee e7f9b53796 Fix BlitSurface, add BlitSurfaceScaled 2013-09-29 05:45:58 -04:00
Melker Narikka 390a6c2cb3 Remember trailing whitespace? Me neither.
Doesn't touch MiniTK.
Went with a good ol'
	% git ls-files | grep -v MiniTK | xargs -d "\n" -r sed -i 's/[ \t]\+$//g'
2013-09-27 12:39:57 +00:00
thefiddler 58a8d318ac Normalized whitespace (spaces -> tabs) 2013-09-27 11:18:54 +02:00
thefiddler 95f0f58b84 Added SDL_GLcontextFlags enumeration.
The SDL_GLcontextFlags enumeration contains the values that are used in the SDL_GL_SetAttribute(SDL_GL_CONTEXT_FLAGS, ...). This is required for enabling the debug or robustness OpenGL profiles.
2013-09-26 23:03:10 +02:00
Justin Skiles 49f4419656 Forgot to save the file before pushing. Ugh. 2013-09-02 15:20:41 -04:00
Justin Skiles 552a8b5ead Adding overload for SDL_LockTexture to allow IntPtr.Zero in the "rect" parameter. SDL documentation states that passing NULL for this value will lock the entire texture." 2013-09-02 15:18:11 -04:00
Justin Skiles 080f4e6e2b Fixing typo in SDL_TextureAccess enumeration for member SDL_TEXTUREACCESS_STATIC (it was missing an 'S') 2013-09-02 00:16:46 -04:00
Ethan Lee 0b7cd87083 The union is a separate entity. 2013-09-01 16:37:48 -04:00
Ethan Lee 28ad7c171c SDL_GetWindowWMInfo() 2013-09-01 16:30:39 -04:00
Ethan Lee 657c78f956 Only disable 0169 warning where it is needed. And oh, look, it found a bug! 2013-09-01 16:24:44 -04:00
Ethan Lee 72735d2b8d SDL_syswm.h 2013-09-01 16:18:38 -04:00
Ethan Lee 29c51a3f9b Merge pull request #35 from babelshift/sdl2#-xml-docs
Started adding XML comments. This will be a long journey.
2013-08-31 14:54:10 -07:00
Justin Skiles c4bcd17f60 Started adding XML comments. This will be a long journey. 2013-08-31 15:37:23 -04:00
Ethan Lee 41885b1e80 SDL_systimer docs 2013-08-30 00:48:02 -04:00
Justin Skiles dbe1891988 Adding methods to map to SDL_Delay and SDL_GetTicks in SDL_systimer.h 2013-08-29 23:20:39 -04:00
Ethan Lee 5b2d1c3aea Right. Like I said. Lunatic. 2013-08-28 06:39:52 -04:00
Ethan Lee 9b86627382 Doc cleanup. Because I am a lunatic. 2013-08-28 06:31:06 -04:00
Justin Skiles ad6e7a7fa8 Added all source/destination null parameter overload variations for RenderCopy. Added function comments to explain their use. Fixed inconsistent tabbing. 2013-08-26 20:16:51 -04:00
Justin Skiles 796e0b9e54 Added overload to SDL_RenderCopy method to allow SourceRectangle to be passed as an IntPtr. This allows developers to pass IntPtr.Zero to take advantage of internal SDL default values for null rectangles. 2013-08-26 18:44:39 -04:00
gered 72dd621577 fixed reversed const definitions
See http://hg.libsdl.org/SDL/file/8f71b590aff6/include/SDL_events.h#l49
2013-08-18 14:01:55 -04:00
Jameson Ernst 2d5f572ccf Changed text input events to byte instead of char
Added hint for background joystick events
2013-08-17 17:58:31 -07:00
Ethan Lee 482319f9b0 Grumble, C# structs... 2013-08-10 13:58:57 -04:00
Ethan Lee a9f3447df3 SDL_HapticLeftRight is in upstream! 2013-08-10 13:54:48 -04:00
ollipekka 82aae4d722 Fixed leading whitespace in indent. 2013-08-03 21:41:48 +03:00
ollipekka 70c4d742c8 Unified naming conventions with the native SDL2 library and introduced SDL_GLprofile. 2013-08-03 21:39:08 +03:00
Jameson Ernst c751ad0a03 Fixed gamma-ramp marshaling
more out params
2013-07-24 16:33:52 -07:00
Ethan Lee fe8cf68230 Fix SDL_RenderGetViewport entry 2013-07-15 12:36:03 -04:00
Jameson Ernst 941209348a Change messagebox enum base types to uint
Change access level on messagebox internals to private
2013-07-14 22:14:06 -07:00
Jameson Ernst 51e907c959 Marshaling refinements to supplementary libraries 2013-07-14 21:24:26 -07:00
Jameson Ernst 423ace8dd8 Merge remote-tracking branch 'origin/master' 2013-07-14 20:28:05 -07:00
Jameson Ernst 92397d8a98 Added SDL_messagebox wrapper 2013-07-14 19:25:35 -07:00
Jameson Ernst 964f553e25 Marshaling refinements 2013-07-14 14:51:55 -07:00
Ethan Lee 284c1cde76 Add SDL_messagebox.h 2013-07-13 14:21:00 -04:00
Jameson Ernst 19d4602321 Don't free strings returned from SDL
Accept nulls for marshaling
2013-06-26 11:02:44 -07:00
Jameson Ernst 00f353693e Fixed leftover internal names 2013-06-25 23:51:05 -07:00
Jameson Ernst 4868a53683 Added UTF-8 support to supplementary libs
Style changes for consistency
2013-06-25 23:16:43 -07:00
Jameson Ernst 1c6c04f2e2 Apply UTF-8 marshaling to return values and removed extra wrapping layer 2013-06-25 22:12:29 -07:00
Jameson Ernst 1741030481 Added UTF-8 string marshaling 2013-06-25 21:36:38 -07:00
Ethan Lee 0d5195c00c Add SDL_SetMainReady 2013-06-19 01:45:44 -04:00
Ethan Lee 9f0949be21 Fix SDL_SaveBMP 2013-05-24 07:37:37 -04:00
Ethan Lee 2658498408 Haptic effects seem to work now. 2013-05-09 14:54:47 -04:00
Ethan Lee 8876cc0117 More Haptic fixes... I think... 2013-05-08 23:07:58 -04:00
Ethan Lee 1b692d307d A couple fixes for Haptic 2013-05-08 21:14:32 -04:00
Ethan Lee 6ccf4ca414 Fix some VS debugger issues. 2013-05-04 15:46:10 -04:00
Ethan Lee 0023c59bd3 SetWindowFullscreen has more options than a bool 2013-04-29 06:52:32 -04:00
Ethan Lee 7c1bfdbaeb Fix SDL_BUTTON masks. 2013-04-28 18:58:30 -04:00