Commit Graph

276 Commits

Author SHA1 Message Date
Bart van Strien d598549980 Make the configure script look for SDL2 2013-08-28 13:34:35 +02:00
Alex Szpakowski 4a609aca03 Updated Visual Studio project for new files and library dependencies (thanks Boolsheet) 2013-08-27 23:02:05 -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 aa53712278 Cleaned up and fixed Visual Studio project files (thanks Boolsheet) 2013-08-19 21:19:41 -03:00
Alex Szpakowski 9d0c01be4a Added polyline files to the Visual Studio project (thanks Boolsheet) 2013-08-08 03:35:52 -03:00
Alex Szpakowski 7026ebb4c7 Added polyline files to the Xcode project 2013-08-08 03:19:19 -03:00
Bart van Strien 138fe49e35 Clean up readme a bit, add a note about running automagic from the root, and clean automagic up by making it slightly more verbose, and letting it check it's being run in the right directory (see issue #698) 2013-08-04 13:15:55 +02:00
Alex Szpakowski a4ff39e0d4 Improved error checking for some enum strings (resolves issue #690).
Also moved love.audio.newSource from Lua code into C++ code
2013-08-03 21:24:43 -03:00
Alex Szpakowski b090a91650 Fixed love.app opening in the background instead of the foreground in OS X 2013-07-29 01:48:36 -03:00
Alex Szpakowski 02d77aa9be Fixed running love files with relative paths from the command line in OS X 2013-07-27 17:06:20 -03:00
Alex Szpakowski c8428a0a2b Fixed opening .love files in Mac OS 10.9 (resolves issue #689) 2013-07-27 16:10:06 -03:00
Alex Szpakowski 3725b4122f Fixed lazy-loading of stencil buffers in Canvases sometimes failing due to uninitialized variables 2013-07-16 20:04:10 -03:00
Alex Szpakowski 267d901cd6 Fixed Geometry:flip when the Geometry was created with newQuad (resolves issue #671) 2013-07-11 16:09:41 -03:00
Bart van Strien f5603b0291 Make love compile against lua5.2 2013-07-10 16:02:52 +02:00
Martin Felis 14ca401158 Add enet and lua-enet 2013-07-10 15:42:50 +02:00
Alex Szpakowski 0f6980f82a Xcode project now compiles with -O3 for greater performance with the same binary size. Rejoice! 2013-06-13 23:36:57 -03:00
Alex Szpakowski b3990e89f9 Reverted accidental XCode project changes 2013-06-08 16:51:52 -03:00
Alex Szpakowski cd1a23c4ad Improved handling of (File)Data in love.graphics.newFont and love.thread.newThread 2013-06-08 16:50:13 -03:00
Bart van Strien c99fb2fb99 Fix --disable-mpg123 by telling automake to not compile it, instead of using ifdefs 2013-05-26 22:34:04 +02:00
Bart van Strien 6bc4f7a34e Revision 1500 s/''/'/ on configure.ac, how fitting 2013-05-26 21:04:51 +02:00
Bart van Strien d8dfd62035 Rework configure.ac, clean up platform/unix 2013-05-26 17:45:14 +02:00
Alex Szpakowski 4718267c31 Updated Xcode project to be more LuaJIT-friendly 2013-05-18 20:13:26 -03:00
Kyle Conroy 2b0bf794b5 Add files to the visual studio project
--HG--
branch : add-visual-studio-files
2013-05-18 03:00:45 -07:00
Alex Szpakowski 04ca33d127 Updated Xcode project with new bezier files 2013-05-12 17:04:56 -03:00
Alex Szpakowski ff77eb4b29 Added love.window (issue #6.) All window-related functions have been moved from love.graphics to love.window.
love.graphics.setCaption has been renamed to love.window.setTitle.
2013-05-10 22:32:15 -03:00
Bart van Strien 759930164f Don't hardcode include paths in makefile.am, use $(srcdir) instead (issue #612) 2013-05-08 14:01:55 +02:00
Alex Szpakowski 7ab3809165 Fixed Object:typeOf for love.physics objects new to 0.8.0, removed vestigial ColorMode code 2013-05-07 15:23:26 -03:00
Alex Szpakowski 9ccf013570 Added love.math.noise(x, [y, z, w]). Calculates the 1D, 2D, 3D or 4D Simplex noise value at a particular coordinate 2013-05-01 18:26:40 -07:00
Bart van Strien 5c2b70f8ab Add man page (thanks Miriam Ruiz for the original) and make automake install and distribute it 2013-04-26 14:42:16 +02:00
Michał Górny 53408e3768 Install file associations and icons using autotools (issue #605)
Condensed version of pull request #24, containing the following commits:
- 31f803f Install .desktop and mime-info files with autotools.
- a354096 unix: Install icon using autotools as well.
- 4b1beb2 Fix Icon= in love.desktop.
- d0d3fe4 unix: Install game file icon as well.
- 9a6e291 unix: Update/fix README file name in Makefile.am.

All of the above commits were made by Michał Górny, and this single
code import was committed by Bart van Strien (so blame me if I broke
it..)
2013-04-26 14:20:49 +02:00
Alex Szpakowski ce8c8876fd Updated Visual Studio project for Geometry files (thanks Boolsheet) 2013-04-22 10:02:49 -07:00
Alex Szpakowski 27bbfaac42 Updated Xcode project and removed now-unneeded Quad source files 2013-04-21 10:13:20 -07:00
Alex Szpakowski f1770edaa1 Updated Visual Studio project for math module changes (thanks Boolsheet) 2013-04-16 15:52:29 -03:00
Alex Szpakowski 3046981fce Added love.math.newRandomGenerator. Returns a RNG object with its own seed and random methods.
--HG--
branch : math-randobject
2013-04-14 23:02:44 -03:00
Alex Szpakowski 96f4f532bb Updated Visual Studio project files for image module changes (thanks Boolsheet) 2013-04-13 05:35:38 -03:00
Alex Szpakowski 88d64954a4 Replaced the devil love.image module with love.image.magpie, which can decide which image library to use in a similar manner to love.sound.lullaby. Some rough edges still exist.
love.filesystem.newFileData now accepts filepaths and File objects.

--HG--
branch : image-CompressedData
2013-04-07 17:18:34 -03:00
Alex Szpakowski 5301026f3c Added support for DXT1/3/5 and BC5/7 compressed textures via love.image.CompressedData. Some internals are still iffy.
- added a new CompressedData type to love.image
- added love.image.isCompressed(file or data)
- love.graphics.newImage automatically tests for compression when loading a file
- added love.graphics.isSupported strings for DXT, BC5, and BC7

Compressed textures meant to be used on the GPU offer huge performance gains when
- loading the texture from a file
- loading the texture from RAM to VRAM
- loading mipmaps
- rendering

--HG--
branch : image-CompressedData
2013-04-04 19:09:18 -03:00
Alex Szpakowski 74ca349895 Fixed SDLMain leaking in OS X 2013-03-19 11:53:57 -03:00
Alex Szpakowski f9d687cb65 Fixed some bugs in SDLmain 2013-03-15 19:40:58 -03:00
Alex Szpakowski 596bb2245e SDLmain.m: now with more tabs 2013-03-14 16:11:17 -03:00
Alex Szpakowski c730906c26 OS X: fixed fused release mode when the .love file is in love.app/Contents/Resources, fixed auto-detection of .love file in Contents/Resources when the love executable binary is run directly 2013-03-14 16:02:26 -03:00
Alex Szpakowski 89395d6dfb Updated Visual Studio project for math module changes (thanks Boolsheet) 2013-03-13 20:02:47 -03:00
Alex Szpakowski 4159b15ef2 Updated Xcode project for math module changes 2013-03-13 19:12:48 -03:00
Alex Szpakowski be648a82f7 Updated Visual Studio project for new thread module files and version changes (thanks Boolsheet) 2013-03-06 09:43:55 -04:00
Alex Szpakowski cd21eaaf33 Re-enable GME support in OS X 2013-03-04 22:16:54 -04:00
Alex Szpakowski d5245483ef Updated version to 0.9.0 (codename TBD) 2013-03-03 19:55:37 -04:00
Alex Szpakowski 0efdc732e0 Updated Xcode project for new thread module files 2013-03-03 14:58:59 -04:00
Bart van Strien 3d0c5761ce Merge in default, update changelog
--HG--
branch : minor
2013-03-03 19:51:04 +01:00
Alex Szpakowski 706ed3e8ce Added math module files to Visual Studio project (thanks Boolsheet) 2013-02-26 22:15:48 -04:00
Alex Szpakowski 0be26b7678 Added new math module files to the Xcode project 2013-02-26 06:35:50 -04:00