aboutsummaryrefslogtreecommitdiff
path: root/src/library_sdl.js
AgeCommit message (Collapse)Author
2013-09-01misc in.h and SDL joystick stubsAnthony Pesch
2013-08-27Merge pull request #1564 from inolen/sdl_fullscreen_fixAlon Zakai
support SDL_WM_ToggleFullScreen when initiated by key input
2013-08-27support SDL_WM_ToggleFullScreen when initiated by key inputAnthony Pesch
2013-08-26Merge pull request #1507 from ToadKing/sdl-alpha-keysAlon Zakai
SDL alpha keys fix
2013-08-19Merge pull request #1524 from inolen/sdl_unicodeAlon Zakai
pass in modified character to SDL keydown events
2013-08-16capture charCode field of keypress events to backfill keydown eventsAnthony Pesch
2013-08-16simplify and automate GetProcAddress logic, and move it out of GL emulationAlon Zakai
2013-08-14Merge pull request #1517 from inolen/sdl_surface_sizeAlon Zakai
SDL_Surface size fix
2013-08-14fixed SDL_Surface struct sizeAnthony Pesch
2013-08-14added SDL_AudioDriverNameAnthony Pesch
2013-08-12fix alpha keycodes in handleEventToadKing
2013-08-12split out handling SDL events from making C events for them, to make ↵Alon Zakai
SDL_PumpEvents work; fixes #1419
2013-08-08converted Object.defineProperty calls to use Object.defineProperties in ↵Anthony Pesch
order to make closure happy
2013-08-08Merge pull request #1470 from inolen/preload_path_fixesAlon Zakai
file preload path fixes
2013-08-07updated bad function formattingAnthony Pesch
2013-08-06store preloaded images by their absolute pathAnthony Pesch
2013-07-31support for stb-imageAlon Zakai
2013-07-26Merge pull request #1393 from fhd/sdl-surface-refcountAlon Zakai
Implement SDL_Surface refcounting
2013-07-25Don't leak the last surface and improve SDL_surface refcount testFelix H. Dahlke
2013-07-24Merge pull request #1386 from michaeljbishop/sdl_rwopsAlon Zakai
Add support for `SDL_RWFromConstMem()` for .ogg files.
2013-07-22Made getMimetype() a public method of the Browser module and used itMichael J. Bishop
inside the SDL module.
2013-07-22Added mime type information to SDL_rwops in `SDL_RWFromFile` as a hintMichael J. Bishop
to processing down the line. Changed the `Pointer_stringify()` call to occur in `SDL_RWFromFile` instead of downstream which makes more sense. Cleaned up formatting.
2013-07-19Formatting cleanup.Michael J. Bishop
2013-07-19handle out param in SDL_GetKeyboardState; fixes #1404Alon Zakai
2013-07-17Fix SDL_surface refcount test and initialise refcount to 1Felix H. Dahlke
2013-07-17Implement SDL_Surface refcountingFelix H. Dahlke
2013-07-15Made sure that `IMG_Load_RW` is also aware that it should receiveMichael J. Bishop
`SDL_RWops *` generated from `SDL_RWFromFile()`.
2013-07-15Updated with kripken's suggestions.Michael J. Bishop
2013-07-15Merge pull request #1385 from fhd/zoom-if-360Alon Zakai
Just zoom the surface if the angle is divisible by 360
2013-07-15Added support for loading .ogg audio files using a combination ofMichael J. Bishop
`SDL_RWFromConstMem()` + `Mix_LoadMUS/WAV_RW()`. `SDL_RWFromConstMem()` now returns an opaque reference that corresponds to a Javascript-side object which retains the information passed in. The same for `SDL_RWFromFile()` but it saves different information. When `Mix_LoadMUS/WAV_RW()` is called, it now expects a reference to one of those Javascript-side objects and from it, either uses a pre-loaded Audio, or reads bytes from the file-system to make one, or uses the bytes originally passed into `SDL_RWFromConstMem()` to create one. Note that with this change you can now simply embed sound files in your app, you do not need to preload them.
2013-07-16Just zoom the surface if the angle is divisible by 360Felix H. Dahlke
2013-07-16Implement TTF_FontHeightFelix H. Dahlke
2013-07-12only push proper canvases to canvas poolAlon Zakai
2013-07-11Merge pull request #1354 from fhd/fix-gc-pausesAlon Zakai
Fix GC pauses by reusing canvas elements
2013-07-11Add missing bracesFelix H. Dahlke
2013-07-11Document canvasPoolFelix H. Dahlke
2013-07-10Merge pull request #1363 from dtc/sdl-touchAlon Zakai
Add basic touch support that translates to mouse events.
2013-07-11Update the AUTHORS file, and address some code style issues.Douglas T. Crosher
2013-07-10Add comment.Jez Ng
2013-07-10Cast signedness in library_SDL functions.Jez Ng
2013-07-10Wrap gfx helpers in a $SDL_gfx object.Jez Ng
2013-07-10Add (failing) test for gfx primitives.Jez Ng
2013-07-10Avoid noisy error logs.Jez Ng
2013-07-10Add workaround for FF.Jez Ng
2013-07-10Implement ellipse drawing and refactor rect code.Jez Ng
2013-07-10Fix negative surface zooming.Jez Ng
2013-07-10Add basic touch support that translates to mouse events.Douglas T. Crosher
2013-07-09Bunch of changes to support Syobon Action.Jez Ng
2013-07-08Fix GC pauses by reusing canvas elementsFelix H. Dahlke
2013-06-24Removed unnecessary "audio.paused = " statements.Michael J. Bishop