Commit Graph

2158 Commits

Author SHA1 Message Date
Bart van Strien 3f801fda0c Fix GLAD bug that caused compilation with luajit headers to fail
--HG--
branch : minor
2015-01-15 10:31:16 +01:00
Bart van Strien ca343e063e Allow require paths without replacements
--HG--
branch : minor
2015-01-14 15:17:16 +01:00
Bart van Strien 13594e3e38 Add missing include
--HG--
branch : minor
2015-01-14 15:16:04 +01:00
Alex Szpakowski 37fecf1bd4 Fixed the BMFont character coordinate verification code.
--HG--
branch : minor
2014-12-27 18:27:28 -04:00
Alex Szpakowski 4e42a3adb1 Slightly less verbose atomic reference counting code.
--HG--
branch : minor
2014-12-10 19:11:06 -04:00
Alex Szpakowski 8dba668ce9 Merged default into minor
--HG--
branch : minor
2014-11-15 20:17:18 -04:00
Alex Szpakowski 5fac441a51 Added Body:getJointList. 2014-11-15 01:17:20 -04:00
Alex Szpakowski 68936e6d2f Added GearJoint:getJoints (resolves issue #922.) 2014-11-14 22:06:37 -04:00
Alex Szpakowski 78d5db6981 Fixed MotorJoint:getType. 2014-11-14 21:43:22 -04:00
Alex Szpakowski 775f816304 Added Joint:getBodies (see issue #922.) 2014-11-12 17:18:50 -04:00
Alex Szpakowski 22bbe74ed9 Allow BC6 and BC7 compressed DDS files to be loaded into Images. 2014-11-05 21:11:22 -04:00
Alex Szpakowski 195d41d1d9 Ignore lines starting with "#" when parsing the mappings string given to love.joystick.loadGamepadMappings. 2014-11-03 16:34:18 -04:00
Alex Szpakowski 0d28135465 Fixed love.joystick.loadGamepadMappings to work properly if a FileData object is passed to it. 2014-11-03 16:24:28 -04:00
Alex Szpakowski b9271ed25a Don't throw an error if the mappings passed to love.joystick.loadGamepadMappings contain mappings for other platforms but no mappings for the currently running platform. 2014-11-03 16:19:47 -04:00
Alex Szpakowski 5eb37d30f7 Cleaned up and simplified some graphics code.
--HG--
branch : minor
2014-10-26 15:31:32 -03:00
Alex Szpakowski 9771c49ea6 Updated license.txt to include MIT-licensed libraries used by LÖVE. 2014-10-19 19:25:31 -03:00
Alex Szpakowski d4be84a630 Fixed love.filesystem.unmount.
--HG--
branch : minor
2014-10-19 01:52:48 -03:00
Alex Szpakowski 8d0654a6a7 Added runtime drag-and-drop file and folder support via new love.filedropped and love.directorydropped event callback functions. filedropped has a single File object argument, and directorydropped has a single string argument containing the full path of the directory, which can be used with love.filesystem.mount.
--HG--
branch : minor
2014-10-18 20:30:36 -03:00
Alex Szpakowski af0371361f Merged default into minor
--HG--
branch : minor
2014-10-18 01:45:02 -03:00
Alex Szpakowski 7bcb48c562 Fixed compilation (resolves issue #938.) 2014-10-13 03:20:47 -03:00
Dalton Nell 3bc28345aa Added function host:destroy(), added error handling for trying to work with a destroyed host, and fixed awkward naming of socket_get_address (it now matches the rest of the lib and official documentation as get_socket_address now). 2014-10-10 12:35:33 -06:00
Alex Szpakowski a9630811d8 Fixed a logic error making compressed textures with no mipmaps trigger a Lua error when they're loaded into an Image.
--HG--
branch : minor
2014-10-06 20:09:10 -03:00
Alex Szpakowski 1108dea696 Updated the error message when invalid UTF-8 strings are used in love.graphics.print and friends to mention UTF-8. 2014-10-06 19:34:11 -03:00
Alex Szpakowski d527307adc Font glyphs created from ImageFonts no longer treat separator pixels as spacing (resolves issue #190.)
--HG--
branch : minor
2014-09-28 21:26:17 -03:00
Alex Szpakowski 4c6e688870 LÖVE will now try to guess the line height for BMFont files which are missing the 'lineHeight' attribute.
--HG--
branch : minor
2014-09-28 20:16:32 -03:00
Alex Szpakowski d4ad571780 Un-reverted commit 14ca947 (love.math.setRandomSeed internally calling random() a few times) for the minor branch.
--HG--
branch : minor
2014-09-28 16:05:17 -03:00
Alex Szpakowski 8edb90a719 Added support for loading BMFont bitmap font files with love.graphics.newFont (see issue #190.) Some esoteric BMFont features are not supported.
Moved the Font module Lua wrapper code out of the freetype implementation folder.

--HG--
branch : minor
2014-09-28 16:00:40 -03:00
Alex Szpakowski 34688e929e Merged default into minor
--HG--
branch : minor
2014-09-28 15:56:04 -03:00
Alex Szpakowski d3e1993673 Rearranged love.window.showMessageBox' arguments so the messagebox type is the second-last argument and defaults to "info" (resolves issue #937.) 2014-09-28 15:37:56 -03:00
Alex Szpakowski e8009bb4cb Reverted commit 14ca947 (love.math.setRandomSeed internally calling random() a few times.) The change can break existing 0.9.x games so it will be pushed back to the minor branch. 2014-09-28 15:28:14 -03:00
Alex Szpakowski 808e533b02 Tweaked streaming Sources to use fewer OpenAL buffers (and increased the amount of decoded data per buffer to compensate), and removed some unnecessary #include statements. 2014-09-28 14:58:59 -03:00
Alex Szpakowski e2354acc65 Updated the love key to SDL keycode mapping to be a static array instead of a std::map. 2014-09-27 03:17:08 -03:00
Alex Szpakowski b70f72acb3 Fixed a couple potential memory leaks if love.graphics.newShader causes an error, and cleaned up some shader-related code. 2014-09-27 02:26:58 -03:00
Alex Szpakowski c6b610d116 Cleaned up some code. 2014-09-21 19:50:02 -03:00
Alex Szpakowski 7948b11082 Updated love.physics.newPolygonShape and love.physics.newChainShape to accept a table of vertices, fixed a small memory leak if newChainShape errors, fixed the vertex order of newChainShape. 2014-09-21 03:31:36 -03:00
Alex Szpakowski aba33bf2e7 Merged default into minor
--HG--
branch : minor
2014-09-20 00:34:34 -03:00
Alex Szpakowski 228c925c0d Updated the changelog. 2014-09-20 00:27:20 -03:00
Alex Szpakowski 7f490c4c30 Added ParticleSystem:setLinearDamping and ParticleSystem:getLinearDamping (resolves issue #803.) 2014-09-19 21:00:04 -03:00
Alex Szpakowski d4c60e077d Fixed the window position in fullscreen modes. 2014-09-19 17:24:30 -03:00
Alex Szpakowski b75e1bdeaa Added love.window.setPosition(x, y [, displayindex]), love.window.getPosition, and optional x and y fields for t.window in love.conf and for the flags table in love.window.set/getMode (resolves issue #930.) 2014-09-19 16:19:55 -03:00
Alex Szpakowski 3d7a3c2c3c Improved the error message when a misspelled filename is given to love.graphics.newShader (resolves issue #928.) 2014-09-18 22:36:22 -03:00
Alex Szpakowski c6896dfc4e Consolidated some duplicate code in SpriteBatch:add. 2014-09-18 20:29:47 -03:00
Alex Szpakowski 5dda0c08eb Slightly improved the performance of SpriteBatch:setBufferSize. 2014-09-18 18:30:56 -03:00
Alex Szpakowski e6221638e3 Accidentally deleted more than I should have
--HG--
branch : minor
2014-09-18 02:44:29 -03:00
Alex Szpakowski cf7342f8b7 Use C++11's in-line member initializers instead of default constructors with initializer lists, for some structs.
--HG--
branch : minor
2014-09-18 02:39:18 -03:00
Alex Szpakowski fffbd3ecab Merged default into minor
--HG--
branch : minor
2014-09-18 02:15:20 -03:00
Alex Szpakowski 417173b43a GLSL precision qualifiers (lowp, mediump, highp) can now be used for variables in shader code on desktops without causing a compile error, although they do nothing. 2014-09-16 22:34:22 -03:00
Alex Szpakowski 604bc34106 Hopefully fixed the default filesystem identity when a game is fused to the executable in Windows. 2014-09-16 14:24:04 -03:00
Bart van Strien 793ef5db01 Apply foo0's patch to disable mpg123 in cmake megasource builds (issues #931 and #404) 2014-09-15 17:43:31 +02:00
Alex Szpakowski 00944c5f5d Added love.window.toPixels(x [, y]) and love.window.fromPixels(x [, y]), for easier conversion between window-space and pixel-space values when highdpi mode is enabled on a retina display in OS X (and in the iOS and Android ports of LÖVE.) 2014-09-14 15:58:37 -03:00