Commit Graph

310 Commits

Author SHA1 Message Date
Joshua Granick
ad46acefbf Improve Font cleanup 2015-03-24 09:13:43 -07:00
Joshua Granick
48ec618204 Allow fonts to return null 2015-03-23 18:55:29 -07:00
Joshua Granick
0ab97dd98a Add System.fontsDirectory 2015-03-23 18:55:13 -07:00
Joshua Granick
cddd685444 Don't buffer 0 data 2015-03-23 14:33:15 -07:00
Joshua Granick
a87dcf1669 Clean up OpenGL bindings 2015-03-23 14:31:17 -07:00
Joshua Granick
c73fb1b393 Fix ImageBuffer with Neko on latest HXCPP builds 2015-03-21 14:23:44 -07:00
Joshua Granick
dc7a766623 iOS update 2015-03-20 09:37:42 -07:00
Joshua Granick
f1455fa0d7 Fix Emscripten 2015-03-20 07:28:33 -07:00
Joshua Granick
978dd06ee8 Working on iOS 2015-03-20 07:22:02 -07:00
Joshua Granick
138e3f6703 Implement window.fullscreen and window.minimize, add onWindow minimize, restore, fullscreen events 2015-03-19 16:55:38 -07:00
Joshua Granick
ea0db8f13f Populate additional Config values, use company name and file name for preference path 2015-03-19 14:16:31 -07:00
Joshua Granick
4ba3174445 Compile fix 2015-03-19 12:45:33 -07:00
Joshua Granick
0f1efafea7 Add System.applicationDirectory, userDirectory, etc 2015-03-19 12:30:01 -07: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
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
74592ed5bd Rename (and refactor) TextLayout, update GlyphMetrics 2015-03-14 23:50:32 -07:00
Joshua Granick
d08c0b7b47 Minor tweaks 2015-03-12 22:54:43 -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
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
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
7b5130f6d9 Progress on text support 2015-03-07 21:02:27 -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
04db9f09cf Fix null check in lime_alc_open_device 2015-02-25 01:07:34 +09:00
Joshua Granick
df735ef734 Use SDL_WINDOW_FULLSCREEN_DESKTOP instead of SDL_WINDOW_FULLSCREEN to behave better on OS X (until we have an official display mode switch API for regular fullscreen) (closes #235) 2015-02-23 15:47:00 -08:00
Joshua Granick
a127565d0b Enable OpenAL for Emscripten build 2015-02-13 14:28:24 -08:00
Joshua Granick
dd6facab42 Emscripten cleanup 2015-02-13 08:19:16 -08:00
Joshua Granick
62194c7842 Add Emscripten support 2015-02-12 19:04:57 -08:00
Joshua Granick
8e5dc16252 Emscripten tweak 2015-02-10 22:27:55 -08:00
Joshua Granick
74b7f29952 Make sure OGG file is readable 2015-02-07 20:24:10 -08:00
Joshua Granick
e5ea71930d Fix Windows file I/O 2015-02-07 20:23:55 -08:00
Joshua Granick
40f9db7cb2 Mac fix 2015-02-05 15:54:36 -08:00
Joshua Granick
a2e8a1d747 Mac fix 2015-02-05 15:22:22 -08:00
Joshua Granick
7134baafef Add lime.utils.JNI, initially supporting JNI.getEnv 2015-02-04 17:13:27 -08:00
Joshua Granick
4dde860505 Add HAVE_LIBC when building SDL related files 2015-02-04 16:09:26 -08:00
Joshua Granick
38bc6bd04e Added System.getTimer, moved file I/O into system, removed unused 2015-02-04 16:05:37 -08:00
Joshua Granick
8f9591365a Fix JNI JPEG and PNG file loading 2015-02-04 14:07:21 -08:00
Joshua Granick
d6f6e92663 Fix audio support on Android (non-legacy) 2015-02-04 13:40:57 -08:00
Joshua Granick
5467964453 Get Android working with files, add quick fallback to PNG/JPEG if no FD is available and implement SDL fdopen 2015-02-04 11:18:17 -08:00
Joshua Granick
f7ec042ce5 Use SDL_RWops 2015-02-04 10:46:28 -08:00
Joshua Granick
05ce36188b Add application.removeWindow, window.close, and fixes for using an empty config 2015-01-29 15:34:18 -08:00