Alex Szpakowski
60c6b6a155
Cleaned up the code that triggers an error when using spatial Source methods on multi-channel Sources.
...
--HG--
branch : minor
2015-01-19 23:55:44 -04:00
Alex Szpakowski
3db4e8dea0
Fixed compilation on systems other than my own...
...
--HG--
branch : minor
2015-01-19 23:32:45 -04:00
Alex Szpakowski
1124612c1f
Some work towards OpenGL ES 2+ support for love 0.10.
...
--HG--
branch : minor
2015-01-19 23:32:16 -04:00
Alex Szpakowski
1253e3aae1
Updated version to 0.10.0.
...
--HG--
branch : minor
2015-01-16 15:54:18 -04:00
Alex Szpakowski
a7e4148869
Merged default into minor
...
--HG--
branch : minor
2015-01-16 15:47:26 -04:00
Alex Szpakowski
b4f2a9417a
Added new event callback love.mousemoved(x, y, xrel, yrel), where xrel and yrel are the amount of pixels moved since the last event. Added love.mouse.setRelative(bool relative) and love.mouse.isRelative. Resolves issue #470 .
...
Enabling relative mouse mode will hide the cursor and let the system generate relative mouse move events while preventing the mouse from getting stuck at the edges of the screen (i.e. you can keep moving the mouse in one direction forever and the relative movement events will be generated accordingly.)
The reported absolute mouse position is not updated while relative mode is enabled, even while relative movement events are generated.
2015-01-15 20:22:57 -04:00
Alex Szpakowski
dff496bdb5
Passing --console to love.exe now opens the console before conf.lua is loaded.
2015-01-15 17:48:04 -04:00
Alex Szpakowski
c26315dd4d
Actually a stop() in the Audio module destructor is redundant, since stop() is called by the Source pool when it's deleted (also in the destructor.)
2015-01-15 16:39:27 -04:00
Alex Szpakowski
6d3ae981ac
Moved the love.audio.stop call when love is quit from love.run to the destructor of the Audio module.
2015-01-15 16:36:52 -04:00
Alex Szpakowski
f1634bc6a8
The existence of the AL_EXT_MCFORMATS OpenAL extension is checked when creating 5.1 and 7.1 (6 and 8 channel) Sources. love.audio.newSource now errors if the channel count and bit-depth combination of the Source isn't supported.
2015-01-15 15:59:15 -04:00
Bart van Strien
12c358769c
Check if binary and library version match on startup ( resolves #860 )
2015-01-15 11:26:40 +01:00
foo0
e4eac17355
Fix Windows resource generation for love.dll (resolves issue #935 )
2015-01-15 11:10:46 +01:00
Bart van Strien
181196fc0c
Add support for 5.1 and 7.1 audio loading, still seems a bit dodgy (issue #970 )
2015-01-15 10:54:27 +01:00
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
Alex Szpakowski
fab029ae6b
Hopefully fixed the Windows build.
2015-01-14 15:55:49 -04:00
Alex Szpakowski
811f574ef6
Reference counting for love objects in 0.9.2 is now atomic (using SDL's atomic operation functions.)
2015-01-14 15:52:05 -04: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
1b41d546e2
Removed a Mac-specific workaround from love.run (pumping events before love.load so that love.mouse.setPosition works before love.update.)
...
It seems to be no longer necessary, and it was a partial workaround anyway.
2015-01-10 18:44:58 -04:00
Alex Szpakowski
91062a1496
Added Body/Contact/Fixture/Joint/World:isDestroyed (resolves issue #964.)
2015-01-05 00:14:41 -04:00
Alex Szpakowski
be9b5b5d1a
Added love.window.maximize (resolves issue #966.)
2015-01-05 00:00:46 -04:00
Alex Szpakowski
8a9a73151d
Pump events when calling love.mouse.getPosition/getX/getY/setX/setY, since some of SDL's backends don't update the internal mouse state until the next PumpEvents, if SDL_WarpMouseInWindow was called previously.
...
Resolves issue #968 .
2015-01-03 23:02:10 -04:00
Alex Szpakowski
c7b45b3505
Updated copyright for the new year
2014-12-31 19:32:43 -04:00
Alex Szpakowski
e6ff146e67
Updated changelog
2014-12-29 03:29:03 -04:00
Alex Szpakowski
37fecf1bd4
Fixed the BMFont character coordinate verification code.
...
--HG--
branch : minor
2014-12-27 18:27:28 -04:00
Alex Szpakowski
fdee6f0e30
Fixed a misleading comment.
2014-12-23 04:01:03 -04:00
Alex Szpakowski
60eceadc0a
Added "mirroredrepeat" wrap mode.
2014-12-22 19:16:36 -04:00
Bart van Strien
ff01e6e63b
Merged in Anylo/love/Anylo/updated-year-from-2013-to-2014-1418642961070 (pull request #41 )
...
Updated year from 2013 to 2014.
2014-12-15 12:31:40 +01:00
Anylo
426813945e
Updated year from 2013 to 2014.
...
--HG--
branch : Anylo/updated-year-from-2013-to-2014-1418642961070
2014-12-15 11:29:26 +00:00
Alex Szpakowski
a7b27f3303
Forgot to remove a bit of code...
2014-12-11 21:23:06 -04:00
Alex Szpakowski
6eee2368be
Literal strings containing Lua code can be passed into love.thread.newThread directly, similar to loadstring and love.graphics.newShader (resolves issue #622.)
...
Threads are still *very* heavyweight objects and should be treated as such, unlike the functions returned by loadstring.
2014-12-11 21:22:12 -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
b585e97e99
Fixed compiling Box2D on some platforms (memory.h doesn't exist in every build environment)
2014-12-08 21:19:41 -04:00
Alex Szpakowski
c4a1457603
Fixed Image:setMipmapFilter keeping bad state around if it errors.
2014-12-05 12:19:50 -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