Bart van Strien
efb8efb45e
Prevent overflows and underflows in love.graphics.push and love.graphics.pop (bug #118 )
...
Maximum is hardware maximum - 5, so the engine itself has a few matrices.
2011-06-08 22:45:28 +02:00
Bart van Strien
6e28c49a20
Map box2d asserts to love::Exception and catch them in constructors
...
Should be added to other functions commonly failing sometime.
2011-06-08 21:44:21 +02:00
Bart van Strien
3460bf918c
Enabled headless build in autotools
2011-06-08 17:14:41 +02:00
Przemysław Grzywacz
1d5fca6f46
Multiple thread backends.
2011-06-08 16:54:35 +02:00
Bill Meltsner
09ed781f66
tabs for indentation, not spaces (dammit Xcode)
2011-06-03 17:04:35 -05:00
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
Bill Meltsner
42fd4fa9c4
Merge
2011-05-28 22:00:05 -05:00
Bart van Strien
7b8df4431a
Use proper chunk names, so tracebacks show filenames.
2011-05-27 16:59:46 +02:00
Bill Meltsner
be5cb1696b
fix an "unused parameter" compiler warning
2011-05-16 12:11:20 -05: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
Bill Meltsner
2e9e5a1502
make po2 stuff better
2011-05-15 16:33:38 -04:00
Bart van Strien
af809ab210
Switch to bitwise ops to po2ify
2011-05-15 22:10:17 +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
Bart van Strien
cf60754ef0
Make love.image automatically pad ImageData (and thus all images) to PO2.
...
Two notes:
- I don't think I ever clear the textures, so are they only transparent by coincidence?
- Maybe it's best if we surround the actually po2-ifying with ifs if we ever find a way to test if it's needed.
2011-05-13 15:55:41 +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
Bart van Strien
316ca607df
Oops
2011-04-23 19:18:05 +02:00
Bart van Strien
d60ad99da1
Prevent old DevIL errors from causing love errors
2011-04-23 19:16:17 +02:00
Bart van Strien
bf9ad64559
Prevent negative joystick button indices from being used by isDown. (as mentioned in issue #121 )
2011-04-23 19:12:52 +02:00
Bart van Strien
cdf85280b6
Fix 2 compiler warnings
2011-04-08 09:12:30 +02:00
Bart van Strien
d55941f7fa
No more crashes when there is no memory for newImageData (issue #209 )
2011-04-07 19:22:55 +02:00
Bart van Strien
529530c198
love.joystick.isDown gets multiple arguments too
2011-04-07 19:06:36 +02:00
rude
fe6d168bf1
Enable mStereoSeparation/mMaxMixChannels settings in Windows.
2011-04-07 18:16:44 +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
Bart van Strien
4f6acb5f48
Make love.mouse.isDown accept a list too
...
Credits go to Boolsheet for making this patch (imported unmodified!)
2011-04-05 22:13:11 +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
37560e36c3
Source:seek didn't work properly for streaming sources, fixed that
...
--HG--
branch : minor
2011-03-21 14:07:51 -05:00
Bill Meltsner
1de511e3b9
seeking was broken in Mpg123Decoder
...
--HG--
branch : minor
2011-03-21 14:07:29 -05:00
Bill Meltsner
2faf8aa442
Source:tell actually works now
...
--HG--
branch : minor
2011-03-20 00:54:34 -05:00
Bill Meltsner
cee7a4ccdb
Removed EncodedImageData, added three new encoded image formats, and changed the way screenshots work - saving screenshots will be broken until we have some way of flipping ImageData, though
...
--HG--
branch : minor
2011-03-19 23:41:07 -05:00
Bill Meltsner
8de9499979
added Source:seek/tell
...
--HG--
branch : minor
2011-03-19 20:21:40 -05:00
Bill Meltsner
803306270e
Fix a memory leak
2011-03-19 10:20:29 -04:00
Bill Meltsner
9251c2b4b1
handle love.graphics.arc being passed identical angles
...
--HG--
branch : minor
2011-03-19 10:13:11 -04:00
Bart van Strien
766c863484
Make isDown accept a list of keys (issue #121 )
2011-03-19 12:47:39 +01:00
Bill Meltsner
33a2110b00
added love.graphics.arc
...
--HG--
branch : minor
2011-03-17 20:50:27 -04:00
rude
20364c67bd
Added love.event.clear, because why not. (Issue #202 ).
2011-03-16 23:23:20 +01:00
Bart van Strien
526058c707
Added love.audio.null loader
...
--HG--
branch : minor
2011-03-13 20:31:19 +01:00
Bart van Strien
b4139ffab5
Rename loaders to fit their locations
...
--HG--
branch : minor
2011-03-13 20:25:35 +01:00
Bart van Strien
254bd29244
Move luaopen_love_audio to love.audio.openal
...
--HG--
branch : minor
2011-03-13 20:17:31 +01:00