raidho36
7934bfaf7f
ported TYPE_QUEUE Source from default to minor
...
--HG--
branch : minor
2016-10-11 06:30:30 +03:00
Alex Szpakowski
42be56858b
Remove duplicate unused code.
2016-10-10 09:33:10 -03:00
Alex Szpakowski
03c38185f6
Fix love.window.maximize to immediately update the window dimensions instead of waiting for the next love.event.pump. Fixes issue #1221 .
2016-10-10 09:14:57 -03:00
Alex Szpakowski
e969f541ba
Fix love.window.setMode to use the proper defaults for window settings that aren't specified.
...
--HG--
branch : minor
2016-10-08 15:35:31 -03:00
Alex Szpakowski
15ba27f417
Merge default into minor
...
--HG--
branch : minor
2016-10-08 11:03:37 -03:00
Alex Szpakowski
b1b4a637b5
Fix a potential crash when a Thread ends (resolves issue #1219 ).
2016-10-08 10:50:50 -03:00
James Watkins-Harvey
7b513ea1a4
Updated cmake file list according to libsocket 3.0rc1: link with ws2_32.lib on Windows
...
--HG--
branch : minor
2016-10-06 23:13:16 -04:00
Alex Szpakowski
2bc036f4c9
Use love's sized int typedefs instead of C's.
...
--HG--
branch : minor
2016-10-06 23:01:44 -03:00
Alex Szpakowski
37520bd18b
Added Object:release. Calling it is the equivalent of removing all Lua-side references to an object and doing a full garbage collection cycle (thus deleting the object from memory if nothing else in LÖVE's code is referencing it).
...
Any attempt to call a method on the object after it has been released will result in an error. Object:release() returns true if it was successful, or false if not (if it has already been released previously).
--HG--
branch : minor
2016-10-06 21:59:01 -03:00
James Watkins-Harvey
f8ce5f6621
Updated cmake file list according to libsocket 3.0rc1 (serial.c is unix only)
...
--HG--
branch : minor
2016-10-05 20:49:24 -04:00
James Watkins-Harvey
d6dff12ad8
Updated cmake file list according to libsocket 3.0rc1
...
--HG--
branch : minor
2016-10-04 11:06:37 -04:00
James Watkins-Harvey
8885fc621d
Updated luasocket to 3.0rc1 (git commit 316a945)
...
--HG--
branch : minor
2016-10-01 16:30:53 -04:00
Alex Szpakowski
889aaceabf
enet: remove deprecated host:socket_get_address (replaced by host:get_socket_address).
...
--HG--
branch : minor
2016-10-30 01:08:46 -03:00
Alex Szpakowski
60d90ca4a8
Merge default into minor
...
--HG--
branch : minor
2016-10-30 01:07:39 -03:00
Alex Szpakowski
c6f8a1535d
Fixed loading and saving 16 bit per component PNGs.
...
--HG--
branch : minor
2016-10-28 00:13:36 -03:00
Alex Szpakowski
3de1aa863a
Fix encoding ImageData to 16 bit per color channel PNG.
...
--HG--
branch : minor
2016-10-27 22:23:24 -03:00
Alex Szpakowski
5dd915ee8a
whitespace and formatting cleanup
...
--HG--
branch : minor
2016-10-25 19:56:47 -03:00
Alex Szpakowski
8e1482dbd9
Merged in rcoaxil/love-patches/minor-manual-decoders (pull request #67 )
...
decoder manual decoding and seeking implemented
--HG--
branch : minor
2016-10-25 22:50:53 +00:00
Raidho
3b37cc9462
moved SoundData::load back to private
...
--HG--
branch : minor-manual-decoders
2016-10-25 00:58:44 +03:00
Alex Szpakowski
00d30b2a9d
Merge default into minor
...
--HG--
branch : minor
2016-10-24 18:20:28 -03:00
Alex Szpakowski
ddc4b06eba
Moved the base Decoder implementation out of the lullaby subfolder.
...
--HG--
branch : minor
2016-10-23 21:32:20 -03:00
Raidho
a605243709
made decode() always return new SoundData
...
--HG--
branch : minor-manual-decoders
2016-10-23 21:09:13 +03:00
Alex Szpakowski
0341fc1189
Reduce memory allocations for the SHA formats of love.math.hash.
...
--HG--
branch : minor
2016-10-22 21:31:48 -03:00
Alex Szpakowski
a9d935caa1
Fixed compilation
...
--HG--
branch : minor
2016-10-21 23:43:26 -03:00
Alex Szpakowski
2222bb37d2
Removed gl.bindTexture, so it won't get accidentally used.
...
--HG--
branch : minor
2016-10-21 23:42:09 -03:00
Alex Szpakowski
14f1afa446
Reduce redundant glActiveTexture calls.
...
--HG--
branch : minor
2016-10-21 22:19:16 -03:00
Alex Szpakowski
b9c01b8674
Merge default into minor
...
--HG--
branch : minor
2016-10-21 22:04:39 -03:00
Alex Szpakowski
d1c5edd792
Prevent redundant glBindBuffer calls.
...
--HG--
branch : minor
2016-10-20 21:50:48 -03:00
Alex Szpakowski
4c122e6581
Add love.graphics.transformPoint and love.graphics.inverseTransformPoint.
...
--HG--
branch : minor
2016-10-20 18:13:20 -03:00
Alex Szpakowski
be1a59fb18
Disable 64 -> 32 bit integer conversion warnings in Xcode. lodepng and luasocket both generate a lot of them...
...
--HG--
branch : minor
2016-10-18 23:35:37 -03:00
Alex Szpakowski
27044e6eb8
Update tinyexr.
...
--HG--
branch : minor
2016-10-18 23:30:52 -03:00
rcoaxil
78f5779214
decoder manual decoding and seeking implemented
...
decode() uses supplied SoundData to decode to, creates new SoundData if none provided
returns SoundData containing decoded data, nil if decoder didn't produce any data
seek() only works with seconds
--HG--
branch : minor-manual-decoders
2016-10-19 05:29:08 +03:00
Raidho
1d883110c5
Created new branch minor-manual-decoders
...
--HG--
branch : minor-manual-decoders
2016-10-19 02:24:43 +00:00
Alex Szpakowski
bfb00239fd
Fix compiling for iOS
...
--HG--
branch : minor
2016-09-29 21:21:53 -03:00
Alex Szpakowski
7d11946ab7
Updated the changelog
...
--HG--
branch : minor
2016-09-27 23:23:56 -03:00
Alex Szpakowski
25dc0ad29d
Merge default into minor
...
--HG--
branch : minor
2016-09-27 23:13:01 -03:00
Alex Szpakowski
304ccec71c
Updated the changelog
2016-09-27 23:12:33 -03:00
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...
...
--HG--
branch : minor
2016-09-27 22:53:48 -03:00
Alex Szpakowski
b38e567e74
Added a click count argument to love.mousepressed/released. Tracks double/triple/etc. clicks.
...
--HG--
branch : minor
2016-09-27 22:46:55 -03:00
Alex Szpakowski
25376ba310
Added SpriteBatch:setDrawRange(start, count) and SpriteBatch:getDrawRange.
...
--HG--
branch : minor
2016-09-21 20:03:39 -03:00
Alex Szpakowski
7ab76b1ef6
Mesh:setDrawRange now takes start and count parameters, instead of min and max.
...
--HG--
branch : minor
2016-09-21 19:44:53 -03:00
Alex Szpakowski
327682d07f
Add support for passing a table to love.mouse.isDown, love.keyboard.isDown, love.keyboard.isScancodeDown, Joystick:isDown, and Joystick:isGamepadDown.
2016-09-19 22:43:47 -03:00
Bart van Strien
cc0cfac66c
Remove deprecated love.window.isCreated alias
...
--HG--
branch : minor
2016-09-16 19:58:26 +02:00
Alex Szpakowski
7eeca829e5
Fix a use of std::remove_if
...
--HG--
branch : minor
2016-09-12 08:11:38 -03:00
Alex Szpakowski
11328a23cf
Don't consider different OpenGL versions when re-creating the window after a previous window and OpenGL context has been created. love.graphics has never supported switching GL versions mid-game, so we should prevent it from ever happening.
...
--HG--
branch : minor
2016-09-11 21:40:00 -03:00
Alex Szpakowski
4dd1b3a83f
Added a new variant of Shader:send for matrices: Shader:send(uniformname, is_column_major, matrix, ...).
...
If is_column_major is true, the table(s) passed as subsequent arguments will be treated as column-major instead of row-major. This matches the 0.10.x behaviour of Shader:send for matrices.
--HG--
branch : minor
2016-09-11 20:57:40 -03:00
Alex Szpakowski
593f96a08c
Add support for non-square matrix uniforms in desktop GLSL. The notation is columns x rows, e.g. a mat4x2 has 4 columns and 2 rows.
...
Fixed the memory layout of matrices sent to shaders via Shader:send. Note that this is a breaking fix and will probably cause matrices designed to work with older versions of LÖVE to be transposed in shaders compared to what they were previously, if Shader:send or sendMatrix was used to put them in the shader.
--HG--
branch : minor
2016-09-11 14:53:23 -03:00
Alex Szpakowski
a853ef6c3a
Remove Shader:sendInt/sendBoolean/sendFloat/sendMatrix/sendTexture
...
--HG--
branch : minor
2016-09-11 13:09:41 -03:00
Alex Szpakowski
54efa825c3
Merge default into minor
...
--HG--
branch : minor
2016-09-11 13:09:01 -03:00
Alex Szpakowski
a9c83897bb
Shader:send improvements.
...
Type and value checking is now completely based on the shader uniform's information, instead of on the arguments to Shader:send. This means Shader:send now converts numbers to integers or floats depending on the uniform's type, and matrices can now be passed in as a flat array (without requiring the 'dimension' field that shader:sendMatrix previously needed).
As a result, Shader:sendTexture, Shader:sendMatrix, Shader:sendInt, and Shader:sendFloat are all deprecated in favour of Shader:send.
Performance of Shader:send has also increased, especially when sending small amounts of values per call.
2016-09-11 12:40:02 -03:00