Bill Meltsner
c981d835d3
Cleaned up/updated love.graphics doc comments.
2011-06-03 16:43:33 -05:00
vrld
30d6968ef9
Rename 'defineMask' to 'newMask'. Add inverted mask (issue #226 ).
2011-05-30 14:45:33 +02:00
Bart van Strien
480568e654
Fix quads with padded images, tiling will still fail
2011-05-16 17:12:37 +02:00
Bart van Strien
87fd3362e2
Mixed up s and t, po2ify should work correctly now, quads still broken
2011-05-16 17:02:43 +02:00
Bart van Strien
360c190ef7
Move po2ifying to Image, Quads broken at the moment
2011-05-15 23:31:12 +02:00
Bart van Strien
1a340cd6a0
Do not wrap when a single word is longer than the wrap limit.
...
(So no extra, empty, newline.)
2011-05-14 23:02:52 +02:00
Bill Meltsner
a763fc8863
some more cleanup
2011-05-08 18:50:01 -04:00
Bart van Strien
4fd9888a16
Merge in minor branch, now minor is our next development target
2011-05-07 14:12:41 +02:00
José Romero
dc2d87a90f
Apply patch for issue #219
2011-04-27 16:35:14 +02:00
vrld
a18632ce2d
Change Graphics::reset() to unbind FBO and clear stencil buffer. Change error
...
screen to call love.graphics.reset() instead of individual resets.
--HG--
branch : minor
2011-04-26 23:20:58 +02:00
vrld
939041886c
Add masking (see issue #211 ). Only "hard" masks are supported, no
...
semitransparent ones.
--HG--
branch : minor
2011-04-26 22:10:34 +02:00
vrld
1b8b144bc8
Fix polygon drawing: index of coordinates was off by one.
...
--HG--
branch : minor
2011-04-25 23:45:15 +02:00
vrld
2425ea9979
Change particle system to accept an arbitrary number of colors and sizes to inerpolate.
...
API changes:
- ParticleSystem:setSize(min, max, var) -> ParticleSystem:setSizes(s0, ..., sN)
!! ParticleSystem:setSize() drops variation parameter !!
- ParticleSystem:setColor([color1], [color2]) -> ParticleSystem:setColor([color1], ..., [colorN])
--HG--
branch : minor
2011-04-06 21:24:09 +02:00
vrld
aa5eb4380d
Add Color class.
...
--HG--
branch : minor
2011-04-06 21:20:32 +02:00
vrld
678f6fdadf
Fix getBlendMode() to detect subtractive and multiplicative blend modes.
2011-04-03 16:54:18 +02:00
rude
9ba2c4eb1d
Fixed MSVC2010 compiler errors (ambiguous use of ::fmod).
...
--HG--
branch : minor
2011-03-26 17:10:41 +01:00
rude
3fe9b2ff16
Reverted module selection feature. This is not really desired.
...
Users (or lovers) do not get to choose which implementation of
a module they would like to use.
The abstraction is for dealing with portability issues, not
for giving people the ability to choose an alternative
(inferior) backend. The best choice for any platform/situation
should at all times be the *default* for that platform/situation.
If this is not the case; it's a bug (that is easily fixed).
Any module should provide the functionality promised in the docs.
The lover (or user) should not care how, and if [s]he does, [s]he
does still not get to choose.
Also, a related note: duplication of wrapper code is something I
especially wanted to avoid when I first (or should I say ...
"eventually") formed the current architecture.
--HG--
branch : minor
2011-03-26 17:06:05 +01:00
vrld
2a42c64a35
Replace line drawing via GL_LINE with custom line drawing (issue #153 )
...
Allows for correctly scaleable lines, (very) big line widths. Corners in
rectangles/triangles/... join up nicely (issue #197 ).
--HG--
branch : minor
2011-03-22 01:08:31 +01:00
Bill Meltsner
9251c2b4b1
handle love.graphics.arc being passed identical angles
...
--HG--
branch : minor
2011-03-19 10:13:11 -04:00
Bill Meltsner
33a2110b00
added love.graphics.arc
...
--HG--
branch : minor
2011-03-17 20:50:27 -04:00
Bart van Strien
b4139ffab5
Rename loaders to fit their locations
...
--HG--
branch : minor
2011-03-13 20:25:35 +01:00
Bill Meltsner
a1dc0e5c8e
fixed framebuffers being filled with garbage when created
...
--HG--
branch : minor
2011-03-12 10:11:37 -05:00
Bill Meltsner
e6bf34431c
merge default into minor
...
--HG--
branch : minor
2011-03-12 09:58:40 -05:00
vrld
19e4dea8e8
Add framebuffer:clear(r,g,b,a) (issue #134 ).
...
--HG--
branch : minor
2011-03-12 15:43:00 +01:00
vrld
141d4d5eee
Turn of auto color clearing in Framebuffer::startGrab().
...
--HG--
branch : minor
2011-03-12 14:36:50 +01:00
vrld
61bf387bf9
Change love.graphics.setBackgroundColor() to accept alpha values.
...
--HG--
branch : minor
2011-03-12 14:35:58 +01:00
vrld
140fbfb61c
Merge Framebuffer changes
2011-03-12 14:30:21 +01:00
vrld
4cf2d0dc99
Merge...
...
--HG--
branch : minor
2011-03-12 14:29:24 +01:00
Bill Meltsner
45b8ba7ae3
fixed ParticleSystem:setSize() looking at the wrong argument for size variation
2011-03-11 01:44:01 -05:00
Bill Meltsner
79fd4aa180
fixing font-related segfault bug, thanks to itsnotabigtruck
...
--HG--
branch : minor
2011-03-10 19:05:05 -05:00
vrld
40ab19d91a
Merge Framebuffer:set/getWrap to minor
...
--HG--
branch : minor
2011-03-10 14:16:36 +01:00
vrld
75d03505ab
Expose Framebuffer:set/getWrap to Lua
2011-03-10 14:16:01 +01:00
vrld
a88c4c6a79
Add get/setWrap to Framebuffer (issue #192 ).
2011-03-10 13:41:25 +01:00
rude
2546f27b07
Merge default into minor.
...
--HG--
branch : minor
2011-03-09 12:39:21 +01:00
rude
10a1602840
Silence int -> float warnings on Windows.
2011-03-09 11:11:21 +01:00
rude
6a2423f104
windows.h #defines min/max by default, causing problems with std::[min, max].
...
--HG--
branch : minor
2011-03-09 11:01:40 +01:00
Bill Meltsner
6e2da1f26d
added the UTF8-CPP library for unicode support, and added unicode printing support.
...
--HG--
branch : minor
2011-03-06 20:03:46 -05:00
Bart van Strien
2115cf19b9
Fixed a couple of compiler warnings in minor branch
...
--HG--
branch : minor
2011-03-06 17:09:38 +01:00
Bill Meltsner
cbff71d089
New font engine is implemented and appears to work perfectly. Bugs may be discovered and the internals can certainly be optimized and improved (at some point, perhaps, a less naive packing algorithm would be nice) but for now, it's good to go.
...
--HG--
branch : newfont
2011-03-06 05:02:35 -05:00
Bill Meltsner
9d38cba626
brutally murdered padding and predefined glyph loading
...
--HG--
branch : newfont
2011-03-05 23:37:36 -05:00
Bill Meltsner
94b4319878
trashed old unnecessary font stuff - compiles, but obviously will not work yet
...
--HG--
branch : newfont
2011-03-05 23:17:36 -05:00
vrld
a13b792a5c
Revert to last commit, as msvc is stuck in the last millenium
2011-02-22 11:15:27 +01:00
vrld
08259a4a0e
Change auto.lua to create plaintext instead of hex code.
2011-02-20 23:34:48 +01:00
Bill Meltsner
e3e4ae17d8
love.graphics.setFont no longer explodes when passed a nonexistent file (fixes issue #177 )
2011-02-02 21:07:21 -05:00
vrld
64b6232c9a
Reinitialize event system (via SDL_INIT_VIDEO) in Graphics::setMode().
2011-01-31 20:27:42 +01:00
vrld
d25a3a36ce
Revert reverting 8d29d4ca285e.
2011-01-30 16:25:55 +01:00
vrld
e7db8c2491
Fix issue #176 : unexpected behaivior of love.graphics.line with hash-table argument.
2011-01-30 16:20:31 +01:00
Bart van Strien
04aa189d22
Didn't compile, totally my fault
2011-01-30 00:34:28 +01:00
Bart van Strien
10524be1c8
Fix toggleFullscreen
2011-01-30 00:29:08 +01:00
Bill Meltsner
fde708160e
bringing in the new year by changing every 2010 to 2011
2011-01-15 14:40:27 -06:00