Commit Graph

90 Commits

Author SHA1 Message Date
Alex Szpakowski abb72cb813 Happy new year! 🥂
--HG--
branch : minor
2017-01-02 01:28:29 -04:00
Alex Szpakowski dafacf3fbc test
--HG--
branch : minor
2016-10-15 14:55:35 -03:00
Alex Szpakowski e803878445 love.event.quit("restart") now causes LÖVE to restart the Lua state after shutting it down.
Note that this isn't perfect – it won't kill running threads which aren't cleaned up by the Lua code when the main Lua state is shut down.
2016-09-08 18:42:56 -03:00
Alex Szpakowski aab6dbda5f Fixed love.event.quit on un-fused iOS games to properly exit to the game list instead of just restarting the current game. 2016-04-10 22:11:28 -03:00
Alex Szpakowski ea2aadf888 Cleaned up the code for main() a bit. 2016-03-21 20:50:20 -03:00
Alex Szpakowski ab91ff0bfe Removed LOVE_LEGENDARY_UTF8_ARGV_HACK, SDL 2.0 does it for us. 2016-01-25 22:52:32 -04:00
Alex Szpakowski 518f91b53a Make sure the high-power AMD GPU is used on Windows laptops with switchable Intel+AMD GPUs. 2016-01-24 13:35:58 -04:00
Alex Szpakowski 46a2e7b85c Happy new year! 🎉 2016-01-01 00:05:06 -04:00
Martin Felis 007e113ec5 android: disabling JIT by default as it may cause performance problems. To enable it run jit.on(). 2015-12-22 10:04:44 +01:00
Alex Szpakowski ca29c364f8 Fixed the Mac build (see issue #1081.) 2015-09-27 20:59:11 -03:00
Alex Szpakowski 6a1ca3a45e Mac: Don't check for drop-file events on startup if the app was launched from a terminal (resolves issue #1081.) 2015-09-25 17:36:20 -03:00
Alex Szpakowski d3d970b925 Renamed iOS.mm and iOS.h to ios.mm and ios.h, to match the naming conventions of other files. 2015-08-27 18:46:04 -03:00
Alex Szpakowski 9a1c4ad565 The iOS game list screen now also displays folders that contain main.lua. 2015-08-15 23:57:04 -03:00
Alex Szpakowski e44f20fdc6 Renamed OSX.mm/OSX.h to macosx.mm/macosx.h to match love's file naming conventions. 2015-08-15 00:41:45 -03:00
Martin Felis 5446022660 print on Android now outputs to Logcat. 2015-08-13 19:41:35 -03:00
Alex Szpakowski 1b29679912 Merged default into minor
--HG--
branch : minor
2015-02-24 21:42:55 -04:00
David Huffman 19094b5a3f Maintain consistency with #endif comments 2015-02-23 08:59:28 +00:00
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