Bill Meltsner
3e67824d3b
Kill the VS 2008 project with extreme prejudice.
0.8.0
2012-04-02 16:31:32 -04:00
Bill Meltsner
cc13ce9e50
Added tag 0.8.0 for changeset 9a7f76c4a19a
2012-04-02 16:27:55 -04:00
Bill Meltsner
7b64bb8d59
Update changelog for the last time before 0.8.0.
2012-04-02 16:26:54 -04:00
rude
9b9573b2d2
Updated changes.txt with latest *exciting* developments to the Windows builds.
2012-04-01 19:36:35 +02:00
Bart van Strien
34d7c51cd0
Macro-ify msvc2010 app.rc
2012-03-22 23:18:58 +01:00
Bart van Strien
43c5576268
Remove warning in autotools and make LOVE_OLD_MODPLUG define that disables some new modplug settings
2012-03-22 17:21:28 +01:00
Bart van Strien
e40dc63042
Don't let configure check for libmng and libtiff (bug #290 )
2012-03-22 17:20:16 +01:00
vrld
340ee8442d
Fix issue #397 : printf does not center string correctly.
2012-03-22 13:11:35 +01:00
vrld
5b05e5a07a
Fix issue #396 : Make automagic check for libtool and auto(conf|tools).
2012-03-22 12:43:52 +01:00
Bart van Strien
07bd386d4e
Apply the 1-indexed joysticks patch from issue #391 .
...
Submitted by: Alexander Szpakowski
2012-03-10 14:11:20 +01:00
Bill Meltsner
322ec7bba4
Add love._os, which contains a string representing the current OS (or, at least, the OS the copy of LÖVE was compiled on).
2012-03-08 19:32:23 -05:00
vrld
39e1c59989
Actually copy existing buffer data to temporary memory region in VBO::map().
2012-03-07 23:33:27 +01:00
vrld
6dee041a9d
Throw exception when VBO cannot allocate enough memory in VBO::map().
2012-03-07 23:26:03 +01:00
vrld
3f365857ee
Replace glMapBufferARB() with temp memory + glBufferSubDataARB().
...
Instead of letting OpenGL manage the memory mapping, allocate a temporary
block of memory upon VBO:map(). Upon VBO::unmap() the block is copied to
graphics memory using glBufferSubDataARB() and then released.
Hopefully this will fix some weird error with Windows XP + old drivers, where
VBOs can be created, but the mapped memory cannot be allocated resulting in
the sprite batch drawing nothing at all.
According to the interwebs this could actually faster than using OpenGL mapped
memory, because there is no unnecessary syncing involved.
2012-03-07 23:24:29 +01:00
vrld
2b6cc4ea8c
Move VertexBuffer::Bind implementation to header to hint inlining
2012-03-07 23:01:05 +01:00
vrld
4947498488
Add VertexBuffer::Mapper for RAII vbo mapping
2012-03-07 22:59:23 +01:00
vrld
17dc8760b9
Replace VertexArray with VertexBuffer in SpriteBatch (less confusing).
2012-03-07 22:35:21 +01:00
vrld
1dd40b690b
Some idiot put a != where there should be a ==.
2012-03-05 22:14:00 +01:00
vrld
febd7757fc
Make sure all error flags are cleared before calling glBufferDataARB() in VBO::load().
2012-03-05 20:58:17 +01:00
vrld
c0ffa5b07e
Add error checking in VBO::load().
...
VertexBuffer should now be able to fall back to vertex arrays if
glBufferDataARB() fails (possible due to lack of memory).
2012-03-05 20:46:46 +01:00
Bill Meltsner
b956813e8e
Freeze, Allman police!
2012-03-03 20:41:42 -05:00
Bill Meltsner
fc6a9df304
Report lack of support for the subtract blendmode through the Blue Screen of LÖVE instead of stderr spam.
2012-03-03 20:33:55 -05:00
Bill Meltsner
ae79ed061a
Update to recommended Xcode build settings.
2012-03-03 20:24:11 -05:00
Bill Meltsner
57b4d2c5b9
Add support for falling back to glBlendEquationEXT if necessary.
...
This should help keep LÖVE from crashing on old cards with crappy drivers.
2012-03-03 19:25:42 -05:00
Bart van Strien
830283ff17
Properly catch exceptions thrown by ImageData:getPixel/setPixel, thereby preventing an uncaught exception for an invalid index. (Bug #381 )
2012-03-03 12:35:55 +01:00
Bart van Strien
66aef58075
Use a clearer error message when the raycast callback doesn't return a number (issue #356 )
2012-03-03 12:11:06 +01:00
Bart van Strien
dcb09c03a8
That was only part of the problem, now it should all work properly (and more accurately)
2012-03-03 11:42:39 +01:00
Bart van Strien
c2fb5618c1
Make love.timer.getFPS more accurate
...
Hopefully this was causing issue #377 , otherwise, it was still an improvement
2012-03-03 10:47:57 +01:00
Bill Meltsner
d69ec266be
Call PixelEffect::detach() in Graphics::reset, not Graphics::clear (fixes issue #379 )
2012-03-02 19:26:40 -05:00
Bill Meltsner
d5b89886b6
Switch back to Clang for Mac OS X compilation, and add a new legendary hack to ensure it still runs on Leopard.
2012-03-02 19:00:03 -05:00
Bill Meltsner
84634affd5
Make love.graphics.toggleFullscreen properly handle graphics state.
2012-02-29 18:55:08 -05:00
Bill Meltsner
7a43721335
Make Xcode use GCC to build LÖVE instead of Clang, to avoid some annoying linker error.
2012-02-29 18:52:52 -05:00
Bart van Strien
4ee7e780e7
Fix ImageData:paste optimization, missing dy and sy and check of sw and sh
2012-02-26 18:24:14 +01:00
Bart van Strien
0c9d8f3c41
Handle masks and categories in our contact filter
...
Turns out, setting our own contact filter bypasses the inbuilt mask and category handling,
this means, however, that masks and categories are processed before your contact filter is
called, so if you really want to do all the filtering manually, you should just make sure
you never change the default masks and category, or restore it.
2012-02-09 20:26:18 +01:00
vrld
e02a2679c2
Add love.graphics.getPixelEffect() (issue #372 ) -- thanks, slime73!
2012-02-09 13:19:52 +01:00
Bill Meltsner
57dabc9f89
Change WheelJoint:get/setSpringFrequencyHz to get/setSpringFrequency
2012-02-06 10:32:33 -05:00
Bill Meltsner
20f4e567b3
Fix Fixture:getShape(), for real this time.
...
All the Memoizer stuff was pointless: when you create a Fixture, it clones the b2Shape, so there was never going to be a memoized Shape to find. And cloning the Shape is incorrect as well, since you should able to modify the Shape retrieved through getShape and have it affect the Fixture. Everything's much simpler now.
2012-02-05 19:22:33 -05:00
Bart van Strien
6cde0169b6
Update changelog
2012-02-05 23:14:01 +01:00
Bart van Strien
2e8939febe
Add automatic seeding to love.run
2012-02-05 23:13:42 +01:00
Bart van Strien
db9e264685
Update auto.lua to bring it into the wonderful 2012
2012-02-05 23:13:18 +01:00
Bill Meltsner
9e884c6b0f
Remove a stray .orig reference from the Xcode project
2012-02-05 08:22:00 -05:00
Bill Meltsner
31a85e81a2
Properly convert the anchor points for RopeJoints to local coordinates
2012-02-04 19:53:29 -05:00
Bill Meltsner
f67d454aa3
Fix off-by-one error in Fixture:getBits
2012-02-04 19:45:38 -05:00
Bill Meltsner
ddb1492c1f
bounds check ChainShape:getPoint, and make functions that take indices 1-indexed on the Lua end of things
2012-02-04 19:38:11 -05:00
Bill Meltsner
83f7002f67
Remove the unnecessary transform arguments to Fixture:rayCast that some idiot blindly copy/pasted from Shape:rayCast
2012-02-04 19:16:27 -05:00
Bill Meltsner
fae16c712d
make Body::applyForce(fx, fy) semantically clearer
2012-02-04 19:09:20 -05:00
Bill Meltsner
4aa3939311
Actually register Box2D worlds as contact filters
2012-02-04 19:07:24 -05:00
Bill Meltsner
2a88ed1fa5
Fix issues with Shape retention in Fixture:getShape()
2012-02-04 18:55:48 -05:00
Bill Meltsner
e5cabe3b3f
Remove Shape:destroy().
...
With the changes to Shapes rendering them mere blocks of information with no role in the World save being attached to Bodies and discarded, Shape:destroy no longer has any justification for its continued existence. Truly, on several levels, it has been hoist with its own petard.
2012-02-04 18:35:30 -05:00
Bill Meltsner
dac757b688
remove scaling for density.
...
while technically density is (according to the Box2D docs) in kg/m^2, it seems like a number that can be safely left un-scaled, for simplicity's sake; the concept of a shape/fixture's density seems sufficiently divorced from the MKS system as to render this a non-issue. if this proves to be a problem in use, scaling can be re-added.
2012-02-04 18:26:43 -05:00