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 |
Alex Szpakowski
|
c7b45b3505
Updated copyright for the new year
|
10 years ago |
Alex Szpakowski
|
da7cd267ea
Changed luax_pushtype to retain the pushed object itself, but only if the object isn't in the Lua state already.
|
11 years ago |
Alex Szpakowski
|
dfa319e01a
Replaced the EXCEPT_GUARD macro for converting love exceptions into Lua errors with the new luax_catchexcept function, which takes lambda function arguments.
|
11 years ago |
Alex Szpakowski
|
4faddcd9aa
Fixed some trivial compiler warnings
|
11 years ago |
Alex Szpakowski
|
d07e31370d
Added RandomGenerator:getState and RandomGenerator:setState (resolves issue #831.)
|
11 years ago |
Alex Szpakowski
|
e54d771be4
Added love.math.gammaToLinear and love.math.linearToGamma for converting RGB color values from the sRGB color-space to linear and vice-versa.
|
11 years ago |
Alex Szpakowski
|
3120a0e650
Goodbye 2013, hello 2014!
|
11 years ago |
Alex Szpakowski
|
2ee869b0e8
Fixed some compiler warnings
|
11 years ago |
Alex Szpakowski
|
1c8abc74aa
Renamed love.math.g/setRandomState and rng:g/setState to love.math.g/setRandomSeed and rng:g/setSeed.
|
11 years ago |
Alex Szpakowski
|
83d3eae1e7
Fixed error messages in Shader:send and love.math.newRandomGenerator to include the line number
|
11 years ago |
Alex Szpakowski
|
bcee9a222b
Made some float/int/unsigned char conversions explicit, fixed ParticleSystem:getColors, fixed love.mouse.isDown with x1 and x2 buttons
|
12 years ago |
Alex Szpakowski
|
5de43a7207
The Vertex struct is now recognized as POD by C++, also fixed the name to be consistent with other love structs
|
12 years ago |
Alex Szpakowski
|
ffe0485173
Removed love.window.checkMode (resolves issue #653, invalidates issue #592).
|
12 years ago |
Alex Szpakowski
|
06f80d5c08
Fixed undefined behaviour when love exceptions are converted into Lua errors (resolves issue #729)
|
12 years ago |
Alex Szpakowski
|
ec9dec6b80
Replaced luax_newtype with luax_pushtype (and added luax_rawnewtype for the old functionality of luax_newtype.)
|
12 years ago |
Alex Szpakowski
|
50504d83a5
Missed an uncaught exception in newRandomGenerator
|
12 years ago |