Commit Graph

277 Commits

Author SHA1 Message Date
underscorediscovery
784144ce50 Console Spamming!
@RobDangerous
@jgranick

What is this for? It’s getting called quite a bit while my games are
running, even when I am most certainly not trying to change the screen
mode……
2014-02-11 00:07:55 -03:30
underscorediscovery
b1bba0cae7 Stage Events; cleaning up sx/sy clarity, adding deltaX and deltaY values for use with things that have delta (specifically in this case mouse locking support)
Mouse; relative mouse mode (for locking the cursor inside the window, like FPS games do) delta passed into the event if it's enabled
2014-02-10 23:54:48 -03:30
Michael Bickel
17676b63b3 added missing ogl functions 2014-02-11 03:38:52 +01:00
Joshua Granick
14ab05b950 Merge pull request #19 from Hasufel/master 2014-02-10 11:41:44 -08:00
Joshua Granick
344cda94d2 Merge pull request #4 from RobDangerous/master
Implemented support for changing resolutions and going fullscreen.
2014-02-10 11:26:11 -08:00
underscorediscovery
602e0ae248 Cursor; lock cursor flag was inverted temporarily to cater for irregularity in sdl2 initial port, so undoing that.
See comments on #54 for more info on lock state.
2014-02-08 06:53:22 -03:30
Joshua Granick
6e8ff94819 Merge pull request #38 from bendmorris/master
DrawTiles optimization
2014-02-07 12:04:58 -08:00
Joshua Granick
edd0e7342d FreeType fix (thanks shevalie) 2014-02-07 09:51:21 -08:00
Joshua Granick
55f1cbf94b Check unpack align for alpha texture updates, do single texsubimage2d call (thanks Hugh) 2014-02-06 23:41:07 -08:00
Joshua Granick
43bc6dfe46 Updates for pre-multiplied alpha (thanks Hugh) 2014-02-06 16:31:22 -08:00
bendmorris
94a0ba8f2f Avoid segfault when SDL_JoystickNameForIndex returns null (no joystick for that id.) 2014-02-06 16:54:54 -05:00
bendmorris
770350fd4c Adding function to detect joystick names on Win/Mac/Linux. 2014-02-06 12:34:25 -05:00
Joshua Granick
e351bd6b79 Fix normal offset for AA lines (thanks Hugh) 2014-02-05 08:05:04 -08:00
Joshua Granick
23dc43bc0a Start on more efficient tesselation algorithm (thanks Hugh) 2014-02-05 07:58:27 -08:00
Joshua Granick
7b5a09d564 Disable VBOs until the context loss code is working 2014-02-05 07:55:47 -08:00
Joshua Granick
9ea827054a Reset mElement when completing a line loop (thanks Hugh) 2014-02-05 07:53:48 -08:00
Joshua Granick
0dcd4787c4 Work on new graphics (tesselated AA hardware lines, single hardware array, VBO and programatic shader generation) (thank you Hugh) 2014-02-05 07:46:31 -08:00
bendmorris
d65c4c000b drawTiles optimization: allow the caller to specify the size of data within the array that should be rendered. 2014-02-04 21:31:27 -05:00
Joshua Granick
36051e31c8 Remove viewport-per-drawcall data (thanks Hugh) 2014-02-04 11:02:20 -08:00
Joshua Granick
1d0b5324e4 Use common code for Android GC interaction (thanks Hugh) 2014-02-04 10:48:50 -08:00
Joshua Granick
805331e6c7 Cleanup local JNI ref 2014-02-04 10:14:39 -08:00
Joshua Granick
de7c6a4995 Fix Android JNI class compare logic, allow string return value (thanks Hugh) 2014-02-04 09:38:55 -08:00
Joshua Granick
cb6b1159d9 Find a default font using a list of possible matches (on iOS) (thanks Hugh) 2014-02-04 09:02:12 -08:00
Martin Jonasson
f63ab85861 Detects failure to create the SDL window or renderer and retries without some optional features. Also adds error messages when window/renderer creation does fail.
Fixes #32
2014-02-01 13:46:44 +01:00
Joshua Granick
0c2ba2fa7c Merge pull request #29 from massiveinteractive/fix/curl-header-size-limit
Remove 512 size limit on CURL header
2014-01-31 10:03:27 -08:00
Mike Stead
bca02d6bf2 Remove limitation of 512 header size limit, instead use size based on header length. 2014-01-31 15:17:20 +11:00
Joshua Granick
218ecc3ce2 Simpler tRNS check 2014-01-30 12:51:45 -08:00
Joshua Granick
19eaafed85 Merge pull request #24 from dukope/master
Fix software rendering issues
2014-01-27 11:05:13 -08:00
Joshua Granick
f70ac7a94e Merge pull request #23 from BigZaphod/master
Performance enhancement
2014-01-24 17:27:51 -08:00
Joshua Granick
7ab0953439 Fix software fallback on some older/more minimal graphic cards 2014-01-24 08:31:11 -08:00
Lucas Pope
cda7b69d1c Fix low-quality software tile rasterization issues (See here for example: http://i.imgur.com/wcykqEo.png) 2014-01-24 22:59:58 +09:00
Lucas Pope
60facc4067 Set has_alpha flag correctly in 8-bit pngs with alpha (fixes software mode rendering to match hardware) 2014-01-24 22:51:36 +09:00
Sean Heber
80bfc72e73 Performance enhancement
Improved tile performance by using reserve() to alloc the size of the
arrays internally all at once instead of on-demand since this is way
faster. In my test case this made a significant impact. Also attempting
to get the compiler to avoid some other more hidden copying.
2014-01-23 21:14:39 -06:00
Joshua Granick
dc71c912c7 Fix GL drawArrays issue on desktop 2014-01-20 17:44:16 -08:00
Joshua Granick
9cd63539f6 Fix occasional crash in ColorMatrixFilter 2014-01-10 10:18:18 -08:00
Sven Bergström
43d92fed35 Noting the value of the magic number 2014-01-03 15:31:24 -03:30
Martin Jonasson
ad0f915c88 Pans the sound along a semi circle in front of the listener instead of moving just sideways. This makes it possible to pan a sound slightly to one side, as opposed to the earlier all-or-nothing behavior. 2014-01-03 16:36:46 +01:00
sergey-miryanov
d8f776c2d1 Merge branch 'master' of https://github.com/openfl/lime 2013-12-28 21:12:07 +06:00
Joshua Granick
b7f0928d4f Fix for Firefox 2013-12-27 17:09:45 -08:00
Joshua Granick
870449e3ff Undo changes to glEnable/Disable 2013-12-26 20:26:49 -08:00
Joshua Granick
9274a784c7 Guard glEnable calls when targeting only GLES2 2013-12-26 17:22:03 -08:00
Joshua Granick
5000fa42c0 Emscripten fixes 2013-12-26 16:53:58 -08:00
Joshua Granick
ce412987b3 Tizen storage directory should be 'data' 2013-12-19 11:53:51 -08:00
Joshua Granick
c4ea75418a Read Ogg Vorbis data directly into out buffer 2013-12-15 20:23:46 -08:00
Joshua Granick
8be4a99ed4 Performance improvement on loading OGG samples to memory 2013-12-13 18:36:49 -08:00
Joshua Granick
cd157c4b02 Accelerometer still crashing on Tizen, use better dummy value 2013-12-09 14:54:22 -08:00
zerg
f844186c02 Merge branch 'master' of github.com:sergey-miryanov/lime 2013-12-09 15:48:55 +06:00
Valentin Lemiere
c3443568cb Stage resize fix 2013-12-07 15:40:22 +01:00
Joshua Granick
cd2c48a6f4 Android audio fix 2013-12-06 21:08:44 -08:00
underscorediscovery
6a4efcf9cf MacBoot was missing a call in sdl 2 stage, which causes asset problems on 10.7.x 2013-12-06 23:37:50 -03:30