Commit Graph

5531 Commits

Author SHA1 Message Date
Joshua Granick
68dff31af8 Fix Android char code 2014-02-13 15:51:58 -08:00
Joshua Granick
92a82145bb Fix Android key codes 2014-02-13 15:44:51 -08:00
Joshua Granick
80d69b9582 Clear fix 2014-02-13 14:25:49 -08:00
Joshua Granick
a706e4cacb Compile fix 2014-02-13 13:59:38 -08:00
Joshua Granick
3eef41b7f4 Compile fix 2014-02-13 13:12:36 -08:00
Joshua Granick
7c5fde6cbb Use charCode and keyCode from Android 2014-02-13 11:56:42 -08:00
Joshua Granick
e175cfe154 Merge openfl-native templates 2014-02-13 09:41:09 -08:00
Joshua Granick
174623162f Don't list Lime samples when using OpenFL 2014-02-13 09:41:09 -08:00
underscorediscovery
e9eda13af8 Wrapper; enforcing return types 2014-02-13 04:21:23 -03:30
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
Sven Bergström
d3b31ec3cd Merge pull request #82 from dazKind/master
Thanks for the contribution! 

@dazKind : added missing ogl functions
2014-02-10 23:19:24 -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
e5a78f0415 Wrapper; template - fixing spaces 2014-02-08 16:23:45 -03:30
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
abad2b8035 Merge pull request #50 from waffleio/master
waffle.io Badge
2014-02-07 15:45:48 -08:00
waffle.io
321b4bbfef add waffle.io badge 2014-02-07 16:45:34 -07:00
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
Joshua Granick
ef736b2c40 Merge pull request #37 from kasoki/android_immersive_mode
Add support for android immsersive mode
2014-02-04 08:15:05 -08:00
Christopher Kaster
83c2f9ad30 remove redundant code for immersive mode, make immersive sticky and disable old fullscreen flags for android devices below api 19 2014-02-04 15:09:41 +01:00
Christopher Kaster
dec40dab5f add support for android-19 immersive mode 2014-02-04 14:34:28 +01:00
Sven Bergström
76211190f8 Merge pull request #36 from kasoki/master
fix samples (thanks @kasoki, I had missed these when searching for the location)
2014-02-03 14:42:55 -08:00
Christopher Kaster
e22309df9c fix samples 2014-02-03 23:13:32 +01:00
Joshua Granick
3dee24c593 Merge pull request #33 from grapefrukt/aa-fallback
Detects failure to create the SDL window or renderer and retries without...
2014-02-03 11:56:17 -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
underscorediscovery
9099d89a67 Provisionally cleaning up older --macro calls from the build files.
It seems keep is a macro in newer versions of haxe, and is the preferred
way anyway. I can't manage to get the compiler to remove the Main file
no matter what, so removing it provisionally. It causes FD and probably
more to choke on the code complete step when it throws errors from the
--macro option.

This can be readded if keep is really needed, but it doesn't appear to
be (or if it's using the incorrect keep syntax then that could be
corrected).
2014-02-01 05:45:51 -03:30
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
underscorediscovery
26af6c587b Wrapper; Samples; fix audio sample to match latest wrapper api 2014-01-30 00:18:45 -03:30
underscorediscovery
3d3ab38023 Audio; refactor for the new helpers/platforms system, fixing looping in html5 and native to be more consistent across platforms 2014-01-29 23:40:48 -03:30
underscorediscovery
277cbf83a5 Wrapper; Audio; Making sure audio thread code only runs on native with thread options
Wrapper; Template; updating html5 ApplicationMain.hx to have parity with new config typing.
2014-01-28 03:35:14 -03:30