Commit History

Author SHA1 Message Date
  Alex Szpakowski 6dea2ab714 Clamp all color arguments to [0, 1] in cases where values outside that range don't make sense (fixed-point color values & sRGB colors). Closes issue #1315. 7 years ago
  Bart van Strien 9e4374935d Show (short) list of possible enum values when an invalid value is encountered (resolves #1318) 7 years ago
  Alex Szpakowski 90e86c329d Add love.data module. 8 years ago
  Alex Szpakowski 34ebe18f14 Use luaL_check/optinteger instead of luaL_check/optnumber when getting integer arguments to functions. Resolves issue #1251. 8 years ago
  Alex Szpakowski ac697ddb0f Clean up love’s internal Vector code a bit, and rename it to Vector2 so it’s more obvious what it is. 8 years ago
  Alex Szpakowski abb72cb813 Happy new year! 🥂 8 years ago
  Bart van Strien 24a7a3d367 Merge minor into dynamiccore2 8 years ago
  Alex Szpakowski 14aa6965b3 Added Transform objects to love.math (resolves issue #1228). 8 years ago
  Bart van Strien 5d43c9601a Automatically deduce the type in luax_pushtype, if possible 8 years ago
  Bart van Strien 7dd960619d Automatically deduce the type in luax_checktype, luax_getmodule, luax_optmodule and luax_totype 8 years ago
  Bart van Strien c761202486 Build type information on first use (load-time), instead of using a hardcoded list 8 years ago
  Alex Szpakowski ef61573cd3 Merge default into minor 9 years ago
  Alex Szpakowski 677a8d60b8 Use love::Vector (8 bytes) instead of love::Vertex (20 bytes) for love.math.triangulate and love.math.isConvex. 9 years ago
  Bart van Strien 3a2e859acd Add love.math.hash, which supports MD5/SHA-1/SHA-2. 9 years ago
  Alex Szpakowski cc1b9bc619 Moved most love.math functions out of the Math class, since they're pure functions. 9 years ago
  Alex Szpakowski 734789eb93 Added love.math.encode(format, data | string [, linelength]) and love.math.decode(format, data | string). Current formats are "base64" and "hex". The optional line length only applies to base64 and specifies the maximum number of characters per line in the encoded string. 9 years ago
  Alex Szpakowski ed933847f8 Color values in love's APIs are now in the range of [0, 1] rather than [0, 255]. 9 years ago
  Alex Szpakowski 46a2e7b85c Happy new year! 🎉 9 years ago
  Alex Szpakowski 20fb7f44df Cleaned up the code for love.math.random and related functions. 9 years ago
  Alex Szpakowski 52b1bd78f2 Implemented LuaJIT FFI versions of love.math.random and RandomGenerator:random. 9 years ago
  Alex Szpakowski 374d1ae0e1 Implemented LuaJIT FFI versions of love.math.noise, love.math.gammaToLinear, and love.math.linearToGamma. 9 years ago
  Alex Szpakowski 004ffb8819 Fixed the build. 9 years ago
  Alex Szpakowski e0dca60380 Cleaned up some code. 9 years ago
  Alex Szpakowski d587c206f0 Added a new variant love.math.decompress(data, format), where data is any Data object. 10 years ago
  Bart van Strien 3cb777e2b7 Add basic lua 5.3 support 10 years ago
  Alex Szpakowski 0f986b10aa Cleaned up some code, the 'ry' parameter of love.graphics.rectangle now defaults to the value of 'rx' rather than defaulting to 0. 10 years ago
  Alex Szpakowski a29b349014 Added love.math.compress(data, format [, level]) and love.math.decompress(compresseddata) / love.math.decompress(compressedstring, format). 10 years ago
  Alex Szpakowski 2f419c1c83 Replaced most cases of type bits and type name strings in love's Lua wrapper code with type id's. 10 years ago
  Alex Szpakowski ebc68023a7 Fix many warnings about implicit integer conversions when compiling for 64 bits. 10 years ago
  Alex Szpakowski 811f574ef6 Reference counting for love objects in 0.9.2 is now atomic (using SDL's atomic operation functions.) 10 years ago