Alex Szpakowski
|
970704c2b7
Added Text objects via love.graphics.newText(font [, textstring]). Reworked the internal code of Font objects to use fewer individual textures and less VRAM per object, and to be compatible with OpenGL ES. Slightly improved the performance of love.graphics.print and love.graphics.printf.
|
10 years ago |
Alex Szpakowski
|
1124612c1f
Some work towards OpenGL ES 2+ support for love 0.10.
|
10 years ago |
Alex Szpakowski
|
a7e4148869
Merged default into minor
|
10 years ago |
Alex Szpakowski
|
c7b45b3505
Updated copyright for the new year
|
10 years ago |
Alex Szpakowski
|
af0371361f
Merged default into minor
|
10 years ago |
Alex Szpakowski
|
1108dea696
Updated the error message when invalid UTF-8 strings are used in love.graphics.print and friends to mention UTF-8.
|
11 years ago |
Alex Szpakowski
|
760304e023
Fixed love.graphics.print.
|
11 years ago |
Alex Szpakowski
|
3a51f0ad08
Changed the love.graphics internal code to always use a default shader when none is set externally, and replaced the deprecated OpenGL vertex attribute code with the equivalent generic vertex attribute functions.
|
11 years ago |
Alex Szpakowski
|
71c71985d3
Merged default into minor
|
11 years ago |
Alex Szpakowski
|
8ffe610659
Added love.graphics.getStats. It returns a table with performance-related graphics statistics. Currently it contains these fields:
|
11 years ago |
Alex Szpakowski
|
53e63d48c9
Merged default into minor
|
11 years ago |
Alex Szpakowski
|
d59c76a55f
Reduced the number of explicit retain/release method calls on love objects. Less chance of bugs!
|
11 years ago |
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
|
8483ea31a1
Changed love.graphics.newImage's optional second argument to be a table of flags. Current flags are 'mipmaps' and 'srgb'.
|
11 years ago |
Alex Szpakowski
|
dc35db1c7b
Fixed tab characters (‘\t’) in text to be drawn properly with love.graphics.print.
|
11 years ago |
Alex Szpakowski
|
9b9671f5ee
Fixed a potential memory leak when a Font object errors
|
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
|
98b258b75f
Fixed font textures in OpenGL returning black RGB values when a shader is active (reverts changeset 69b0b4e)
|
11 years ago |
Alex Szpakowski
|
f3bd944cf5
Reduced the RAM and VRAM space taken up by TrueType font glyphs by 1/2.
|
11 years ago |
Alex Szpakowski
|
2ee869b0e8
Fixed some compiler warnings
|
11 years ago |
Alex Szpakowski
|
c8f5494900
Images, Canvases, Quads, and Fonts now have the same vertex winding order
|
11 years ago |
Alex Szpakowski
|
4e321697d3
Renamed Font:hasGlyph to Font:hasGlyphs, and expanded it to accept multiple arguments and full strings. Resolves issue #762.
|
11 years ago |
Alex Szpakowski
|
857296f107
Merged default into Mesh
|
12 years ago |
Alex Szpakowski
|
95eedcd1be
Using auto for some iterators for less dense-looking code
|
12 years ago |
Alex Szpakowski
|
c63e2ec624
Merged default into Mesh
|
12 years ago |
Alex Szpakowski
|
5f609c2e2b
OS X: switched to -std=c++11, fixed compilation, cleaned up obsolete files in src/platform/macosx/
|
12 years ago |
Alex Szpakowski
|
1e696c4505
Added Mesh objects and love.graphics.newMesh. Mesh objects are similar to Geometry but they're drawables (the relationship between meshes and images is the opposite of geometry and images.)
|
12 years ago |
Alex Szpakowski
|
bcee9a222b
Made some float/int/unsigned char conversions explicit, fixed ParticleSystem:getColors, fixed love.mouse.isDown with x1 and x2 buttons
|
12 years ago |
Alex Szpakowski
|
5de43a7207
The Vertex struct is now recognized as POD by C++, also fixed the name to be consistent with other love structs
|
12 years ago |