- 07 Apr, 2011 1 commit
-
-
Sam Lantinga authored
-
- 06 Apr, 2011 1 commit
-
-
Sam Lantinga authored
Vittorio Giovara 2011-04-05 13:18:07 PDT The test application called "testsdl" inside the iOS project file crashes at launch time. The fix is trivial, removing the reference to MainWindow (as there are no Nibs included) from the Info.plist file.
-
- 05 Apr, 2011 4 commits
-
-
Sam Lantinga authored
Vittorio G. to Eric, Sam Actually this is much simpler than i thought, I just had to specify a class method to get the delegate name and then the category can override that method! I've attached the patch that enables this features: in my code i could remove my custom main() and simply add @implementation SDLUIKitDelegate (customDelegate) +(NSString *)getAppDelegateClassName { return @"HedgewarsAppDelegate"; } @end I tested it and with the sdl demos it loads the normal SDLUIKitDelegate, while in my code it loads my HedgewarsAppDelegate!
-
Sam Lantinga authored
Patch by Matthew Smaling
-
Sam Lantinga authored
Matthias 2011-03-20 23:07:02 PDT On X11, SDL 1.3 does not generate a mouse wheel event. Instead, button down/buttton up events are generated by SDL. After looking at the code in SDL_x11events.c, I assume this is due to the fact that X11 does not have a dedicated mouse wheel event. I did a little research on the behavior of mouse wheel events on X11 systems. Apparently, mouse wheel events generate a button down/button up event with the same time, i.e. with exact same timestamp. Attached you can find my changes to SDL_x11events.c, which generates SDL mouse wheel events for those button down events that have a button release event immediately following it (for the same button, and with the same timestamp). I did have to make an assumption: As standard X11 implementations know only 5 buttons, I have mapped Button4 to "wheel up" (i.e. +1), and Button5 to "wheel down" (i.e. -1). Note that if you include this patch, no SDL button down/up events will be generated on X11 platforms for mouse wheel events (which is probably a significant change for those that have programmed their code to work with them).
-
Ryan C. Gordon authored
- Always use a UIViewController, even if window is not resizable. - Let non-resizable windows still flip over, so user can hold device with the correct orientation, but upside down, if that's more comfortable. - Don't set the UIScreen unless we're forced to, as it resets some state. - Minor correction with conventions for -[self init] tapdance. --HG-- extra : rebase_source : d1b861f1174282eccb34f5efd183b03f6efcc2fa
-
- 04 Apr, 2011 1 commit
-
-
Sam Lantinga authored
-
- 03 Apr, 2011 2 commits
-
-
Ryan C. Gordon authored
Fixes strange rendering after rotating the device. --HG-- extra : rebase_source : 6962fd0710f95a81773157507aca653f9a3e1115
-
Airlangga Cahya Utama authored
-
- 29 Mar, 2011 6 commits
-
-
Sam Lantinga authored
-
Sam Lantinga authored
-
Sam Lantinga authored
-
Sam Lantinga authored
-
Ryan C. Gordon authored
-
Ryan C. Gordon authored
-
- 28 Mar, 2011 1 commit
-
-
Ryan C. Gordon authored
-
- 27 Mar, 2011 4 commits
-
-
Ryan C. Gordon authored
-
Sam Lantinga authored
Frank Zago to SDL There's also a patch to adapt one test for the nds, and that adds several makefiles to compile these tests. Whenever you apply it, could you completely remove the test/nds-test-progs/sprite and test/nds-test-progs/sprite2 directories ?
-
Sam Lantinga authored
-
Sam Lantinga authored
Frank Zago to SDL I've cleaned up a few bugs in the nds code. A few more tests now pass. There's still a few things to do, but overall I think it's starting to be in a good shape. The patch also includes a bug fix for SDL_ConvertSurfaceFormat() (gcc warning).
-
- 25 Mar, 2011 10 commits
-
-
Sam Lantinga authored
-
Sam Lantinga authored
-
Sam Lantinga authored
-
Sam Lantinga authored
-
Sam Lantinga authored
-
Sam Lantinga authored
Implemented thread priority as the 'nice' value on Linux. High priority threads require root permissions (you shouldn't give your game root permissions though!)
-
Sam Lantinga authored
--HG-- rename : test/testhread.c => test/testthread.c
-
Sam Lantinga authored
-
Sam Lantinga authored
-
Sam Lantinga authored
-
- 22 Mar, 2011 2 commits
-
-
Sam Lantinga authored
-
Sam Lantinga authored
-
- 21 Mar, 2011 2 commits
-
-
Sam Lantinga authored
Something inside setStyleMask mucks with the view responder chain, which prevents the listener from hearing the right mouse down events. We just reset the listener after changing the style to fix this.
-
Sam Lantinga authored
-
- 14 Mar, 2011 1 commit
-
-
Ken Rogoway authored
Fixed issue when calling SDL_BlitScaled() directly with src or dst rectangles that were out of bounds.
-
- 16 Mar, 2011 5 commits
-
-
Sam Lantinga authored
-
Sam Lantinga authored
-
Sam Lantinga authored
-
Sam Lantinga authored
-
Sam Lantinga authored
-