Commit Graph

137 Commits

Author SHA1 Message Date
Bart van Strien 00ee547a1c Make unknown keys map to "unknown" in love.keypressed, at least allowing
you to get the (correct) unicode arg. (issue #337)
2012-08-03 15:51:43 +02:00
Bart van Strien bddee1753b Use a flags table for setMode now, implement resizable and borderless windows, and add resize event
Example setMode invocation: love.graphics.setMode(800, 600, {fullscreen = false, vsync = true, borderless = true})
t.screen.resizable and t.screen.borderless are available in love.conf
And love.resize(w, h) gets called if it exists on a resize event.
NOTE: love.handlers.resize(w, h) does the required setMode, but that does mean a visual reload

--HG--
branch : minor
2012-07-23 11:53:13 +02:00
Bart van Strien 399a6a6614 Merge in channels from love-experiments
Rewritten love.thread and changed communication
method from weird system before, to channels.

--HG--
branch : minor
2012-07-04 17:15:16 +02:00
Bart van Strien 7793e7f02f CRLF to LF 2012-07-04 14:40:24 +02:00
rude 81c38e22d0 Applied the new style guidelines.
Well, sort of. Lot's more to be done, but this is a start.
2012-06-28 23:52:33 +02:00
Bart van Strien 51d4553b7d Fix love.event.push/quit issues 2012-01-10 11:23:50 +01:00
Bill Meltsner be55579a22 Happy New Year, have an enormous diff 2012-01-09 02:41:11 -06:00
Bart van Strien c707a4ca45 Properly export all lua-facing functions and use those for initialization (love.cpp no longer explicitly mentions implementations) 2011-12-24 01:10:40 +01:00
Bart van Strien e0dcf55703 Make love.event.clear thread-safe, though it's only callable from the main thread (with SDL backend, anyway) 2011-12-23 12:16:36 +01:00
Bart van Strien 951d420db7 Eliminate more warnings 2011-12-20 21:02:59 +01:00
Bart van Strien 9fb63dc4b8 Make the new event sink thread-safe (hopefully) and make small usability fixes 2011-12-20 19:51:50 +01:00
Bart van Strien d3bd9b1156 Events now have 4 arguments (or less) 2011-12-20 19:17:26 +01:00
Bart van Strien 083dd11185 Switch to a custom event system, where SDL pumps into
To do this we needed to take ThreadVariant out of love.thread, and move it to common.
This also changes event names, instead of 1/2-letter abbreviations, full names!
2011-12-13 17:50:38 +01:00
Bart van Strien 0aae9684b3 Automated formatting fix 2011-11-16 11:32:41 +01:00
Bart van Strien 05c2749760 Joysticks are supposed to be 1-indexed, even in the callbacks.. 2011-09-21 21:26:34 +02:00
Bart van Strien 4165ac7e66 Add love.event.quit 2011-08-06 14:22:00 +02:00
Bill Meltsner be5cb1696b fix an "unused parameter" compiler warning 2011-05-16 12:11:20 -05:00
rude 20364c67bd Added love.event.clear, because why not. (Issue #202). 2011-03-16 23:23:20 +01:00
Bart van Strien db1a2d12ff Add dead key support by exposing the "unknown" key 2011-01-26 16:06:14 +01:00
Bill Meltsner fde708160e bringing in the new year by changing every 2010 to 2011 2011-01-15 14:40:27 -06:00
rude 31c9995082 Fixed some type conversion warnings in VC. Mostly float <-> int and bool <-> int. 2011-01-09 16:28:30 +01:00
Bart van Strien 5235ceac53 Added love.focus callback 2010-08-03 13:51:19 +02:00
Bill Meltsner 7c33786100 fixed a ridiculous number of gcc warnings, nearly all of which were complaints about unused parameters - the remaining 199 warnings I get are from code that isn't ours (box2d is responsible for all but 8 of them) 2010-02-26 03:55:21 -05:00
bart@bartbes.ath.cx 736f7ab1a2 love.thread can now share full userdata 2010-02-14 17:41:11 +01:00
Bill Meltsner 73aba4bdd4 eliminated a whole bunch of gcc warnings 2010-02-09 13:21:25 -05:00
rude aa01c984b9 Updated all dates to 2010. 2010-01-31 16:54:47 +01:00
rude ee1964dde5 Fixed "kp"-prefix on some keyboard constants. 2009-10-11 17:16:00 +02:00
rude 87e3c4131c Finally abstracted constants properly. Changed how the event module works; wasn't really abstract before. Removed libs we're not going to use: native, signal. 2009-10-10 11:11:04 +02:00
rude 623e701549 Modules now reside in Lua and are treated (almost) like normal objects.
Also added a way of getting a pointer to abstract module instances internally.
2009-09-02 21:18:13 +02:00
rude ab981ea982 Made error screen and reverted love.event.wait. 2009-08-24 21:38:35 +02:00
rude ae8d660868 Fixed bug in love.event. Started on error screen. 2009-08-20 22:58:25 +02:00
rude dd420d68a3 Ok, project generation didn't really work out. Reverted. 2009-08-10 21:33:07 +02:00
rude ba1a75e547 Added many comments, and changed function names for wrapper functions. 2009-08-09 21:08:55 +02:00
rude b04b278cd0 Added project generator. 2009-08-06 21:19:01 +02:00
rude 8e681b4204 It's now possible to build each module individually (as a DLL). 2009-08-04 19:57:14 +02:00
rude 0c241a14fb Added resources, and changed slightly how wrappers expose functions. 2009-07-30 00:37:43 +02:00
rude dcb3dfd83d Initial Mercurial commit. 2009-07-26 15:46:49 +02:00