Alex Szpakowski
|
afc505e183
Added stack type enums to love.graphics.push (resolves issue #906.) Current enums are "transform" and "all". "transform" is the default (for compatibility.) When love.graphics.push("all") is used, love.graphics.pop() will restore all love.graphics module state to what it was when push was called.
|
11 years ago |
Alex Szpakowski
|
014b9a46e5
Updated the Lua wrapper code for modules to account for cases where the module's instance is removed from memory completely and recreated during the program's lifetime.
|
11 years ago |
Alex Szpakowski
|
d11ccd0e69
Added love.graphics.getCanvasFormats and love.graphics.getCompressedImageFormats, and removed love.graphics.hasCanvasFormat.
|
11 years ago |
Alex Szpakowski
|
4c67a94ba3
Hopefully fixed issue #898, and cleaned up code for love.graphics.getRendererInfo.
|
11 years ago |
Alex Szpakowski
|
23d3cbc2e2
Renamed all cases of FSAA to the more accurately-named MSAA. The FSAA names (canvas:getFSAA, t.window.fsaa, etc.) still exist for now, for backwards-compatibility.
|
11 years ago |
Alex Szpakowski
|
3792dee4b4
Backout changeset 57172a7f03452a6b07f346e850f3e1020e230f46
|
11 years ago |
Alex Szpakowski
|
e9e303c1e8
Changed embedded Lua scripts to be included in the love source via C++11's raw string literals instead of a generated header file. Removed auto.lua.
|
11 years ago |
Alex Szpakowski
|
79b453653a
Added love.joystick.loadGamepadMappings (resolves issue #842), and Joystick:saveGamepadMapping.
|
11 years ago |
Alex Szpakowski
|
dfa319e01a
Replaced the EXCEPT_GUARD macro for converting love exceptions into Lua errors with the new luax_catchexcept function, which takes lambda function arguments.
|
11 years ago |
Alex Szpakowski
|
724bdbd296
love.graphics.newImage, love.image.newImageData, etc. no longer leave Lua-owned FileData objects floating around waiting to be GC'd when called with filename arguments, resulting in less memory use on startup (resolves issue #890.)
|
11 years ago |
Alex Szpakowski
|
408a593113
Added support for several specific Canvas formats. Also added love.graphics.hasCanvasFormat.
|
11 years ago |
Alex Szpakowski
|
5428a5d75f
Backout changeset b3928e24add23da69dcd90c34985cd6a05454be0
|
11 years ago |
Alex Szpakowski
|
4bc96f1bf6
Internally compose and pass an array of shader source codes to OpenGL, instead of relying on #line to make sure the line number is correct for shader error messages (resolves issue #882)
|
11 years ago |
Alex Szpakowski
|
ecf37320a9
Changed love.graphics.newMesh, Mesh:setVertex, and Mesh:setVertices to default the u,v arguments to 0,0 instead of requiring them
|
11 years ago |
Alex Szpakowski
|
b625bb6624
moved Mesh:setWireframe to love.graphics.setWireframe (affects all draws until it's disabled.)
|
11 years ago |
Alex Szpakowski
|
ce4fdf4ac9
Added sRGB (gamma-correct) support for Images, Canvases, and the main screen.
|
11 years ago |
Alex Szpakowski
|
988404e4ca
Added love.graphics.getSystemLimit (resolves issue #840). Deprecated love.graphics.getMaxPointSize.
|
11 years ago |
Alex Szpakowski
|
7556fde5e6
Added antialiasing (MSAA) support to Canvases via a new optional parameter. Added Canvas:getFSAA.
|
11 years ago |
Alex Szpakowski
|
ba7e69d776
Added Mesh:setDrawRange(min, max) and Mesh:getDrawRange().
|
11 years ago |
Alex Szpakowski
|
73f1ce0d40
Added instancing support to Meshes via Mesh:setInstanceCount. Added a new built-in variable to vertex shaders: int love_InstanceID.
|
11 years ago |
Alex Szpakowski
|
0e13975c11
Improved some error message text
|
11 years ago |
Alex Szpakowski
|
fda005c5ff
love.graphics.getScissor now has a proper C++ module method
|
11 years ago |
Alex Szpakowski
|
c64b3d2527
Renamed love.graphics.getMaxImageSize to love.graphics.getMaxTextureSize (old function is still there, but deprecated.)
|
11 years ago |
Alex Szpakowski
|
510ed6f11e
Abstracted lua bindings for general Texture methods into wrap_Texture.cpp
|
11 years ago |
Alex Szpakowski
|
3120a0e650
Goodbye 2013, hello 2014!
|
11 years ago |
Alex Szpakowski
|
aa69a695d3
Canvases can now be used in SpriteBatches, ParticleSystems, and Meshes (resolves issue #782).
|
11 years ago |
Alex Szpakowski
|
d9da19d665
Error for misspelled / invalid window attributes in love.window.setMode (resolves issue #736)
|
11 years ago |
Alex Szpakowski
|
b556dde3cb
love.graphics.draw(image, quad, x, y, ...) now errors instead of shifting parameters if the quad argument is nil
|
12 years ago |
Alex Szpakowski
|
206e184cde
love.graphics.print's x and y arguments now default to 0 (resolves issue #638)
|
12 years ago |
Alex Szpakowski
|
fb34f5bc9e
Auto-padded NPOT images' texture coordinates are now scaled at draw time via the texture matrix (fixes auto-padded images with Meshes.) Also fixed love.graphics.newQuad.
|
12 years ago |