Commit Graph

318 Commits

Author SHA1 Message Date
Alex Szpakowski a3afb1a9ca Refactored the ImageData decoding/encoding backends a bit 2014-03-02 03:17:47 -04:00
Bart van Strien e92be92900 Add fused and version flags to love manpage 2014-02-16 13:19:59 +01:00
Bart van Strien c2971f9568 Distribute associations, icons and manpages in the deb package 2014-02-16 09:59:27 +01:00
Alex Szpakowski 0f9bf64cf8 Xcode project: added new build scheme ‘Distribution’, moved LTO from ‘Release’ to ‘Distribution’ 2014-01-27 19:04:12 -04:00
Alex Szpakowski 0da21a430a Mac: enabled link-time optimization for Release builds of love 2014-01-27 18:44:00 -04:00
Alex Szpakowski 10f1e23931 Increased version to 0.9.1 2014-01-22 18:26:10 -04:00
Alex Szpakowski 510ed6f11e Abstracted lua bindings for general Texture methods into wrap_Texture.cpp 2014-01-04 21:19:03 -04:00
Alex Szpakowski 3120a0e650 Goodbye 2013, hello 2014! 2014-01-03 17:28:58 -04:00
Alex Szpakowski aa69a695d3 Canvases can now be used in SpriteBatches, ParticleSystems, and Meshes (resolves issue #782).
Canvases and Images are now subclasses of the new Texture class.
Added setTexture and getTexture methods for Meshes, ParticleSystems, and SpriteBatches (the old set/getImage methods are deprecated but not removed.)
Canvas texture coordinates are no longer flipped.
2014-01-03 17:07:12 -04:00
Bart van Strien 85264f4bea Lower sdl2 dependency version to 2.0.0 2013-12-27 15:51:15 +01:00
Jordy Dickinson e6f06fbc78 Allow user to override environment variables 2013-12-27 15:02:40 -05:00
Bart van Strien d81eae8889 Scripts now automatically recompile on change on linux, auto.lua normalizes input names a bit more 2013-12-14 13:57:52 +01:00
Bart van Strien 6eb0544bbc Use new error message macro in configure, use luajit by default, switch to pkg-config for as much as possible 2013-12-13 20:32:55 +01:00
Alex Szpakowski eb4fdf3bbe Use a separate preprocessor define for using Framework #includes in OS X (resolves issue #796) 2013-12-13 02:37:06 -04:00
Bart van Strien 5b66cd2290 Make configure output some files in the debian folder as well, substituting the (optional) suffix where needed, also add pkg-config dependency 2013-12-08 20:06:12 +01:00
Bart van Strien 3d82eecc08 Apply the love-experiment moduleselect branch
You can now:
	- Enable and disable love's modules, implementations and libraries using configure switches
	- Use pkg-config for a couple of love's requirements
	- Build on OSX
	- Use newer versions of FreeType2
	- Get a slightly better error message using automagic
2013-12-08 19:32:32 +01:00
Alex Szpakowski 6e82ca88ed Mac: dropped OS 10.5 support.
The legacy code in SDL2 for windowing in 10.5 is buggy, resulting in major bugs with love.window.setFullscreen and other functions. Also, some of 10.5’s own drivers are buggy. Stop using an OS that’s 4 major versions out of date - most other applications have dropped 10.5 support months or years ago.
2013-11-28 21:46:36 -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 a31e458ed8 Fixed liblove (love.framework) in OS X 2013-11-21 17:42:53 -04:00
Alex Szpakowski d4b71c8958 Tighter memory management when checking for .love files in the Mac application’s Resources folder.
Xcode 4.2 or greater is now required to build LÖVE in OS X
2013-11-18 06:18:51 -04:00
Alex Szpakowski 5e3a0fbc6e Updated box2d from 2.2.1 to 2.3.0
--HG--
branch : box2d-2.3
2013-11-09 04:30:36 -04:00
Alex Szpakowski 5179ca5655 Removed an obsolete file 2013-11-08 22:18:56 -04:00
Alex Szpakowski d7691f652e Fixed case-correctness of an #include (see issue #790) 2013-11-08 20:03:17 -04:00
Bart van Strien 3c2e8ddd87 Add source deb stuff 2013-11-02 18:49:37 +01:00
Jordy Dickinson 86f3ee4775 Fixed build errors with custom SDL location (resolves issue 774)
Uses SDL2's sdl2.m4 macros, which are installed along with SDL2. This ensures
that the correct flags are given to the compiler and linker.
2013-10-31 20:24:43 +01:00
Alex Szpakowski 95e1861f35 Mac: don't build with GME support by default (now consistent with Windows and Linux builds) 2013-10-30 14:35:29 -03:00
Alex Szpakowski b2725f8cf5 Updated Visual Studio project for latest changes (thanks Boolsheet) 2013-10-23 17:07:56 -03:00
Alex Szpakowski e5adc4e5fd Fixed wave sound playback by using a different wave reader library (thanks Boolsheet!)
Resolves issue #25.
2013-10-23 16:02:06 -03:00
Alex Szpakowski 259bb8ffdb Fixed errors caused by love exceptions to give a line number (see issue #772) 2013-10-23 15:20:31 -03:00
Alex Szpakowski cfd030d4ab Fixed building on Mac OS 10.9 2013-10-23 06:53:52 -03:00
Alex Szpakowski e5f56d93ce Updated visual studio project files (thanks Boolsheet) 2013-10-11 21:21:11 -03:00
Alex Szpakowski b21f8ed3af Updated CMakeLists.txt 2013-10-11 02:44:44 -03:00
Alex Szpakowski 83a9e5912f Merged bartbes/love-experiments/Mesh into default 2013-10-07 15:43:32 -03:00
Bart van Strien 89140ee657 Add currently disabled automake rule for updating scripts 2013-10-04 14:18:09 +02:00
Alex Szpakowski 857296f107 Merged default into Mesh
--HG--
branch : Mesh
2013-09-30 04:00:28 -03:00
Alex Szpakowski 8d0246ada6 Xcode project now builds for 64 bit x86 only, by default (resolves issue #760).
Building for 32 bit x86 in OS X still works if you enable it.
2013-09-29 22:44:04 -03:00
Bart van Strien 375cbd4003 Make autoconf detect and enable c++11 support in compilers 2013-09-29 12:47:34 +02:00
Alex Szpakowski c63e2ec624 Merged default into Mesh
--HG--
branch : Mesh
2013-09-29 04:58:26 -03:00
Alex Szpakowski 5f609c2e2b OS X: switched to -std=c++11, fixed compilation, cleaned up obsolete files in src/platform/macosx/ 2013-09-29 02:50:37 -03:00
Alex Szpakowski 1e696c4505 Added Mesh objects and love.graphics.newMesh. Mesh objects are similar to Geometry but they're drawables (the relationship between meshes and images is the opposite of geometry and images.)
Removed Geometry objects and re-added Quads.

example:
local vertices = {{0, 0, 0, 0}, {100, 0, 1, 0}, {100, 100, 1, 1}, {0, 100, 0, 1}}
mesh = love.graphics.newMesh(vertices, image, "fan")
..
love.graphics.draw(mesh, 0, 0)

--HG--
branch : Mesh
2013-09-28 18:26:47 -03:00
Alex Szpakowski ffe0485173 Removed love.window.checkMode (resolves issue #653, invalidates issue #592).
Also fixed love.window.setMode to fail instead of bug out when trying to set a fullscreen mode which is too large for the monitor.
2013-09-19 18:13:52 -03:00
Alex Szpakowski 74f26160da Fixed a couple bugs caught by clang's static analyzer 2013-09-18 18:30:12 -03:00
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