aboutsummaryrefslogtreecommitdiff
path: root/src/library_sdl.js
AgeCommit message (Collapse)Author
2012-08-30Count the number of samples correctlyEhsan Akhgari
Note that this is not the number of audio frames, so the number of channels doesn't matter here.
2012-08-30support for SDL_QUIT eventAlon Zakai
2012-08-29remove unneeded preventDefault - we return false anyhowAlon Zakai
2012-08-29support mousewheel eventAlon Zakai
2012-08-29full capture keyboard events in sdl, to prevent default actions entirelyAlon Zakai
2012-07-21Merge pull request #516 from caiiiycuk/sdl_colors_perfomanceAlon Zakai
Improve perfomance of SDL_HWPALETTE
2012-07-19Add keycode DOM=>SDL_Keycode for SDLK_DELAleksander Guryanov
2012-07-19Fix sdl_getmodAleksander Guryanov
2012-07-19Improve perfomance of SDL_HWPALETTEAleksander Guryanov
2012-07-17Merge pull request #511 from forandom/keycodeAlon Zakai
Fix keyCodes for ctrl, alt, shift
2012-07-15freePreloadedMediaOnUse option to free preloaded media on useAlon Zakai
2012-07-15when using SDL for GL, do not keep canvas and contexts for 2D blittingAlon Zakai
2012-07-14Fix keyCodes for ctrl, alt, shiftXingxing Pan
2012-07-11Fix SDL_MapRGB and implement SDL_MapRGBA.nandhp
Also provide a test case.
2012-06-25refactor Mix_PlayChannel and fix volume for RAWAlon Zakai
2012-06-25Implement Mix_QuickLoad_RAWEhsan Akhgari
2012-06-17Merge pull request #474 from ehsan/mouselockmovementAlon Zakai
Fix the mouse coordinates in pointer lock mode
2012-06-16refactor SDL audio a little and add support for music volume adjustmentAlon Zakai
2012-06-15handle -1 arguments to Mix_VolumeAlon Zakai
2012-06-15SDL_StartTextInput stubAlon Zakai
2012-06-15SDL_GetVideoSurfaceAlon Zakai
2012-06-14Fix the mouse coordinates in pointer lock modeEhsan Akhgari
This patch enables us to trust the mouse movement information that the browser provides when the pointer lock is active. It should help with the mouse movement detection for games in full-screen mode, if they use the SDL xrel/yrel information.
2012-06-13support NULL rect in SDL_FillRectAlon Zakai
2012-06-13Merge pull request #466 from caiiiycuk/SDL_HWPALETTEAlon Zakai
Implementation of SDL_Surface with SDL_HWPALETTE flag (8bpp surface)
2012-06-13Implementation of SDL_HWPALETTEAleksander Guryanov
Little bit refactoring for copyIndexedColorData now it can accept dirty rect
2012-06-11call hookMusicFinished when music completes by itselfAlon Zakai
2012-06-11SDL music stuffAlon Zakai
2012-06-11make image and audio preloading closure-safe and accessible from outside ↵Alon Zakai
closured code
2012-06-08optimize SDL_SetColorsAlon Zakai
2012-06-01properly fix bug with holding mouse down while exiting canvasAlon Zakai
2012-05-31fix minus keybindingAlon Zakai
2012-05-31disable mouse unpressing on mouse exit, til we figure out the bugginessAlon Zakai
2012-05-31un-press all mouse buttons when the mouse leaves the canvas, prevents bug ↵Alon Zakai
with mouse button staying down after leaving, until reentering and clicking
2012-05-30Add sdl functions: 'SDL_UpdateRects', 'SDL_GetKeyState'Aleksander Guryanov
2012-05-29Add missing sdl functions (SDL_VideoModeOK SDL_VideoDriverName ↵Aleksander Guryanov
SDL_QuitSubSystem)
2012-05-22Save the state of the mouse button as we're creating a C event for itEhsan Akhgari
2012-05-22Fix the SDL mouse motion eventsEhsan Akhgari
2012-05-18sdl backtickAlon Zakai
2012-05-15Fix IMG_Load to work with absolute pathsEhsan Akhgari
2012-05-10remove dupeAlon Zakai
2012-05-05fix movementX|Y workaround with closureAlon Zakai
2012-05-05make sdl event handling work in closure, and add testingAlon Zakai
2012-05-05refactor gl code for closure compiler, and add more testingAlon Zakai
2012-05-05rename Browser.getAsyncCall to Runtime.getFuncWrapperAlon Zakai
2012-05-04closure fixAlon Zakai
2012-05-04support for SDL channels and channelFinishedAlon Zakai
2012-05-03more audio stubsAlon Zakai
2012-05-03stub for Mix_FadingChannelAlon Zakai
2012-05-03SDL_GetModStateAlon Zakai
2012-05-03add period and comma to sdl keysAlon Zakai