Commit Graph

1233 Commits

Author SHA1 Message Date
Bill Meltsner 223f9eebef Provide a default density of 1.0 for Fixtures 2012-02-04 17:21:42 -05:00
Bill Meltsner e482f32da3 Allow vertices in either clockwise or counter-clockwise order for newPolygonShape (fixes issue #326) 2012-02-04 17:18:57 -05:00
Bill Meltsner f00b5f03f2 catch a possible Box2D exception in setMassData (fixes issue #342) 2012-02-04 16:55:09 -05:00
Bill Meltsner 86abc9323b Add ParticleSystem:getPosition (issue #368) 2012-02-04 11:31:07 -05:00
Bart van Strien 9a301dee81 Added the new OpenGL.{h,cpp} files to the msvc2010 project 2012-02-01 10:43:59 +01:00
Bill Meltsner 8f781e9f13 Add "combine" color mode, for colorizing images (see https://love2d.org/forums/viewtopic.php?f=4&t=7648 ) 2012-01-26 15:00:40 -05:00
Bill Meltsner a0be14869f Fix state saving to handle any blend/colormode 2012-01-26 14:46:59 -05:00
Bill Meltsner ecb2e566f3 Add the new OpenGL.{cpp,h} files to the Xcode project so it builds again 2012-01-26 10:20:11 -05:00
Bart van Strien 386dd53780 Make VertexBuffers use size_t, raising the limit of vertices that can be stored
This means more sprites in SpriteBatches, yay!
2012-01-24 23:02:35 +01:00
Bart van Strien a67b5b501f Fix a leak on destruction of a physics world 2012-01-24 23:00:18 +01:00
vrld 94bd960cc7 Fix number of arguments check in w_ParticleSystem_setSizes. 2012-01-20 14:07:22 +01:00
vrld 3904e49c75 Check argument sanity in w_ParticleSystem_setColors. 2012-01-19 14:59:36 +01:00
vrld 1a9eafb76a Fix buffer over-read in draw_overdraw() (thanks, Boolsheet!). 2012-01-15 14:36:51 +01:00
Bart van Strien f6e9f4cac7 Stop Body:getWorldPoints from overflowing the lua stack 2012-01-15 11:09:38 +01:00
Bart van Strien e57e9efe0e Improve love.filesystem.lines 2012-01-14 18:18:18 +01:00
Bart van Strien d525349549 Fix usage of a string past its lifetime, and set a default type for encode 2012-01-12 11:30:09 +01:00
Bart van Strien 9dc4138366 Fix a comment 2012-01-12 11:26:22 +01:00
Bart van Strien fbfd20a142 Move the references from _G to the registry 2012-01-12 11:24:05 +01:00
Bart van Strien 9bf6f43a4e Adding the files is a crucial step, you know
And I so blame slime73 for his incorrect diff
2012-01-10 15:39:44 +01:00
Bart van Strien 2549d84ec8 Merged in thelinx/love (Body:setMass) 2012-01-10 15:38:26 +01:00
Bart van Strien 2ac4a9e6d0 Manually keep track of bound textures, so we don't have to poll each frame
Patch submitted by slime73.
2012-01-10 15:36:18 +01:00
Bart van Strien 51d4553b7d Fix love.event.push/quit issues 2012-01-10 11:23:50 +01:00
Linus Sjögren 7f13fc47c7 Damn you, copy paste! 2012-01-10 04:24:13 +01:00
Linus Sjögren afd0ef1d9e Add a custom Body:setMass function. 2012-01-10 04:14:17 +01:00
Bill Meltsner be55579a22 Happy New Year, have an enormous diff 2012-01-09 02:41:11 -06:00
Bill Meltsner 21516fc658 Add padding around every glyph in a Font texture, fixing the fringing seen with scaled text (actually fixes issue #321) 2012-01-08 20:59:52 -06:00
Bill Meltsner 2077408351 Add Audio.cpp to Xcode project 2012-01-08 20:18:45 -06:00
Bill Meltsner 4c5d11d582 Backout changeset e90d89c7b9712297c14ba73eda37ec28f25101f9 2012-01-08 20:14:27 -06:00
Bart van Strien 5fa0a4cfa3 Drastically improve the font scaling quality (issue #321)
Note that it isn't perfect yet, but a lot better.
2012-01-08 14:11:40 +01:00
Bart van Strien 1509403ca7 Add SpriteBatch:getImage (issue #321) 2012-01-08 13:46:01 +01:00
Bart van Strien 7c1e1fd0db Return nil if the raycasts don't hit anything (issue #335) 2012-01-08 13:27:10 +01:00
Bart van Strien c1f68e058d Use Box2D's callbacks for destruction of physics objects and wait until the end of the timestep before destroying them.
Merge of box2d-id2 from love-experiments
2012-01-08 13:16:50 +01:00
Bart van Strien 9629e5b233 Update changelog 2012-01-08 12:35:14 +01:00
Bart van Strien e0b420c988 Properly export love modules to lua, package.loaded is correct now 2012-01-07 14:08:41 +01:00
Bart van Strien 870973197c Only bind images when they weren't (issue #353) 2012-01-07 11:37:50 +01:00
Bart van Strien c78c6801e9 Formatting fix 2012-01-06 17:08:52 +01:00
Bart van Strien f58f80397e Fix fsaa crash on OSX, can't enable multisampling before a window is created (bug #350) 2012-01-06 17:04:48 +01:00
vrld d218291473 Fix issue #348 - strict mode. Use setCanvas instead of setRenderTarget in
love.releaseerrhand.
2012-01-04 14:01:14 +01:00
rude e7dd3f7f13 Added Boolsheet's improved app.rc file (UTF-16LE). 2012-01-04 10:25:39 +01:00
Bart van Strien ee231e7b4c Fix DistanceModel enum conversion 2011-12-31 18:40:54 +01:00
Bart van Strien ca279b6d87 Update changelog 2011-12-31 16:47:30 +01:00
Bart van Strien 7bd08ad72d Dramatically speed up ImageData:paste (issue #336) 2011-12-31 16:34:34 +01:00
Bart van Strien 3a9c71ad8f Check if enum-string conversions succeed in love.audio.get/setDistanceModel (bug #347) 2011-12-31 15:54:11 +01:00
vrld 751d7aa368 Leaner source distance model API. 2011-12-30 15:03:50 +01:00
vrld 9c9b1810b7 Decrese core-line width when overdrawing to preserve original line width. 2011-12-30 14:09:26 +01:00
vrld 3b01da803e Merge pull request 2 by Bloutiouf: Sound attenuation by distanceSound
attenuation by distance.

Adds:
love.audio.[gs]etDistanceModel(model-identifier)
Source:[gs]etMinVolume(min-volume)
Source:[gs]etMaxVolume(max-volume)
Source:[gs]etDistance(reference, max)
Source:[gs]etRolloffFactor(rolloff)

Valid Distance models:
"none", "inverse", "inverse clamped", "linear", "linear clamped", "exponent",
"exponent clamped"

Suggestion:
Merge Source:setMinVolume, Source:setMinVolume and Source:setVolume. May be
confusing for lovers though.

May have broken platform/msvc2010/love.vcxproj.filters (had to be modified by
hand without really knowing what I am doing).
2011-12-29 22:45:51 +01:00
vrld 6178aea6ef Discard active stencil when switching canvas. 2011-12-29 15:27:04 +01:00
vrld b0fbff108c Better line smoothing.
- Overdraw now uses only one array buffer.
- Line endings are overdrawn if the line is not closed.
- Includes more magic.
2011-12-29 15:16:53 +01:00
Bart van Strien ae833449d4 Move some includes over to the right file, fixing an include loop in the process 2011-12-29 13:47:39 +01:00
Bart van Strien 5ad9821290 ASSERT_GUARD raycasts 2011-12-29 13:37:42 +01:00