Commit Graph

1562 Commits

Author SHA1 Message Date
Alex Szpakowski bccac13432 Added ParticleSystem:clone() 2013-12-25 05:30:07 -04:00
Alex Szpakowski 4d1846b745 Removed love.audio.newSource(source) (see issue #319) 2013-12-25 02:19:59 -04:00
Alex Szpakowski 44d87212b7 Fixed Joystick:isDown to accept 1-based instead of 0-based button indices 2013-12-23 00:28:03 -04:00
Alex Szpakowski e6f2d4f1ac Added Source:clone() and love.audio.newSource(source): creates a new (stopped) Source which has all of the settable state of the original.
Static sources don’t duplicate their OpenAL data buffer when cloned (resolves issue #319). Cloned streaming sources also clone the original Decoder.
2013-12-20 00:20:41 -04:00
Alex Szpakowski d0d629a314 Fixed line width after love.graphics.scale with negative numbers (resolves issue #808) 2013-12-18 03:15:44 -04:00
Alex Szpakowski 71dd15838e Workaround for SDL_HAPTIC_INFINITY failing in Windows is no longer needed (patched in SDL as of 2 months ago) 2013-12-17 04:03:04 -04: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
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
Alex Szpakowski 760f8220fa Fixed a small memory leak if love.physics.newChainShape errors 2013-12-10 03:54:56 -04: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 2ee869b0e8 Fixed some compiler warnings 2013-12-07 05:07:54 -04:00
Alex Szpakowski eadb718ade Fused status is now set before conf.lua is loaded 2013-12-07 02:13:54 -04:00
Alex Szpakowski f997cc43c1 Fixed a crashing issue when the error handler can’t create a window 2013-12-04 17:03:34 -04:00
Bart van Strien 33bb049ee6 Don't call love.graphics functions in love.run until a window has been created, prevents segfaults when love.window and love.graphics were loaded, but there was no window 2013-12-02 21:07:43 +01: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 8608f2b027 The love executable now properly requires love and love.boot, and relies less on globals. 2013-11-23 19:35:06 -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 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 0fb05fd84d Reorganized the nogame screen’s drawing code to marginally reduce CPU usage. Woo! 2013-11-13 04:07:29 -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 d7691f652e Fixed case-correctness of an #include (see issue #790) 2013-11-08 20:03:17 -04:00
Alex Szpakowski 70996a417f Mac: only do LOVE_LEGENDARY_LIBSTDCXX_HACK when the minimum required version is OS 10.5 (resolves issue #789) 2013-11-08 01:50:26 -04:00
Alex Szpakowski 6a22afb3a9 Make the ENet wrapper define LUA_COMPAT_ALL before including Lua’s headers (see issue #787) 2013-11-07 23:26:24 -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
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 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
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 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
Alex Szpakowski 206a1abd81 Added Mesh:getVertices (resolves issue #771) 2013-10-23 21:23:24 -03:00