Commit Graph

1204 Commits

Author SHA1 Message Date
Nilsen Filc
218f3e5d5f joystick connection accounting fix
Tested with 3 simultaneous joypads and deconnection+reconnection scenario. Thanks to Alan McCosh for pointing this out.
2015-03-18 18:20:18 +01:00
Joshua Granick
6d38da6318 Should be alloc_int 2015-03-18 10:06:40 -07:00
Joshua Granick
626c1009f1 Make Gamepad a real instance, not an abstract. Other fixes 2015-03-18 09:45:55 -07:00
Joshua Granick
128fe49f4f Emscripten fix 2015-03-18 09:45:36 -07:00
Joshua Granick
ed0ca6f512 More work on Gamepad support 2015-03-18 02:58:31 -07:00
Joshua Granick
cfbf3f4a3f Initial Lime Gamepad API 2015-03-18 01:42:56 -07:00
Joshua Granick
f4c9880cce Remove debug print message 2015-03-17 23:19:24 -07:00
Joshua Granick
a44a109cda Node.js patches 2015-03-17 22:41:17 -07:00
Joshua Granick
52084b75dc Compile fix 2015-03-17 09:22:46 -07:00
Joshua Granick
822c6dda71 Merge pull request #355 from misohena/fix-html5-mouse-wheel-dir
Fix direction of mouse wheel deltaY on HTML5
2015-03-17 06:43:38 -07:00
Joshua Granick
ef67fe16a9 Improve Image clone (fixes openfl/openfl#515) 2015-03-17 05:58:05 -07:00
Joshua Granick
248ab5bae4 Improve handling of fonts (fixes openfl/openfl#537) 2015-03-17 05:06:52 -07:00
Joshua Granick
68b78e1cbc Improve ImageBuffer.clone() (fixes openfl/openfl#533) 2015-03-16 18:19:29 -07:00
Joshua Granick
04070c7ff4 Disable CFFI when using -rebuild, some -nocffi fixes 2015-03-16 10:28:56 -07:00
Joshua Granick
dc927345ae Haxe 3.1 docs build fix 2015-03-15 10:19:24 -07:00
Joshua Granick
ae9c87d34c Improve Assets.getFont 2015-03-15 03:51:47 -07:00
Joshua Granick
3d740424d5 Minor improvements, compile fix 2015-03-15 02:07:59 -07:00
Joshua Granick
74592ed5bd Rename (and refactor) TextLayout, update GlyphMetrics 2015-03-14 23:50:32 -07:00
Joshua Granick
19ace78c33 iOS template tweak 2015-03-13 12:33:32 -07:00
Joshua Granick
d66e43da79 Include files in 'iphone/resources' template 2015-03-13 09:33:15 -07:00
Joshua Granick
5bbdce7c46 Compile fix 2015-03-12 23:13:27 -07:00
Joshua Granick
d08c0b7b47 Minor tweaks 2015-03-12 22:54:43 -07:00
Joshua Granick
1973d5b89e Add Glyph abstract, shorten to Lime.getGlyph, enforce a unique list when rendering 2015-03-12 22:37:37 -07:00
Joshua Granick
168473e5c2 Change Font.getChar* to Font.getGlyph* (makes more sense) and remove unused Glyph/GlyphIndex classes 2015-03-12 22:19:49 -07:00
Joshua Granick
7aaaa16ada Make Font.getGlyphMetrics use an index only 2015-03-12 21:59:51 -07:00
Joshua Granick
1eede284a6 Add Font.getCharIndices 2015-03-12 21:53:55 -07:00
Joshua Granick
93b20b38c0 Improve system for Font rendering, need to improve charCode -> glyphIndex mapping though 2015-03-12 21:26:18 -07:00
Joshua Granick
347b25b41d Allow Assets.exists on Flash when type == null 2015-03-10 09:36:08 -07:00
Joshua Granick
c9f182018b Allow Assets.getBytes for Flash IMAGE type 2015-03-10 09:33:42 -07:00
Joshua Granick
ca05d8994c More work on Font API 2015-03-10 01:14:39 -07:00
Joshua Granick
13564d0ffa Compile fix 2015-03-09 08:55:28 -07:00
Joshua Granick
8f139a8fce Fix for some compilers 2015-03-09 08:37:41 -07:00
Joshua Granick
b460dfc93c Fill in GlyphMetrics type 2015-03-09 08:26:23 -07:00
Joshua Granick
60ab9305fe Fix support for newer Haxe Options.txt format (TODO: Fix iOS target) 2015-03-09 08:21:41 -07:00
Joshua Granick
0f6f022dab Add Font.getTextMetrics, rename TextLayout->TextEngine 2015-03-09 08:09:09 -07:00
Joshua Granick
a406401848 Add more Font details, fix @:font embedding 2015-03-09 04:57:13 -07:00
jgranick
9804f1970a Compile fix 2015-03-07 21:27:12 -08:00
Joshua Granick
e6eaec22f7 Investigate cleanup a little bit later 2015-03-07 21:18:26 -08:00
Joshua Granick
76676965f2 Use 'iojs' for Node target (closes #366) 2015-03-07 21:07:17 -08:00
Joshua Granick
3d63ba9174 Add extra imports 2015-03-07 21:05:47 -08:00
Joshua Granick
7b5130f6d9 Progress on text support 2015-03-07 21:02:27 -08:00
Joshua Granick
f88a35f890 Merge pull request #363 from restorer/patch-2
Fix ByteArray resizing for js target
2015-03-04 14:52:16 -08:00
Joshua Granick
d6f1c9894b Improve support for Lime modules 2015-03-04 14:41:28 -08:00
Joshua Granick
3811e90acb Move hooks from Application into Module class 2015-03-04 13:07:06 -08:00
Joshua Granick
cbf2386b8c Move samples 2015-03-04 13:00:28 -08:00
Viachaslau Tratsiak
7926f05581 Fix ByteArray resizing for js target
Originally, I encountered this problem with I was playing with luxeengine - https://github.com/underscorediscovery/snow/pull/68
Since ByteArray in show was based on ByteArray from lime, I checked lime's version, and found the same bug.
I don't know exact lime roadmap (will lime still use it own implementation of ByteArray or will use typedarrays like snow), but maybe this pull-request will be useful.
2015-03-04 15:02:09 +03:00
Joshua Granick
f52de39fb1 Merge pull request #362 from vroad/PR/fix-2
Node.js-related fixes
2015-03-04 02:22:34 -08:00
vroad
d130196b71 Fix ImageBuffer to store typed array directly on Node.js (since node-ndll currently cannot get buffer from ArrayBuffer) 2015-03-04 19:21:47 +09:00
vroad
c756e589a6 Fix ByteArray resize and type-check on Node.js 2015-03-04 19:21:47 +09:00
vroad
fcd5bc295e Fix #if for Node.js/HTML5 2015-03-04 19:21:38 +09:00