Bart van Strien
10524be1c8
Fix toggleFullscreen
2011-01-30 00:29:08 +01:00
Bart van Strien
db1a2d12ff
Add dead key support by exposing the "unknown" key
2011-01-26 16:06:14 +01:00
vrld
1c7e34715b
Add NULL initializers for pointers.
...
Constructing invalid shapes, e.g. a rectangle with width 0, could result
in a b2Assert to fail. In turn, Shape::~Shape tried to destroy a the shape
with an uninitialized pointer, yielding a segfault. Add NULL-initializers
and checks for NULL to prevent this.
2011-01-25 13:24:39 +01:00
Bart van Strien
f7bcb3e146
Revert that last commit, the wrappers already handle the offset
...
--HG--
branch : minor
2011-01-17 11:22:59 +01:00
Bart van Strien
df50a6e4c5
Handle invalid index in love.joystick, but then 1-indexed (bug #172 )
...
--HG--
branch : minor
2011-01-17 11:10:46 +01:00
Bart van Strien
677df8d4f0
Merge 'default' into 'minor'
...
--HG--
branch : minor
2011-01-17 11:08:58 +01:00
Bart van Strien
98406370eb
Gracefully handle negative indexes in love.joystick (bug #172 )
2011-01-17 11:04:02 +01:00
Bart van Strien
6acacffb66
Threads get/set instead of send/receive (issue #166 )
...
--HG--
branch : minor
2011-01-15 22:26:16 +01:00
Bill Meltsner
fde708160e
bringing in the new year by changing every 2010 to 2011
2011-01-15 14:40:27 -06:00
Bill Meltsner
a6a1e91976
mp3s sampled at rates other than 44.1KHz will play properly now (fixes issue #170 )
2011-01-15 14:32:02 -06:00
Bill Meltsner
4479e8dfc4
removed user-specified sample rates for Decoders
2011-01-15 14:29:10 -06:00
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