Alex Szpakowski
d7802b053b
Removed love.graphics.setAlphaTest: incompatible with OpenGL ES 2+, core OpenGL 3+, and Direct3D 10+. Shaders can accomplish the same things and more.
2013-08-01 12:55:46 -03:00
Alex Szpakowski
ce9d0be1ea
Fixed love.filesystem.mount to consistently fail to mount things which are inside the game source directory, instead of only failing when the source dir is a zipped .love
2013-08-01 02:39:54 -03:00
Alex Szpakowski
411d16b063
Added include guard for love.h
2013-08-01 01:48:45 -03:00
Alex Szpakowski
dfba650575
Fixed SpriteBatch:set with Geometry
2013-07-29 16:03:38 -03:00
Alex Szpakowski
45de33edb8
Removed Geometry:flip (resolves issue #670 )
2013-07-29 05:50:08 -03:00
Alex Szpakowski
b090a91650
Fixed love.app opening in the background instead of the foreground in OS X
2013-07-29 01:48:36 -03:00
Alex Szpakowski
e19ade38ab
Added support for BC4 (aka 3Dc+) compressed textures
2013-07-28 17:20:24 -03:00
Alex Szpakowski
fa6eaaa3a6
Improved performance of SpriteBatch:add/set in some cases when the SpriteBatch isn't bound
2013-07-28 16:51:22 -03:00
Alex Szpakowski
02d77aa9be
Fixed running love files with relative paths from the command line in OS X
2013-07-27 17:06:20 -03:00
Alex Szpakowski
c8428a0a2b
Fixed opening .love files in Mac OS 10.9 (resolves issue #689 )
2013-07-27 16:10:06 -03:00
Alex Szpakowski
4595bb68eb
Updated changelog
2013-07-25 00:58:37 -03:00
Alex Szpakowski
295487165f
Unprintable ascii text (numbers 0-31 and 127 in decimal) is no longer sent to the unicode argument of love.keypressed
2013-07-24 02:44:36 -03:00
Alex Szpakowski
8408c276cb
ParticleSystem:setColors(r, g, b) now defaults to 255 alpha instead of erroring (resolves issue #686 )
2013-07-21 21:41:23 -03:00
Alex Szpakowski
bdb4c7eb90
Renamed t.screen to t.window in love.conf (resolves issue #637 )
2013-07-20 14:49:14 -03:00
Alex Szpakowski
f41a2ed910
Reverted commit 8c64a0c (love.graphics.setCanvas(nil) erroring)
2013-07-19 19:53:39 -03:00
Alex Szpakowski
cb0a974546
Merged love.graphics.setCanvases into love.graphics.setCanvas (resolves issue #684 )
2013-07-19 15:45:40 -03:00
Alex Szpakowski
335cc378fc
Added some internal verification for registering love type names
2013-07-18 00:45:49 -03:00
Alex Szpakowski
7cf7f3a25f
Merged love.graphics.drawg into love.graphics.draw, and SpriteBatch:addg/setg into SpriteBatch:add/set (resolves issue #639 )
2013-07-17 18:34:57 -03:00
Alex Szpakowski
f9ce521794
Fixed a bug when requiring enet
2013-07-17 03:38:15 -03:00
Alex Szpakowski
57aa632841
Added love.graphics.getMaxImageSize
2013-07-17 00:35:25 -03:00
Alex Szpakowski
5a3055dd3b
Replaced internal calls to luaL_register (deprecated in Lua 5.2) with an alternative
2013-07-16 23:23:58 -03:00
Alex Szpakowski
3725b4122f
Fixed lazy-loading of stencil buffers in Canvases sometimes failing due to uninitialized variables
2013-07-16 20:04:10 -03:00
Bart van Strien
259f15da6f
Apply box2d heap tickler patch: make sure ChainShape:getPoints has enough stack size
2013-07-17 00:06:53 +02:00
Alex Szpakowski
ada83d1f2d
Updated changelog
2013-07-16 05:07:03 -03:00
Alex Szpakowski
8ac288876d
Added Thread:isRunning
2013-07-16 00:18:04 -03:00
Alex Szpakowski
719e9253da
Fixed a compiler warning
2013-07-15 13:22:47 -03:00
Bart van Strien
98d92d3e1f
Add support for "flat" tables to Variant.
...
This means you can now use Variants (used by Channels and love.event, for instance) to send tables as long as they only contain keys and values supported by Variant, AND they are not tables themselves.
2013-07-15 11:53:24 +02:00
Alex Szpakowski
67353d4de7
Reduced CPU usage (and improved performance) for the nogame screen
2013-07-14 18:04:20 -03:00
rude
aa1c091cc9
Add Baby Inspector no-game screen.
...
As always, I had great plans for the no game screen, but these great plans take
way too much time to implement. So I settled for something simpler, i.e. the
standard LSD stuff.
2013-07-14 21:49:04 +02:00
Alex Szpakowski
7601ef05f4
Fixed a potential memory leak
2013-07-12 15:18:27 -03:00
Alex Szpakowski
2ccbbe1c64
Fixed love.graphics.newShader crashing when extern variables with very short names are used
2013-07-11 19:26:50 -03:00
Alex Szpakowski
267d901cd6
Fixed Geometry:flip when the Geometry was created with newQuad (resolves issue #671 )
2013-07-11 16:09:41 -03:00
Bart van Strien
882313551c
Rename SoundData:getBits to getBitDepth ( resolve #636 )
2013-07-11 14:40:52 +02:00
Bart van Strien
e382c8939c
Make Source:seek fail with negative offsets ( resolves #667 )
2013-07-11 14:19:15 +02:00
Alex Szpakowski
bcc85f884e
ImageData:mapPixel can now take optional x,y,w,h parameters to constrain it to a rectangle in the ImageData
2013-07-11 01:10:19 -03:00
Alex Szpakowski
91e4feeca0
Fixed justify AlignMode
2013-07-10 20:36:20 -03:00
Alex Szpakowski
35b4f03411
Fixed thread:start crashing with nil arguments
2013-07-10 17:41:54 -03:00
Alex Szpakowski
454ba9d968
love.graphics.newGeometry now takes an optional draw mode argument ("fan", "strip", or "triangles".) "fan" is the default.
...
This allows for more diverse and complex Geometries, provided the lover understands how to use each mode. See http://escience.anu.edu.au/lecture/cg/surfaceModeling/image/surfaceModeling015.png
Changed love.graphics.newGeometry to optionally accept vertices as individual arguments instead of just a table of vertices (resolves issue #651 ).
Changed Geometry:setVertex to optionally accept a table containing x,y,u,v,r,g,b,a instead of just individual arguments.
Added Geometry:set/getDrawMode.
Removed the convex-check in love.graphics.newGeometry (all geometry modes have at least some form of concavity support, lovers can do their own check if needed with love.math.isConvex.)
Added an optional "vertex map" table argument to love.graphics.newGeometry (AKA a vertex index array / element array in graphics programming lingo.)
This allows lovers to change the order in which the vertices are used when drawing, or re-use a single vertex multiple times for different parts of the Geometry.
This is especially useful in the "triangles" Geometry draw mode. The vertex map lets you draw very complex (and concave) shapes / meshes without duplicating vertex data.
Added Geometry:set/getVertexMap.
2013-07-10 15:34:10 -03:00
Alex Szpakowski
12c5bbfb9a
Improved error messages when a function which expects a love type gets something else
2013-07-10 11:59:12 -03:00
Bart van Strien
29fd6b98f8
Replace (C99/C++11) snprintf with lua_pushfstring
2013-07-10 16:24:29 +02:00
Bart van Strien
e6b029ec90
Oops, forgot to add the luasocket compat hack thing
2013-07-10 16:11:39 +02:00
Bart van Strien
f5603b0291
Make love compile against lua5.2
2013-07-10 16:02:52 +02:00
Martin Felis
14ca401158
Add enet and lua-enet
2013-07-10 15:42:50 +02:00
Bart van Strien
25d0d87247
Add love.window.getIcon, and reset it after setMode, so it doesn't get reset (issue #667 and issue #513 )
2013-07-09 15:19:49 +02:00
Bart van Strien
aaa301ead2
Error if getting/setting out-of-range samples (issue #674 )
2013-07-09 15:00:51 +02:00
Bart van Strien
7e50691b6c
Threads can now start with arguments, which will be in ... inside of the thread
2013-07-09 14:52:27 +02:00
Alex Szpakowski
d5ef29e015
Removed the optional variation parameter from ParticleSystem:setSpin (issue #634 ). ParticleSystem:setSpinVariation still exists.
2013-07-09 07:48:42 -03:00
Alex Szpakowski
da7bc06976
ParticleSystem:setSizes no longer resets size variation to 0 (issue #640 )
2013-07-09 07:38:44 -03:00
Alex Szpakowski
ebd0896907
Updated changelog
2013-07-09 04:43:13 -03:00
Alex Szpakowski
de745aa37c
Fixed ParticleSystem drawing order (issue #604 ) & added ParticleSystem:s/getInsertMode. Thanks @Boolsheet!
2013-07-09 04:17:34 -03:00