Commit Graph

420 Commits

Author SHA1 Message Date
Bart van Strien fe373075a4 Thread now has access to mutex and cond as well, fixes bug where errors wouldn't get picked up 2010-09-20 00:56:37 +02:00
rude 8515ee675d Too careless while resolving conflicts in boot.lua. 2010-09-19 13:51:29 +02:00
rude d27dd8b5dd Added base64 support for FileData, and inlined all resources in boot.lua/graphics.lua as base64. Also removed old reshax stuff. 2010-09-19 13:22:10 +02:00
Bill Meltsner 6492888c31 updated no game screen 2010-09-18 14:40:17 -04:00
Bart van Strien 7e318cc9b2 Let's hope I finally smashed those mem leaks 2010-09-18 20:22:29 +02:00
Bart van Strien 2b273c0081 Hopefully fixed more memory leakage in fonts 2010-09-18 10:07:52 +02:00
Bart van Strien c96ade1cf0 Prevented a memory leak in the setFont wrapper 2010-09-15 21:10:46 +02:00
Bill Meltsner 708f4f92ae updated version stuff 2010-09-14 15:42:46 -04:00
rude 1eca14ed9e Fixed artifacts exposed (not really caused) by a0d18b527fb1. GL_CLAMP is deprecated in OpenGL ES. Image::Filter and Image::Wrap did not have reasonable default. 2010-09-14 20:41:14 +02:00
rude 5fcdb687d4 AAAargh. Disabled FLAC code, which isn't really used now anyway. 2010-09-05 16:37:56 +02:00
rude 8c721ceb6a Some small fixes to make LOVE compilable in MSVC2010. 2010-09-05 12:05:05 +02:00
Bart van Strien 2107f6810b Fixed memory leak in EncodedImageData, thanks Michael R 2010-09-07 17:16:58 +02:00
Bart van Strien fe60afda0e Moved volume change in modplug decoder to after check if file has been loaded, thanks Michael R (fixes #60) 2010-09-06 07:53:30 +02:00
Bart van Strien 26d856a9ce Merged in fbos 2010-09-04 16:53:19 +02:00
Bart van Strien 639eca997d Fixed two cases of inefficient usage of the lua api 2010-09-03 15:30:13 +02:00
vrld 08c06f0fe0 Allow zero arguments in love.graphics.setRenderTarget(), update boot.lua.h
Calling love.graphics.setRenderTarget() as opposed to
love.graphics.setRenderTarget( nil ) was an error before. fixed.
2010-09-03 14:53:37 +02:00
vrld 9afc5dfb08 On Error, switch to default framebuffer before showing bluescreen.
Bluescreens might not be shown if the error happens with a render target
different from the default framebuffer, because it gets rendered to
the attached framebuffer object. Fix that.
2010-09-03 14:46:01 +02:00
vrld 78a793e08f Add default width/height to love.graphics.newFramebuffer 2010-09-03 14:28:57 +02:00
Bill Meltsner fd1294de24 hid audio recording from Lua 2010-09-02 18:25:28 -04:00
Bart van Strien 08c0a68784 FINALLY THE AUDIO BUG HAS BEEN FIXED (fixes #5) 2010-09-02 17:21:09 +02:00
Bill Meltsner 769842ce6e made Framebuffer Volatile and fixed a few bugs 2010-08-28 13:02:28 -05:00
Bill Meltsner 046f2a3084 Fixed some bugs with font drawing and reverted the display list change - it was causing problems with multiple fonts 2010-08-28 11:42:37 -05:00
Bart van Strien 9ba06d65f6 Added subtractive and multiplicative blend modes (thanks vrld) 2010-08-28 17:27:35 +02:00
Bart van Strien 4bfd5a905b setMode now accepts 0, 0 as width and height for screen width and height 2010-08-28 17:03:21 +02:00
Bart van Strien 9a86aab97d Added body.getAllowSleeping, resolves #52 2010-08-27 22:19:16 +02:00
Bill Meltsner 944a1a6e8b SpriteBatches are now affected by love.graphics.setColor() 2010-08-27 08:52:14 -05:00
vrld 9dd4be5e31 Issue #4: Now really clearing with 0 alpha 2010-08-27 14:38:36 +02:00
vrld ce6ca185f1 Issue #5: Add Framebuffer:getImageData() 2010-08-27 14:14:22 +02:00
vrld f9f7e83f0e Issue #7: Use GL_EXT_framebuffer_object when OpenGL version < 3.0
Add runtime check of OpenGL version and extensions.
If OpenGL version >= 3.0, use core functions.
Else check for framebuffer object extension and use EXT functions.
If none of the above, do nothing but return GL_FRAMEBUFFER_COMPLETE.
2010-08-27 13:51:11 +02:00
vrld 5ae3573c32 Merge error message changes 2010-08-26 21:02:50 +02:00
vrld 320ac05fd1 Fix of http://bitbucket.org/bartbes/love-fbo/issue/7
Move fbo:grab() to love.graphics.setRenderTarget( fbo )
Move fbo:stop() to love.graphics.setRenderTarget( nil )

Rename fbo:render( func ) to fbo:renderTo( func )
2010-08-26 20:44:30 +02:00
Bill Meltsner e937ab2d68 fixed gcc warnings with regard to initialization order in GlyphData 2010-08-26 10:36:07 -05:00
Bart van Strien b3799b52e6 Fixed anjo's freeing issues & hopefully padding works 2010-08-26 17:25:34 +02:00
vrld 9dea5e638f More descriptive error messages 2010-08-26 13:02:41 +02:00
Bill Meltsner 6c456ea93b fixed scalar vs. vector delete issue in GlyphData::pad 2010-08-25 17:54:19 -05:00
vrld 98feae1950 Fix error messages on multiple Frambuffer:grab()/stop() 2010-08-25 17:38:06 +02:00
vrld f97d087158 Framebuffer status handling
Remove Framebuffer::statusCode() and Framebuffer::statusMessage().
Introduce Framebuffer:getStatus() returning the value of
glCheckFramebufferStatus().

Test if creation was successful in w_newFramebuffer(L), on failure throw
useful error message.
2010-08-25 17:28:51 +02:00
Bill Meltsner 2cc3fb4715 Fonts now handle resolution changes properly 2010-08-24 14:12:12 -05:00
Bill Meltsner 5a3b9691e5 tweaked drawing a bit more for efficiency's sake 2010-08-23 21:59:50 -05:00
Bill Meltsner 34ac035c1b converted Font drawing to use display lists - should increase draw speed 2010-08-23 21:24:16 -05:00
Bill Meltsner c06d5c3263 hopefully padded fonts so that people with crappy graphics cards can still see them - this needs testing, though 2010-08-19 13:41:19 -05:00
Bill Meltsner 6f90a33e17 Exposed Source:setPosition and its brethren 2010-08-19 09:08:36 -05:00
Bill Meltsner 7611edd9ee DistanceJoint:getType now returns "distance" instead of "circle" 2010-08-19 01:05:51 -05:00
vrld ce0006d04c Add guards to prevent fbo nesting 2010-08-13 21:04:32 +02:00
vrld 35093a5c45 Change bind/unbind to grab/stop 2010-08-13 18:50:00 +02:00
Bart van Strien 6400273a73 File moves 2010-08-13 13:35:42 +02:00
Bart van Strien 9d35792fe5 Did the name change 2010-08-13 13:33:13 +02:00
Matthias Richter b734a39f4d Add color clearing on Fb::bind() (see love issue #17, comment #5) 2010-08-11 21:10:31 +02:00
Matthias Richter e5c2f063e8 Add human readable error strings when creating the Fbo failed 2010-08-11 20:29:47 +02:00
Bart van Strien f87738edb5 Added first review of vrld's FBO patch 2010-08-10 19:05:56 +02:00