Commit graph

4768 commits

Author SHA1 Message Date
Ryan C. Gordon
6f62ce7bcc More work to clean up compiler warnings. 2011-12-05 16:45:32 -05:00
Ryan C. Gordon
f98e22682f Patched to compile. 2011-12-05 13:17:57 -05:00
Ryan C. Gordon
5c8b76f6a9 Fixed a tabstop. 2011-12-05 13:13:32 -05:00
Ryan C. Gordon
95de92cbf2 Backed out most of changeset 4b88086910d3, at Andreas's request. 2011-12-05 12:43:50 -05:00
Andreas Schiffler
a6b353dfa5 Fix buildbot sdl-macosx-unix-x86 and sdl-macosx-amd64 compiler warnings 2011-12-05 07:41:20 -08:00
Andreas Schiffler
4d6a742cd1 Updated VS2010 project files 2011-12-04 21:45:34 -08:00
Sam Lantinga
29177954e7 It works better if you compile it. 2011-11-29 02:28:34 -05:00
Sam Lantinga
f98e88676c Better fix, iterate backwards over the array so we don't care whether the close code shuffles things down. 2011-11-29 02:27:34 -05:00
Sam Lantinga
22e0d6fa53 Closing the joystick removes it from the list. 2011-11-29 02:15:39 -05:00
Sam Lantinga
10823d6065 Invalid assert. It's perfectly legit to initialize the joystick subsystem and get no joysticks. 2011-11-29 02:12:24 -05:00
Sam Lantinga
dd506a225a Yes, let's save 32-bit BMP files, very useful for you know, making a game... 2011-11-29 02:11:39 -05:00
Ryan C. Gordon
c06f45e2ba Another iOS 3.1 compatibility fix.
Thanks to Vittorio Giovara for the patch!
2011-11-27 23:30:02 -05:00
Sam Lantinga
6182eb372a No man pages for SDL 1.3 2011-11-23 13:25:45 -05:00
Sam Lantinga
f52f040b3d First pass at a simple drag and drop API, allowing you to accept files dropped into your application. 2011-11-20 19:38:18 -05:00
Ryan C. Gordon
269da4cbfb Make +sharedAppDelegate return a generic object instead of a SDLUIKitDelegate.
This way subclasses can use it without a lot of casting.

