Commit Graph

73 Commits

Author SHA1 Message Date
Alex Szpakowski 85de3c41fb Initial iOS implementation.
--HG--
branch : minor
2015-02-20 00:21:21 -04:00
Alex Szpakowski 606f077e5d Moved Mac-specific code from platform/macosx/ to src/common/
--HG--
branch : minor
2015-02-15 23:44:35 -04:00
Alex Szpakowski a84367ef38 Prefer the higher performance GPU on Windows systems that use nvidia optimus (resolves issue #984.) 2015-02-02 16:29:58 -04:00
Bart van Strien 33d2331255 Adjust version header to resolve linker conflict with two definitions of love::VERSION in android builds
NOTE: Sadly, on some platforms, like linux, the linker is "smart" enough to have the previous code be completely ineffective, the checking will only work with versions of love >= 0.9.2
2015-01-24 23:09:49 +01:00
Bart van Strien 12c358769c Check if binary and library version match on startup (resolves #860) 2015-01-15 11:26:40 +01:00
Alex Szpakowski c7b45b3505 Updated copyright for the new year 2014-12-31 19:32:43 -04:00
Alex Szpakowski fdee6f0e30 Fixed a misleading comment. 2014-12-23 04:01:03 -04:00
Alex Szpakowski 3120a0e650 Goodbye 2013, hello 2014! 2014-01-03 17:28:58 -04:00
Alex Szpakowski 8608f2b027 The love executable now properly requires love and love.boot, and relies less on globals. 2013-11-23 19:35:06 -04:00
Alex Szpakowski b6aba767f4 Fixed custom return value for love executable, cleaned up Xcode project a bit 2013-11-23 17:20:45 -04:00
Alex Szpakowski d7691f652e Fixed case-correctness of an #include (see issue #790) 2013-11-08 20:03:17 -04:00
Alex Szpakowski 5dad6c74c9 Fixed random crashing in OS X 2013-10-26 00:22:28 -03:00
Alex Szpakowski 113ed1cfe7 Merged SDL2 changes from bartbes/love-experiments/SDL2 into default.
- Added love.system module, including clipboard functions.

- Added custom hardware cursors (love.mouse.newCursor, love.mouse.setCursor.)

- Revamped love.joystick:
-- added Joystick objects and moved love.joystick functions which operated on individual joysticks to methods on the Joystick objects.
-- Added love.joystick.getJoystick and love.joystick.getJoystickCount.
-- Added events for when joysticks are connected and disconnected.
-- Added 'Gamepad' methods to Joystick objects: Joystick:isGamepad, Joystick:getGamepadAxis, and Joystick:isGamepadDown. They're a common abstraction for xbox controller-like joystick across operating systems.

- Added monitor choosing support and "fullscreen desktop" mode to love.window.

- Moved unicode text input events to their own callback function (love.textinput), removed the key repeat functions from love.keyboard and made the second argument of love.keypressed a boolean saying whether the keypress was a repeat.

- liblove now works with love.window and love.graphics in OS X
2013-08-25 16:51:42 -03:00
Alex Szpakowski daea857c1e Removed duplicated code for a crash workaround in Mac OS 10.5 2013-05-16 15:30:34 -03:00
Alex Szpakowski 0e4d7f1f4a Replaced deprecated lua_open calls with luaL_newstate 2013-02-16 00:51:57 -04:00
Alex Szpakowski 96161c66f6 Updated copyright text for the new year 2013-02-05 05:32:49 -04:00
Bart van Strien 7793e7f02f CRLF to LF 2012-07-04 14:40:24 +02:00
Bill Meltsner eaa4af7a6e Make things build on Mac.
My Mac, anyway. No promises.
2012-07-03 03:52:53 -05:00
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