Alex Szpakowski
|
ea2e45f4e2
Renamed love.mouse.setRelative to love.mouse.setRelativeMode, removed some unused OpenGL code.
|
10 years ago |
Alex Szpakowski
|
8989e39b1e
A better fix for love.mouse.setPosition not updating the return values of love.window.getPosition until the next love.event.pump call on Windows and Linux.
|
10 years ago |
Alex Szpakowski
|
f6bd177f84
A debug print statement snuck in there...
|
10 years ago |
Alex Szpakowski
|
9cf1868b81
Fixed the point style and color mask getting reset in love.window.setMode (thanks Shell32)
|
10 years ago |
Alex Szpakowski
|
665cdc4ae7
Moved the default Font logic from the graphics.lua script to the Graphics and Font module C++ code. Moved love.graphics.setNewFont from the graphics.lua script to the Graphics module Lua wrapper code. Moved the Vera.ttf data from the graphics.lua script to its own file inside the Font module.
|
10 years ago |
Alex Szpakowski
|
72f98b9c8f
love's overloaded love.graphics.print and love.graphics.printf functions now use proper tail calls, which fixes the filename and backtrace given if those functions cause an error.
|
10 years ago |
Alex Szpakowski
|
423e35fd76
TrueType rasterizers now error properly when given an invalid size argument.
|
10 years ago |
Bart van Strien
|
33d2331255
Adjust version header to resolve linker conflict with two definitions of love::VERSION in android builds
|
10 years ago |
Alex Szpakowski
|
cf60cf89fc
De-namespaced a class, to make it less verbose.
|
10 years ago |
Alex Szpakowski
|
e662fbdf80
Removed some dumb/redundant comments.
|
10 years ago |
Alex Szpakowski
|
222d4cfdc8
Maybe fixed Windows build?
|
10 years ago |
Alex Szpakowski
|
b876255442
Cleaned up some graphics code.
|
10 years ago |
Alex Szpakowski
|
e71c15e650
Fixed a minor memory leak caused by certain rare error conditions in love.graphics.newCanvas.
|
10 years ago |
Alex Szpakowski
|
5c46149afb
Properly set shader dirty flags for love_ScreenSize when love.window.setMode is called.
|
10 years ago |
Alex Szpakowski
|
18569979e9
Better cleanup when the graphics and window subsystems are destroyed and restarted.
|
10 years ago |
Alex Szpakowski
|
e82d1dfe54
Added Lua 5.3's UTF-8 module to LÖVE. Resolves issue #951.
|
10 years ago |
Alex Szpakowski
|
b4f2a9417a
Added new event callback love.mousemoved(x, y, xrel, yrel), where xrel and yrel are the amount of pixels moved since the last event. Added love.mouse.setRelative(bool relative) and love.mouse.isRelative. Resolves issue #470.
|
10 years ago |
Alex Szpakowski
|
dff496bdb5
Passing --console to love.exe now opens the console before conf.lua is loaded.
|
10 years ago |
Alex Szpakowski
|
c26315dd4d
Actually a stop() in the Audio module destructor is redundant, since stop() is called by the Source pool when it's deleted (also in the destructor.)
|
10 years ago |
Alex Szpakowski
|
6d3ae981ac
Moved the love.audio.stop call when love is quit from love.run to the destructor of the Audio module.
|
10 years ago |
Alex Szpakowski
|
f1634bc6a8
The existence of the AL_EXT_MCFORMATS OpenAL extension is checked when creating 5.1 and 7.1 (6 and 8 channel) Sources. love.audio.newSource now errors if the channel count and bit-depth combination of the Source isn't supported.
|
10 years ago |
Bart van Strien
|
12c358769c
Check if binary and library version match on startup (resolves #860)
|
10 years ago |
foo0
|
e4eac17355
Fix Windows resource generation for love.dll (resolves issue #935)
|
10 years ago |
Bart van Strien
|
181196fc0c
Add support for 5.1 and 7.1 audio loading, still seems a bit dodgy (issue #970)
|
10 years ago |
Alex Szpakowski
|
fab029ae6b
Hopefully fixed the Windows build.
|
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
|
1b41d546e2
Removed a Mac-specific workaround from love.run (pumping events before love.load so that love.mouse.setPosition works before love.update.)
|
10 years ago |
Alex Szpakowski
|
91062a1496
Added Body/Contact/Fixture/Joint/World:isDestroyed (resolves issue #964.)
|
10 years ago |
Alex Szpakowski
|
be9b5b5d1a
Added love.window.maximize (resolves issue #966.)
|
10 years ago |
Alex Szpakowski
|
8a9a73151d
Pump events when calling love.mouse.getPosition/getX/getY/setX/setY, since some of SDL's backends don't update the internal mouse state until the next PumpEvents, if SDL_WarpMouseInWindow was called previously.
|
10 years ago |