Thanks to Vittorio Giovara for the patch!
2011-11-19 19:23:33 -05:00
Ryan C. Gordon
3d371a2143 Check for selectors UIScreen responds to, not the base system version.
Thanks to Vittorio Giovara for the patch!
2011-11-19 19:18:20 -05:00
Ryan C. Gordon
edd6324c83 Fix iOS build when SDL_POWER_UIKIT isn't defined.
Thanks to Vittorio Giovara for the patch!
2011-11-19 19:13:55 -05:00
Sam Lantinga
402034f43f Fixed the aux directory to be the one recognized by automake.
This isn't strictly needed by SDL, but it's a good example for other projects.
2011-11-17 00:43:44 -05:00
Sam Lantinga
1407550e6a Fixed where we set the content scale - it's used by the renderbufferStorage:GL_RENDERBUFFER_OES call. 2011-11-17 00:41:07 -05:00
Ryan C. Gordon
82db09310f Patched to compile on newer FreeBSD releases.
Thanks to Marcus von Appen for the patch!
2011-11-16 05:13:40 -05:00
Sam Lantinga
5759a8f1db Fixed issues with the touch coordinates in landscape mode.
In landscape mode the frame stays the same, and the transform property is modified with the appropriate rotation.
The touch coordinates are rotated by the transform, so if I want to normalize them by the frame rect, I have to transform the frame rect first.
2011-11-15 01:38:27 -05:00
Sam Lantinga
f9a731d576 Fixed whitespace 2011-11-10 06:38:26 -05:00
Sam Lantinga
795a68e8a8 Work in progress fixing support for rotated video modes 2011-11-10 03:48:59 -05:00
Sam Lantinga
97ae2354eb Fixed issues closing lines with the OpenGL ES renderer. 2011-11-10 00:22:44 -05:00
Sam Lantinga
a6adb03997 Fixed an offset issue with glDrawTexiOES() when the viewport is set. 2011-11-10 00:22:01 -05:00
Sam Lantinga
51dad9cf5e GIMP wrote bmp files in RGBX format. Huh. 2011-11-09 22:53:44 -05:00
Sam Lantinga
3d98438877 Fixed creating a fullscreen window on iOS 2011-11-09 02:35:49 -05:00
Ryan C. Gordon
922a04d060 Fixed compiler warnings for uninitialized variables. 2011-11-09 00:27:44 -05:00
Ryan C. Gordon
9bfdb9ee33 Fixed uninitialized variable. 2011-11-08 19:45:41 -05:00
Ryan C. Gordon
311a3e9453 Merge from https://bitbucket.org/keestux/sdl ... SDL_gesture code cleanup. 2011-11-08 16:24:02 -05:00
Sam Lantinga
a61775dde5 To answer the FIXME, no, we shouldn't force this. The fullscreen flag implies borderless behavior even though the flag isn't set on the window (in case fullscreen is toggled) 2011-11-08 00:17:41 -05:00
Sam Lantinga
c9bb3c7072 The iOS driver sets the fullscreen and shown flags on the window during creation, so we need the mode code to be aware of that, since none of the other fullscreen/shown code paths get run.
FIXME: Maybe we need a better way of detecting that?
2011-11-08 00:03:54 -05:00
Sam Lantinga
e2d1d0aec3 Fixed a typo, we should set the driverdata if we are 3.2 or newer. 2011-11-08 00:02:47 -05:00
Sam Lantinga
918d8540ea Fixed list loop caused when there are two entries in the list and the one being returned is already at the head. 2011-11-07 23:10:49 -05:00
Sam Lantinga
c5b4e5f63e Fixed SDL applications being killed immediately after being backgrounded, because they were trying to draw while minimized. 2011-11-07 23:07:00 -05:00
Sam Lantinga
352caf548a Need to send a key up, silly. 2011-11-07 02:24:52 -05:00
Sam Lantinga
2c5a3ddb62 Fixed a typo in the header. 2011-11-07 02:25:01 -05:00
Sam Lantinga
0a82b3eefe Fixed double-free in the shader cache at shutdown 2011-11-07 00:45:13 -05:00
Ryan C. Gordon
a5bb3d3f60 Mac OS X: Fixed build when compiling without Cocoa support.
Thanks to Martin Gerhardy for the patch!
2011-11-06 17:05:48 -05:00
Ryan C. Gordon
4220f125c3 Fixed some preprocessor mistakes introduced in iOS project cleanup. 2011-11-03 11:51:47 -04:00
Ryan C. Gordon
9f84d0e002 Fix crash on X servers without UTF-8 support. 2011-10-31 23:37:57 -04:00
Sam Lantinga
ad2a21d404 Lots of fixes importing SDL source wholesale into a new iOS project
--HG--
rename : src/libm/math.h => src/libm/math_libm.h
2011-10-31 05:56:58 -04:00
Sam Lantinga
e112859e94 This code works for OpenGL ES 1.1 as well! :) 2011-10-31 03:06:32 -04:00
Sam Lantinga
fcb2aa5617 Implemented RenderReadPixels for the OpenGL ES 2.0 renderer. 2011-10-31 02:55:21 -04:00
Sam Lantinga
0c041192f6 SDL_ConvertPixels() returns 0 on success 2011-10-31 02:44:21 -04:00
Sam Lantinga
ec5e765da6 Fixed warnings on iOS 2011-10-31 01:59:54 -04:00
Sam Lantinga
f7c2849eb9 The draw color affects RenderClear() as well. (thanks to the feedback form to whoever pointed this out) 2011-10-30 17:53:54 -04:00
Sam Lantinga
efc259dce1 Fixed typo - thanks Sheena! 2011-10-30 17:31:59 -04:00
Andreas Schiffler
98f2e298fc Fix sdl-haiku buildbot compiler warnings 2011-10-30 00:19:13 -07:00
Andreas Schiffler
c5e05365c6 Update SDL_HasClipboardText functions to return value based on clipboard content; Fix memory leak in fallback SetClipboard implementation 2011-10-29 23:43:59 -07:00