Alex Szpakowski
2ee869b0e8
Fixed some compiler warnings
2013-12-07 05:07:54 -04:00
Alex Szpakowski
1c8abc74aa
Renamed love.math.g/setRandomState and rng:g/setState to love.math.g/setRandomSeed and rng:g/setSeed.
...
getRandomSeed now always returns the previously set random seed instead of the current (implementation-dependent) random state.
2013-12-01 21:25:27 -04: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
c83e3c33c5
Fixed building as a universal binary on OS X (resolves issue #793 )
2013-11-20 17:55:30 -04:00
Alex Szpakowski
3b532fdb70
Fixed an uncaught exception in File:getSize
2013-11-18 05:29:53 -04:00
Alex Szpakowski
006f4dd600
Fixed
2013-11-17 05:47:38 -04:00
Alex Szpakowski
c0b28f9d07
Only apply an AMD-specific hack when generating mipmaps on AMD GPUs
2013-11-17 05:44:09 -04:00
Alex Szpakowski
0214bab0fe
Reduced initialization time of the graphics module in OS X by ~80ms
2013-11-15 15:41:15 -04:00
Alex Szpakowski
f53678cec0
Merged bartbes/love-experiments/box2d-2.3 into default
2013-11-12 18:24:15 -04:00
Alex Szpakowski
f2797958db
Don’t minimize on focus loss in fullscreen-desktop mode (mimics post-SDL 2.0.1 behaviour)
2013-11-11 18:07:05 -04:00
Alex Szpakowski
c8f5494900
Images, Canvases, Quads, and Fonts now have the same vertex winding order
2013-11-10 19:57:13 -04:00
Alex Szpakowski
a1a116e7a2
Fixed an uncaught exception in World:translateOrigin
...
--HG--
branch : box2d-2.3
2013-11-09 16:37:19 -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
c1b4f31578
Fixed detection for shader support
2013-11-06 01:50:54 -04:00
Alex Szpakowski
cded0e4a3b
Fixed a typo when love.math.triangulate errors
2013-11-05 15:17:54 -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
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
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
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
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
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
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
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
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
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
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
Alex Szpakowski
4fa7347e26
Reduced code duplication in love.graphics.newImage
2013-10-07 22:18:44 -03:00