Alex Szpakowski
677a8d60b8
Use love::Vector (8 bytes) instead of love::Vertex (20 bytes) for love.math.triangulate and love.math.isConvex.
2016-08-24 18:02:27 -03:00
Alex Szpakowski
acde58d311
Improved the error message when nil is passed as the first argument to love.image.newImageData (resolves issue #1205 ).
2016-08-21 11:22:21 -03:00
airstruck
154f7cbc7e
Support reference angle on revolute, prismatic, and weld joints ( fixes #1194 )
2016-08-19 14:36:36 +02:00
Bart van Strien
9998e761a4
Do not error in newVideo when optionally loading audio with love.audio disabled ( fixes #1206 )
2016-08-15 17:12:36 +02:00
Alex Szpakowski
3e678fc462
Fix SpriteBatch:setBufferSize to keep old sprite data if it can fit (resolves issue #1204 ).
2016-08-12 23:44:16 -03:00
Bart van Strien
57e4ec78e3
Prevent attaching a MouseJoint to a kinematic body ( fixes #1185 )
...
It turns out, calling World:update() after attaching a MouseJoint to a
kinematic body causes an exception. Normally the wrapper catches the exception,
but somehow this exception cannot be caught. Wonderful.
2016-08-02 14:26:51 +02:00
Bart van Strien
0ce44e465d
Catch possible Box2D exception in Fixture:getBoundingBox() ( fixes #1196 )
2016-08-02 13:07:05 +02:00
Alex Szpakowski
fc2c79ad5f
Add EdgeShape:set/getNext/PreviousVertex. ChainShape:setNext/PreviousVertex can now take no arguments to disable ghost vertices.
...
Resolves issue #1191 .
2016-08-01 10:15:34 -03:00
Alex Szpakowski
3157e5df7b
Added ChainShape:getNext/PreviousVertex (see issue #1191 ). Thanks airstruck!
2016-07-31 14:25:12 -03:00
Alex Szpakowski
55cb2fad84
Fixture:setCategory and Fixture:setMask now accept a table of categories/masks (resolves issue #1178 ).
2016-07-31 11:51:53 -03:00
Alex Szpakowski
0a534d4751
Fixed ChainShape:setPreviousVertex.
2016-07-28 18:08:27 -03:00
Leonardo Etcheverry
a11c7278c8
Fix FT_Get_Kerning using char codes instead of glyph indices.
2016-07-20 21:52:56 -03:00
Alex Szpakowski
8ea1edbc2a
Cause a Lua error instead of silently failing if a vertex buffer memory allocation fails.
2016-07-17 17:44:38 -03:00
Bart van Strien
877ebbf9c9
Make WheelJoint/PrismaticJoint:getAxis return a world vector (refs #1176 )
2016-07-15 12:20:58 +02:00
Bart van Strien
65f53a491f
Make MouseJoint:getBodies() return only one body ( fixes #1179 )
...
Override Joint's Body getters in MouseJoint, to make the second (user-supplied) body the first body returned, and return nil for the second (internal) body
2016-07-14 16:39:29 +02:00
Bart van Strien
7266fa4fc5
Fix memory leak in Text:set ( fixes #1181 )
2016-07-14 14:22:38 +02:00
airstruck
9a2f99dc3d
Added 2-point version of love.physics.newRevoluteJoint ( fixes #1175 )
2016-07-07 21:18:35 +02:00
airstruck
24da8433d0
Expose axis vector of PrismaticJoint and WheelJoint ( fixes #1176 )
2016-07-07 21:13:49 +02:00
Bart van Strien
debea1192b
Fixed large burst of particles when dramatically increasing the emission rate of a ParticleSystem. ( fixes #1169 )
2016-06-21 15:48:49 +02:00
Bart van Strien
b328049517
Fix print coloring bug with empty strings ( fixes #1171 )
2016-06-11 19:51:51 +02:00
Alex Szpakowski
9900051647
Improved performance of ImageData:mapPixel when JIT compilation is unavailable (e.g. on iOS and Android)
2016-05-21 22:18:12 +00:00
Alex Szpakowski
d6310ca87f
Fixed glyphs being added to partially out-of-bounds positions in Font texture atlases in rare cases (resolves issue #1162 ).
2016-05-11 21:38:12 -03:00
Alex Szpakowski
d28bc1f42e
Fixed a warning about a missing newline at the end of a file.
2016-05-01 21:04:01 -03:00
EntranceJew
67c5eb77ae
Put methods for getTexture* on Quad
2016-04-14 18:36:47 -04:00
EntranceJew
b2b02c4f8e
Exposed getTextureDimensions on Quad
2016-04-14 18:32:39 -04:00
T-Bone
4ef7504c05
Fixed things pointed out by Alex Szpakowski and Bart von Strien
2016-04-09 07:28:03 +02:00
T-Bone
b2291fb62a
Fixes to make Löve compile on Windows 10 UWP
2016-04-07 22:56:03 +02:00
Alex Szpakowski
03801e49d6
Fix a potential issue when an OpenAL source that was previously static is reused for a streaming Source.
2016-04-03 09:58:17 -03:00
Alex Szpakowski
901cc362df
Added 'shaderswitches' to love.graphics.getStats.
2016-04-02 18:14:52 -03:00
Alex Szpakowski
175c3af10b
Updated stb_image to 2.12.
2016-04-02 12:02:39 -03:00
Alex Szpakowski
1b1572ad85
love.filesystem.mount accepts DroppedFiles in the first parameter. You could previously pass in DroppedFile:getFilename() and it would work too, this just makes it a bit nicer.
2016-03-31 17:58:27 -03:00
Bart van Strien
8dd7cc16ab
Fix end-of-stream detection for videos
...
Fixes hang when a video file contains frames past the end of the video stream
2016-03-29 22:43:20 +02:00
Alex Szpakowski
3d25416e14
Removed an unused variable.
2016-03-27 11:28:34 -03:00
Alex Szpakowski
aa88383793
Fixed per-vertex colors (e.g. spritebatch colors) improperly applying gamma correction when the default shader is used and gamma correction is requested but not supported on OpenGL ES.
2016-03-26 12:01:34 -03:00
Alex Szpakowski
829cf5fd06
Fixed ImageFonts and BMFonts with colored bitmap images to proper sRGB conversions when gamma correction is enabled.
2016-03-25 20:13:49 -03:00
Alex Szpakowski
090c50795a
Fix love.window.setMode crashing if a Canvas is active.
2016-03-22 18:05:26 -03:00
Alex Szpakowski
8b07bad15e
Fixed the build.
2016-03-20 22:36:54 -03:00
Alex Szpakowski
9ebd759851
Don't call glGetFloat every time love.graphics.getSystemLimits is called.
2016-03-20 22:00:24 -03:00
Bart van Strien
bc932aecef
Move spawn.h include, because android doesn't use (or have) posix_spawn
2016-03-20 22:28:14 +01:00
Bart van Strien
2af327dcf9
Make sure android includes the right headers for System.cpp too
...
Hopefully.
2016-03-20 10:44:36 +01:00
Alex Szpakowski
36cc48d306
Move the Timer::sleep implementation up from timer/sdl/Timer.cpp to timer/Timer.cpp, since it doesn't directly use any SDL-specific code.
2016-03-18 23:01:49 -03:00
Alex Szpakowski
b983588d2e
We don't need to initialize the SDL timer subsystem to use SDL_Delay, and initializing it causes SDL to create a worker thread (which it uses for SDL_AddTimer and friends, which we don't use).
2016-03-18 22:58:48 -03:00
Bart van Strien
f7d226d072
Improve reaping of zombie processes on linux ( resolves #1042 )
...
Sadly, it's not a complete fix for #1042 , as there seems to be no good way to
deal with system() in multithreaded applications. At least os.execute can
return values other than -1 now.
2016-03-14 17:14:49 +01:00
Alex Szpakowski
d0c0240e09
Very minor channel / variant performance improvements and cleanup.
2016-03-12 19:11:03 -04:00
Alex Szpakowski
a0bbcce8ee
The video decoding thread efficiently waits for a video to be created before doing anything, rather than sleeping for 2ms in a loop. Reduces the CPU usage of the video worker thread to ~0% when no videos are loaded.
2016-03-05 21:56:51 -04:00
Alex Szpakowski
7370bd56ce
Improved the error message when love.graphics.newImage fails due to CompressedImageData not having all required mipmap levels (thanks Shell32!)
2016-03-03 20:36:30 -04:00
Alex Szpakowski
a3ff90c94c
Cleaned up the GlyphData code.
2016-03-02 22:12:32 -04:00
Alex Szpakowski
f51bbb8462
Cleaned up some StrongRef-related code.
2016-03-01 18:57:17 -04:00
Alex Szpakowski
8d7481c3b2
Improved the error message given when jpeg, TGA, and BMP images fail to decode.
2016-02-28 12:41:27 -04:00
Alex Szpakowski
e08374fdd1
We don't need a mutex lock in Channel::retain/release... I think.
2016-02-26 18:38:39 -04:00