Commit Graph

1776 Commits

Author SHA1 Message Date
Alex Szpakowski 61a46ae09a SDL2 is a dependency now, not SDL1.2 2013-11-04 18:42:52 -04:00
Alex Szpakowski 83d3eae1e7 Fixed error messages in Shader:send and love.math.newRandomGenerator to include the line number 2013-11-04 15:03:45 -04:00
Bart van Strien b8a69ab2b6 At least decode file uris now 2013-11-03 20:23:31 +01:00
vrld 3b04eeeec8 Fix #756: Sending an Image to a shader does not retain it
Each shader contains a map of uniform name -> bound retainable Object. After
setting the uniform, sendImage() and sendCanvas() release() the Object with
the requested name (if present) and record the new Image/Canvas.

Related bugfix: Shader::attach() calls retain()/release() on the shader.
2013-11-03 18:27:36 +01:00
Bart van Strien 3c2e8ddd87 Add source deb stuff 2013-11-02 18:49:37 +01:00
Bart van Strien 29d953aa08 Tell enet about autoconf's socklen_t results 2013-11-02 18:47:11 +01:00
Alex Szpakowski 97bbbe638b Updated ENet version from 1.3.8 to 1.3.10 2013-11-01 01:09:21 -03: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 e2626552bd Fixed .hgignore with Xcode 2013-10-31 16:26:24 -03:00
Alex Szpakowski f03efd2dca Fixed Contact:getChildren to be 1-based 2013-10-30 18:07:41 -03:00
Alex Szpakowski 8cc5364d15 Changed the SearchOrder argument of love.filesystem.setIdentity and love.filesystem.mount to a boolean (append) instead of an enum 2013-10-30 17:05:46 -03: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 101c6ae90a Fixed love.window.setFullscreen to update the graphics viewport immediately instead of waiting for the next event polling 2013-10-30 14:26:34 -03:00
Alex Szpakowski fad9d25093 Removed Source:getType (resolves issue #776) 2013-10-28 19:33:22 -03:00
Alex Szpakowski 3b0d5c8b6d Removed the system cursor variant of love.mouse.newCursor and added love.mouse.getSystemCursor. love.mouse.newCursor can now take a file(path). Resolves issue #741. 2013-10-28 12:59:03 -03:00
rude 900978baf7 Let NSIS install Win64 binaries in $PROGRAMFILES64. 2013-10-28 00:00:45 +01:00
Alex Szpakowski 5dad6c74c9 Fixed random crashing in OS X 2013-10-26 00:22:28 -03:00
Alex Szpakowski 4e321697d3 Renamed Font:hasGlyph to Font:hasGlyphs, and expanded it to accept multiple arguments and full strings. Resolves issue #762. 2013-10-25 21:56:32 -03:00
Alex Szpakowski b57256b3e5 Renamed Source:setRelativePosition and Source:hasRelativePosition to Source:setRelative and Source:isRelative. Updated changelog. 2013-10-25 17:05:29 -03:00
Alex Szpakowski 4e1c73c1f2 Removed Quad:flip (resolves issue #770) 2013-10-24 17:46:21 -03:00
Alex Szpakowski 74ac2820cd Joint:enableMotor -> Joint:setMotorEnabled, Joint:enableLimit -> Joint:setLimitsEnabled, Joint:isLimitEnabled -> Joint:hasLimitsEnabled. Resolves issue #691. 2013-10-24 17:30:41 -03:00
rude cbd1e6937b Added Wuff (and WaveDecoder.cpp/h) to CMakeLists.txt. 2013-10-24 20:28:52 +02:00
Alex Szpakowski 206a1abd81 Added Mesh:getVertices (resolves issue #771) 2013-10-23 21:23:24 -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 faf483d156 Fixed error message when an invalid vertex index is given to Mesh:setVertex, Mesh:getVertex, and Mesh:setVertexMap (resolves issue #772) 2013-10-23 13:52:04 -03:00
Alex Szpakowski cfd030d4ab Fixed building on Mac OS 10.9 2013-10-23 06:53:52 -03:00
rude 27de844472 Include <algorithm> when std::min/max is used.
It won't build in Visual Studio 2013 unless we do this.
2013-10-23 00:09:12 +02:00
Alex Szpakowski 037ba6f93d Updated changelog 2013-10-21 19:52:42 -03:00
Alex Szpakowski d9da19d665 Error for misspelled / invalid window attributes in love.window.setMode (resolves issue #736) 2013-10-20 13:17:57 -03:00
Alex Szpakowski 249dad3cae love.filesystem.mkdir -> love.filesystem.createDirectory, love.filesystem.enumerate -> love.filesystem.getDirectoryItems. Resolves issue #609. 2013-10-20 04:07:37 -03:00
Alex Szpakowski 3e9fcacf07 Code style fixes 2013-10-20 04:02:09 -03:00
Alex Szpakowski 5542ab7f4e Fixed crash when checking if a sound file can be decoded by GME 2013-10-19 16:16:42 -03:00
Alex Szpakowski cf6acfa258 Added Source:getChannels. Positional/directional audio only works with 1-channel (mono) sources. 2013-10-15 23:09:35 -04:00
Bart van Strien f846ed60b2 Old merge? 2013-10-15 20:03:58 +02:00
Bart van Strien f6f8251234 Hopefully fix appdata dir creation on windows 2013-10-15 20:03:22 +02:00
Alex Szpakowski b556dde3cb love.graphics.draw(image, quad, x, y, ...) now errors instead of shifting parameters if the quad argument is nil 2013-10-14 03:38:07 -03:00
Alex Szpakowski 43b3629e01 Improved performance of Image:refresh 2013-10-13 16:31:29 -03:00
Alex Szpakowski e068aab6ea The function passed to ImageData:mapPixel must return at least r,g,b. Alpha component defaults to 255 (resolves issue #603) 2013-10-12 00:40:18 -03:00
Alex Szpakowski e5f56d93ce Updated visual studio project files (thanks Boolsheet) 2013-10-11 21:21:11 -03:00
Alex Szpakowski 13ea750454 Added Source:setCone(innerAngle, outerAngle, outerVolume). Resolves issue #643.
When combined with Source:setDirection (and Source:setPosition or love.audio.setPosition), the cone parameters allow for directional sound output from a Source.
2013-10-11 05:30:11 -03:00
Alex Szpakowski e2eb99a6af Added BezierCurve:getControlPointCount (resolves issue #759) 2013-10-11 02:53:53 -03:00
Alex Szpakowski b21f8ed3af Updated CMakeLists.txt 2013-10-11 02:44:44 -03:00
Alex Szpakowski 7f3cd7f044 Added Source:setRelativePosition and Source:hasRelativePosition, if enabled the Source's position will always be relative to the listener instead of absolute. 2013-10-11 02:25:48 -03:00
Alex Szpakowski 2710c6c488 Renamed Source:s/getDistance to Source:s/getAttenuationDistances (resolves issue #632).
Fixed detection for mipmap sharpness support.
2013-10-10 23:05:45 -03:00
Alex Szpakowski bf070afffa Fixed a SoundData constructor to compile in Visual C++ 2010 2013-10-08 18:17:31 -03:00
Alex Szpakowski 1c7c72472a Removed unused wrap_Geometry.cpp file 2013-10-08 17:29:07 -03:00
Alex Szpakowski 206e184cde love.graphics.print's x and y arguments now default to 0 (resolves issue #638) 2013-10-07 23:52:30 -03:00
Alex Szpakowski 951f5740bb Renamed ChainShape:setPrevVertex to ChainShape:setPreviousVertex (see issue #691) 2013-10-07 23:49:49 -03:00