Commit Graph

299 Commits

Author SHA1 Message Date
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
Joshua Granick
9777ef4001 Add exit cleanup for OpenAL, in case proper shutdown does not occur 2015-01-29 11:46:37 -08:00
MattTuttle
482cf73341 Setting key modifier value in SDL key event 2015-01-27 12:58:26 -06:00
MattTuttle
d11045a4f9 Fixing error in Text.cpp 2015-01-23 16:03:53 -06:00
MattTuttle
94b9ea1b86 Whitespace corrections 2015-01-23 15:52:50 -06:00
MattTuttle
3827df6952 Improved font error handling when file isn't found 2015-01-23 15:48:52 -06:00
MattTuttle
9c5352a110 Harfbuzz buffer needs to be reset every time fromString is called 2015-01-23 12:44:35 -06:00
Daniel Uranga
23f8e01d2a Cleaning code a bit. No need to call Font.loadGlyphs since this is done automatically by Text.fromString 2015-01-23 12:37:50 -06:00
Daniel Uranga
5b2287a374 Fixed Arabic text rendering using Harfbuzz. Updated TextRendering sample. 2015-01-23 12:37:50 -06:00
Joshua Granick
8fe86596aa Cleanup window and renderer for SDL2 2015-01-14 23:07:54 -08:00
Joshua Granick
288ea1286e Use the Windows icon resource instead of SDL_SetIcon for both Lime and Lime legacy 2015-01-07 22:18:48 -08:00
Joshua Granick
ed34459738 Add more mouse cursor types 2014-12-29 13:41:29 -08:00