Commit Graph

1678 Commits

Author SHA1 Message Date
vrld 0af7e9e0d8 Fix issue #169 by courtesy of lukaszbruun.
Calling Source::stop() in Source::~Source() could result in a infinite
recursion when Pool::removeSource released the source object.
2011-01-12 22:55:29 +01:00
rude 9d108d2bde Added missing lua_strlen to ThreadVariant construction. MSVC coerced the 'const char*'-argument into the bool version of the constructor, causing the wrong function to be called. 2011-01-09 16:36:13 +01:00
rude 31c9995082 Fixed some type conversion warnings in VC. Mostly float <-> int and bool <-> int. 2011-01-09 16:28:30 +01:00
vrld c5eb50d0d5 Fix issue #158 by forcing the image origin to be upper left. 2011-01-09 18:24:02 +01:00
vrld b9b2c4a962 Rewrite Graphics::printf, fixes issue #107
Rewrote the complete logic to not operate on chars, but on lines and
tokens. Uses std streams, iterators and algorithms.
2011-01-09 16:27:19 +01:00
Bill Meltsner 938f395a51 Fixed a bug with ImageFonts and chars > 127 2011-01-08 20:56:30 -06:00
Bart van Strien dcf3dd85fa Merge... 2011-01-09 01:19:33 +01:00
Bart van Strien 571e401605 Changed int64_t to PHYSFS_sint64.
Because apparently some strange compilers can't do int64_t...
Oh, and I forgot to include the header, but that is totally unrelated, I promise!
2011-01-09 01:17:05 +01:00
vrld 3587cd4320 Fix issue #165 and part of #129 2011-01-07 14:42:51 +01:00
vrld e3067ff33d Fix issue #136 - Filter for Imagefonts. 2011-01-07 14:08:10 +01:00
Bart van Strien aa7ec54121 Add love.filesystem.getLastModified (issue #163) 2011-01-06 22:54:51 +01:00
Bart van Strien 675e91dbc8 Make love.joystick 1-indexed
--HG--
branch : minor
2011-01-04 01:09:32 +01:00
Bart van Strien 089da5b08d More race conditions, what fun 2011-01-03 22:19:24 +01:00
vrld 28df1edf03 Code cleanup: remove unnecessary `print' routines 2011-01-02 22:58:53 +01:00
vrld 9dad948263 Add framebuffer filter modes (issue #112) 2011-01-01 19:42:59 +01:00
Bart van Strien ece02577a5 More race conditions (bug #131) 2010-12-31 11:37:50 +01:00
Bart van Strien cfeb01db42 Prevent race condition in thread:receive (bug #131) 2010-12-31 00:44:32 +01:00
Bart van Strien 54cfb3738f Applied itsnotabigtruck's fbo patch (issue #133) 2010-12-27 14:38:33 +01:00
Bart van Strien c4fe77694b Applied (and fixed) vrld's thread patch 2010-12-27 14:34:43 +01:00
Bart van Strien e840a8f96c Another embedded zero issue in threads (isue #128) 2010-12-20 19:08:29 +01:00
Bart van Strien 36226401bf Store and restore caption and mouse visibility when using setMode (bug #142) 2010-12-20 17:38:26 +01:00
Bart van Strien 2131e016e7 Merge.. 2010-12-19 12:31:31 +01:00
Bart van Strien 9856fbc705 Add source:isPaused() (enhancement #141) 2010-12-19 12:30:59 +01:00
Bart van Strien c0789b1da3 Remove references to old physics callbacks, fixes #139 2010-12-18 12:38:29 +01:00
Bart van Strien cb1efac715 Wrappers now catch negative width or height in setScissor (bug #125) 2010-12-07 19:52:35 +01:00
Bart van Strien 11ab5600d3 Correctly handle embedded zeros in thread names and ThreadVariants (bug #128) 2010-12-07 19:37:59 +01:00
Bart van Strien 9b7df91797 Added ?/init.lua to the love loader (issue #116) 2010-11-28 11:39:55 +01:00
Bart van Strien f4da97d46e Add hasFocus (issue #117) 2010-11-28 11:29:48 +01:00
Bart van Strien cee1a95b82 Table support for setBackgroundColor (bug #113) 2010-11-28 11:21:26 +01:00
Bill Meltsner d131c0c883 love.graphics.newFont now errors if the specified file doesn't exist (fixes #115) 2010-11-28 04:16:37 -06:00
rude d884cb8a82 Removed newWorld(w, h). Added newWorld(x1, y1, x2, y2). 2010-11-25 16:49:03 +01:00
rude 6aa8399aa8 Made love.vcproj buildable again. 2010-11-25 15:13:08 +01:00
Bill Meltsner fade6f0cbc Fixed Framebuffers scaling their contents when not sized identically to the main window 2010-11-18 02:40:07 -05:00
Bart van Strien a47fa1462d Added table support for love.graphics.setColor (issue #106) 2010-11-16 20:47:28 +01:00
Bill Meltsner 6bfb05359b Framebuffer needs cstring (fixes #108) 2010-11-12 08:38:41 -05:00
Bill Meltsner 77e5b7f880 moved the FramebufferStrategy structs back to Framebuffer.cpp 2010-11-11 13:17:41 -05:00
Bill Meltsner 417c20e6fa upgraded Mac freetype to 2.4.3, now using a custom freetype framework that's set up much more nicely (and is actually slightly smaller!) 2010-11-10 22:27:57 -05:00
Bill Meltsner ba44886cf4 Cleaned up love.graphics.Framebuffer code, using GLee to check for support instead 2010-11-10 16:57:41 -05:00
Bill Meltsner 500e0f1417 image fonts now print from the upper left like truetype fonts do (fixes #100) 2010-11-09 19:29:00 -05:00
Bill Meltsner 54f7a83662 made truetype fonts use luminance-alpha format for their data instead of rgba (thus halving their memory requirements) 2010-11-09 19:10:04 -05:00
Bill Meltsner 37baf32374 changed LUMINOSITY_ALPHA to LUMINANCE_ALPHA (more consistent with opengl's phrasing) 2010-11-09 19:07:51 -05:00
Bill Meltsner 3cb3537db0 Added vrld's text-rotation-fixing patch (finally fixes #56) 2010-11-09 18:56:34 -05:00
Bart van Strien 0aa4c36950 Last fix for proposal #105 and added it to changes.txt 2010-11-07 14:13:53 +01:00
Bart van Strien 9bf63b8607 Proposal #105 done + fixed warning in filesystem code 2010-11-07 13:51:51 +01:00
Bart van Strien ba74763c2f Removed thelinx' debug 2010-11-07 00:54:15 +01:00
Bart van Strien e3a5a6cd9f Import thelinx' freedesktop patch as in bug #105 2010-11-07 00:43:26 +01:00
Bill Meltsner 9c4f04cc5c missed a line of audio capture code (fixes #96) 2010-10-23 14:09:17 -04:00
Bart van Strien 8ae53765c7 Images are now bound before they are encoded (fixes #95) 2010-10-23 18:24:52 +02:00
Bart van Strien 8a7e2a0629 Thread wrapper checks for failed thread creation. (fixes #90) 2010-10-23 18:16:20 +02:00
Bill Meltsner 9a76ac7bea You can no longer access out-of-range pixels in ImageData 2010-10-19 17:15:27 -04:00