Commit Graph

138 Commits

Author SHA1 Message Date
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 7026ebb4c7 Added polyline files to the Xcode project 2013-08-08 03:19:19 -03: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
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
Alex Szpakowski 4718267c31 Updated Xcode project to be more LuaJIT-friendly 2013-05-18 20:13:26 -03: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
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
Alex Szpakowski 27bbfaac42 Updated Xcode project and removed now-unneeded Quad source files 2013-04-21 10:13:20 -07: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 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 4159b15ef2 Updated Xcode project for math module changes 2013-03-13 19:12:48 -03: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
Alex Szpakowski 0be26b7678 Added new math module files to the Xcode project 2013-02-26 06:35:50 -04:00
Alex Szpakowski e05e8e6e6a Switched audio backends in OS X from Apple's OpenAL implementation to OpenAL Soft 2013-02-13 04:01:02 -04:00
Alex Szpakowski ceb0ee6c7e Added SpriteBatch:remove(id) 2013-02-11 18:27:57 -04:00
Alex Szpakowski 842c01b4e5 liblove now builds as a framework on OS X 2013-02-10 02:37:54 -04:00
Alex Szpakowski c6da6ffab9 XCode project now builds liblove and uses it with love.app 2013-02-09 21:11:23 -04:00
Alex Szpakowski 96161c66f6 Updated copyright text for the new year 2013-02-05 05:32:49 -04:00
Alex Szpakowski 02d2a872ab Improved shader member variable names, fixed up XCode project file 2013-01-29 04:34:36 -04:00
Alexander Szpakowski e24d721381 Renamed all instances of 'ShaderEffect' (previously 'PixelEffect') to 'Shader'. 2013-01-16 07:21:41 -04:00
Alexander Szpakowski 0611234067 changed PixelEffect name to ShaderEffect, added lua-side support for vert/frag shader combinations with love.graphics.newShaderEffect, added tentative support for single-file vertex+fragment shaders 2012-12-20 21:51:31 -04:00
Jay Roberts 7364e52ebc Add math.cpp to Xcode project and fix GME framework path. 2012-10-09 13:05:13 -04:00
Bill Meltsner b24e7ab64f Update the Xcode project and enable GME support on OS X.
Requires Game_Music_Emu.framework, which is included in the updated OS X SDK.
2012-08-18 11:56:42 -05:00
Bill Meltsner eaa4af7a6e Make things build on Mac.
My Mac, anyway. No promises.
2012-07-03 03:52:53 -05:00
Bill Meltsner ae79ed061a Update to recommended Xcode build settings. 2012-03-03 20:24:11 -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 7a43721335 Make Xcode use GCC to build LÖVE instead of Clang, to avoid some annoying linker error. 2012-02-29 18:52:52 -05:00
Bill Meltsner 9e884c6b0f Remove a stray .orig reference from the Xcode project 2012-02-05 08:22:00 -05:00
Bill Meltsner ecb2e566f3 Add the new OpenGL.{cpp,h} files to the Xcode project so it builds again 2012-01-26 10:20:11 -05:00
Bill Meltsner be55579a22 Happy New Year, have an enormous diff 2012-01-09 02:41:11 -06:00
Bill Meltsner 2077408351 Add Audio.cpp to Xcode project 2012-01-08 20:18:45 -06:00
Bill Meltsner 25c5bbea67 Add int.h to the Xcode project 2011-12-22 01:54:17 -06:00
Bill Meltsner c9ed6d3c83 update Xcode project to include love.window and Variant 2011-12-19 00:17:17 -06:00