Alex Szpakowski
|
b838d0de54
Simplified an internal Variant constructor to be more intuitive to use.
|
7 years ago |
Alex Szpakowski
|
abb72cb813
Happy new year! 🥂
|
8 years ago |
Alex Szpakowski
|
d26002f5cc
Revamped and streamlined retina / high-DPI support (resolves issue #1122).
|
8 years ago |
Alex Szpakowski
|
2a47a8c9e2
Revert most render pass API changes. The APIs need more work and iteration before they’re better to use than the old setCanvas APIs.
|
8 years ago |
Bart van Strien
|
cac5a3519a
Fix automatically pausing and resuming audio on android (resolves #1237)
|
8 years ago |
Bart van Strien
|
24a7a3d367
Merge minor into dynamiccore2
|
8 years ago |
Alex Szpakowski
|
3e80ec2257
Render pass API. Replaces love.graphics.setCanvas and friends.
|
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
|
aba4386807
SDL click count functionality was added in 2.0.2, not 2.0.4. So we can get rid of some useless code since we require 2.0.2+ in love 0.11...
|
9 years ago |
Alex Szpakowski
|
b38e567e74
Added a click count argument to love.mousepressed/released. Tracks double/triple/etc. clicks.
|
9 years ago |
Alex Szpakowski
|
23fcaec89f
The Variant class is now meant to be used on the stack instead of allocated on the heap. As a result (and because of related changes), performance of Channels has roughly doubled when pushing and popping most types.
|
9 years ago |
Alex Szpakowski
|
c2de8dbb6a
Fixed audio on android to properly pause when the app is inactive, and resume when the app becomes active again.
|
9 years ago |
Alex Szpakowski
|
46a2e7b85c
Happy new year! 🎉
|
9 years ago |
Alex Szpakowski
|
7ebef76b24
Added love.window.setScreenSaverEnabled and love.window.isScreenSaverEnabled (resolves issue #1088.)
|
9 years ago |
Martin Felis
|
637a3a9d62
Pause OpenAL when the app is in the background, on Android.
|
10 years ago |
Alex Szpakowski
|
66942d5f31
Added the ability to use custom mipmaps in Images, via love.graphics.newImage(filename, {mipmap1, mipmap2, ...}). Resolves issue #1064.
|
10 years ago |
Alex Szpakowski
|
48a0910907
Renamed love.textedit to love.textedited. (text composition event callback)
|
10 years ago |
Alex Szpakowski
|
cffa899e03
Explicitly mention SDL in the error message caused by SDL subsystem initialization failure.
|
10 years ago |
Alex Szpakowski
|
86d41620dd
Replaced the mouse button constants ("l", "r", "m", etc.) with button numbers. 1 is the primary button, 2 is the secondary button, 3 is middle-mouse, etc. Resolves issue #1019.
|
10 years ago |
Alex Szpakowski
|
78dd8bc547
Added love.touch.getPressure(touchid). Not useful on most touch-capable devices, but I do expect Apple's Force Touch to make it into iPhones in the near future.
|
10 years ago |
Alex Szpakowski
|
14cbc91e7f
Fixed a memory leak in love.graphics.newText.
|
10 years ago |
Alex Szpakowski
|
b76b7bac8b
Added support for a few more mouse buttons (via "x3", "x4", and "x5" button constants.)
|
10 years ago |
Alex Szpakowski
|
7e99ea6839
Added a boolean argument to love.mousemoved indicating whether the event came from a touch press (love.mousepressed and love.mousereleased already have it.)
|
10 years ago |
Alex Szpakowski
|
9869999fda
Added a missing key constant.
|
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
|
95f87ed886
Added love.lowmemory event callback function, called when the app is close to running out of memory on iOS and Android.
|
10 years ago |
Alex Szpakowski
|
52c4f2c119
Improved the performance of love.window.getPixelScale / toPixels / fromPixels by caching some values. Made some coordinate space-sensitive code use the proper conversions to get to the correct coordinate space.
|
10 years ago |
Alex Szpakowski
|
33d20620b5
The Proxy struct now stores an actual love::Object pointer (rather than void*), which makes code using Proxies a bit cleaner.
|
10 years ago |
Alex Szpakowski
|
e26e170f78
Enabled high-dpi code on Linux (even though SDL doesn't support it yet on Linux, as of 2.0.4.) SDL 2.0.1 or newer is now required on Linux.
|
10 years ago |
Alex Szpakowski
|
5652475dd2
Use lightuserdata instead of Lua numbers (doubles) to represent touch IDs.
|
10 years ago |