Commit Graph

55 Commits

Author SHA1 Message Date
rude 72056caccd Say hello to the love module. Oh my!
Because technically, it *is* a module. Also renamed "launcher.cpp".
2012-06-29 09:56:50 +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
Boolsheet 5139ca8e56 New approach to console redirection.
--HG--
branch : win-console
2012-06-01 23:03:20 +02:00
Bart van Strien 329a6328db Backed out changeset 7e5b88e76bda 2012-05-31 23:12:53 +02:00
Boolsheet 786980d196 Try to reuse cmd if opened (on windows) 2012-05-31 21:13:33 +02:00
Bart van Strien cab543764d Fix msvc warnings 2012-05-30 19:30:16 +02:00
Bart van Strien 0a423d3e67 Export boot.lua as love.boot, and make it return a function that 'does everything'
Of course love.cpp is modified accordingly (now calls the result of boot.lua)
2012-05-29 23:26:23 +02:00
Bart van Strien db7fba1d3a Now returns return value 1 on error 2012-05-18 18:12:25 +02:00
Bart van Strien 7f39fa8c3a Create liblove 2012-05-18 16:51:15 +02:00
Bill Meltsner 322ec7bba4 Add love._os, which contains a string representing the current OS (or, at least, the OS the copy of LÖVE was compiled on). 2012-03-08 19:32:23 -05:00
Bill Meltsner d5b89886b6 Switch back to Clang for Mac OS X compilation, and add a new legendary hack to ensure it still runs on Leopard. 2012-03-02 19:00:03 -05:00
Bill Meltsner be55579a22 Happy New Year, have an enormous diff 2012-01-09 02:41:11 -06:00
Bart van Strien e0b420c988 Properly export love modules to lua, package.loaded is correct now 2012-01-07 14:08:41 +01: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 0aae9684b3 Automated formatting fix 2011-11-16 11:32:41 +01:00
rude 2753c62985 Abstractify some modules completely: timer, keyboard and mouse.
If this commit breaks some project file(s), well ...
I AM RUDE AND I WILL BREAK EVERYTHING, AHAHAHAHAHAHAHHAHAHAHAHA!
2011-10-28 10:47:16 +02:00
Bart van Strien 4f70742875 Display a warning if the game's version is incompatible. 2011-10-03 00:52:44 +02:00
Bart van Strien bd2172f826 Update version keeping 2011-10-02 17:00:09 +02:00
Przemysław Grzywacz 1d5fca6f46 Multiple thread backends. 2011-06-08 16:54:35 +02:00
Bill Meltsner 61af1dfe27 Nuke MemoryData, as it's been superseded by base64
--HG--
branch : minor
2011-03-28 10:28:45 -04:00
rude 3fe9b2ff16 Reverted module selection feature. This is not really desired.
Users (or lovers) do not get to choose which implementation of
a module they would like to use.

The abstraction is for dealing with portability issues, not
for giving people the ability to choose an alternative
(inferior) backend. The best choice for any platform/situation
should at all times be the *default* for that platform/situation.
If this is not the case; it's a bug (that is easily fixed).

Any module should provide the functionality promised in the docs.
The lover (or user) should not care how, and if [s]he does, [s]he
does still not get to choose.

Also, a related note: duplication of wrapper code is something I
especially wanted to avoid when I first (or should I say ...
"eventually") formed the current architecture.

--HG--
branch : minor
2011-03-26 17:06:05 +01:00
Bart van Strien 526058c707 Added love.audio.null loader
--HG--
branch : minor
2011-03-13 20:31:19 +01:00
Bart van Strien b4139ffab5 Rename loaders to fit their locations
--HG--
branch : minor
2011-03-13 20:25:35 +01:00
Bart van Strien 254bd29244 Move luaopen_love_audio to love.audio.openal
--HG--
branch : minor
2011-03-13 20:17:31 +01:00
Bart van Strien dc61911a25 Move luaopen_love_sound to love.sound.lullaby
--HG--
branch : minor
2011-03-13 20:02:56 +01:00
Bart van Strien ff387790ce Move luaopen_love_image from love.image to love.image.devil
--HG--
branch : minor
2011-03-13 19:51:08 +01:00
Bart van Strien 22e75f72f1 Allow selection of modules
--HG--
branch : minor
2011-03-06 15:11:47 +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 d27dd8b5dd Added base64 support for FileData, and inlined all resources in boot.lua/graphics.lua as base64. Also removed old reshax stuff. 2010-09-19 13:22:10 +02:00
Bill Meltsner 76dc50a419 Made font module officially properly exposed to Lua 2010-04-15 10:17:42 -04:00
rude 760daec9b7 Welcome back, love.thread. 2010-03-07 13:35:25 +01:00
rude abe37d188f Disabled love.thread. Upped version to 0.6.2. 2010-03-01 21:07:46 +01:00
bart@bartbes.ath.cx 355a94755d Added first version of thread and enabled newFileData 2010-02-12 20:24:39 +01:00
rude aa01c984b9 Updated all dates to 2010. 2010-01-31 16:54:47 +01:00
rude cd24dbcb8e Added get/setGroupIndex (#129) and get/setFixedRotation (#113). Also fixed 3000 auto.lua-related warnings in MSVC. 2010-01-04 20:02:36 +01:00
rude 735e4994e9 Removed lanes. 2009-12-14 20:01:22 +01:00
rude 0df1aeb0f3 Changed how scripts are embedded. 2009-11-08 17:00:53 +01:00
rude fa3b226edc Added an option to attach a console in Windows. 2009-11-07 14:41:35 +01:00
rude 0dc6d985ee LOVE arguments now work with Unicode in Windows. 2009-11-07 00:47:57 +01: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
bill@Ixion 91f3cff8a2 Running love --version will now print a version string and exit. 2009-08-31 15:23:44 -05:00
rude 579f9c75db Embedded nogame screen into binary and exposed version info. 2009-08-15 12:48:32 +02:00
bart@bart 18e2b9abb9 Added love.signal 2009-08-15 01:27:27 +02:00
rude 45f69512ac Added some resources. 2009-08-14 22:44:57 +02:00
rude d164a305c5 Fixed broken love.cpp. 2009-08-13 21:38:55 +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 524ef5e118 Added looping in love.audio (though needs implementation in love.sound). 2009-08-01 22:11:48 +02:00
rude 3d76667ca3 Sources are now NOT useless. 2009-07-31 16:08:30 +02:00