Alex Szpakowski
df1bd42dec
Implemented efficient FFI versions of ImageData methods.
...
Note that ImageData:mapPixel (with its optional sub-rectangle parameters) is often many times faster than a loop of ImageData:setPixel and/or getPixel, for anything more than a few pixels.
2015-06-15 00:50:01 -03:00
Alex Szpakowski
409d313bff
Added FFI versions of SoundData:getBitDepth and SoundData:getDuration.
2015-06-14 18:58:11 -03:00
Alex Szpakowski
532c61c6c2
Implemented efficient FFI versions of SoundData methods, which are used when the LuaJIT FFI and JIT compiler are present.
2015-06-14 18:41:34 -03:00
Alex Szpakowski
57fa9994af
Verify that the bit depth argument in love.sound.newSoundData is valid / supported.
2015-06-14 18:10:40 -03:00
Alex Szpakowski
aac595525a
Cleaned up some ImageData code.
2015-06-14 01:01:44 -03:00
Alex Szpakowski
16ebe92176
Added a flag to the Mac info.plist which allows high-dpi windows to be created in all situations when requested and supported.
2015-06-12 16:53:05 -03:00
Alex Szpakowski
59e4b1b8d6
Removed some debug prints on iOS.
2015-06-11 21:16:28 -03:00
Alex Szpakowski
3053278048
Moved the no-game screen code to its own file.
2015-06-09 22:38:36 -03:00
Alex Szpakowski
b2b5a1d9df
Fixed a compiler warning on Linux and iOS.
2015-06-09 21:26:41 -03:00
Alex Szpakowski
9e2dd384cb
Removed the "LÖVE" text label from the default iOS launch screen.
2015-06-09 00:03:55 -03:00
Alex Szpakowski
589f153073
Fixed a compiler warning.
2015-06-08 23:44:18 -03:00
Alex Szpakowski
91e2227124
Fixed the behaviour of love.window.requestAttention on Windows.
2015-06-07 20:19:42 -03:00
Alex Szpakowski
cf73aa0107
Added love.window.requestAttention. Bounces the dock icon in OS X and flashes the taskbar icon in Windows when called, if the program isn't in focus.
2015-06-07 19:40:46 -03:00
Bart van Strien
6ef6f85d0c
Restore 0-argument love.graphics.newFont/love.font.newRasterizer
...
Fix subtle bug in luax_convobj in the process, it couldn't deal with 0 arguments
before.
2015-06-07 23:10:48 +02:00
Alex Szpakowski
8c1bc543b9
Fixed love.graphics.rectangle erroring when the width or height is 0.
2015-06-07 17:45:43 -03:00
Alex Szpakowski
a9e4be760e
Updated the list of SDL backends which should default to OpenGL ES to include emscripten.
2015-06-02 23:06:31 -03:00
Alex Szpakowski
48a0910907
Renamed love.textedit to love.textedited. (text composition event callback)
2015-05-29 23:33:01 -03:00
Alex Szpakowski
8c3dd76327
Updated LZ4 to the latest version.
2015-05-29 18:01:02 -03:00
Alex Szpakowski
457903a425
Renamed love.touch.getIDs to love.touch.getTouches.
2015-05-28 20:54:41 -03:00
Alex Szpakowski
7e42d82308
Added an optional third argument to the width/height variant of love.image.newImageData. The new argument is a string containing raw byte pixel data to copy to the new ImageData (e.g. the result of a previous ImageData:getString with an ImageData of the same width and height..)
2015-05-27 21:21:47 -03:00
Alex Szpakowski
f141cb3a16
Added a small 'contributing' section to the readme.
2015-05-27 18:39:03 -03:00
Alex Szpakowski
f334a24f79
Potentially better calculation for the default number of points in the rounded-rect variant of love.graphics.rectangle.
2015-05-27 18:30:17 -03:00
Alex Szpakowski
4fe8e7214d
Error if the rx and ry parameters of love.graphics.rectangle are >= half the rectangle's width or height, respectively.
2015-05-27 17:47:51 -03:00
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.
2015-05-27 17:36:27 -03:00
muddmaker
2a4524e5c0
Make ry optional, and ellipse can replace circle.
2015-05-23 17:28:58 -07:00
muddmaker
0119e47f87
Make roudned rectangle a variant of rectangle
2015-05-23 17:05:03 -07:00
muddmaker
cb3ae86726
Add rx and ry parameters to roudnedRectangle
2015-05-23 16:52:27 -07:00
muddmaker
dd41ccfbf7
Fix another typo.
2015-05-23 16:20:19 -07:00
muddmaker
439cc65382
Fix typo
2015-05-23 16:06:36 -07:00
muddmaker
fbc419fda6
Add eclipse and roundedRectangle to love.graphics
2015-05-23 12:52:27 -07:00
Alex Szpakowski
c3fd7a25a3
Fixed some misc. compiler warnings.
2015-05-23 12:45:58 -03:00
Alex Szpakowski
17fe6bd30a
Hopfully fixed some Xcode syntax highlighting and in-line error detection issues.
2015-05-18 21:46:04 -03:00
Bart van Strien
2a33af3920
Fix broken wav decoding on partial decodes, seemed to mostly/only affect 8-bit wav
2015-05-17 19:52:31 +02:00
Alex Szpakowski
30b083bd23
Fixed the new love.graphics.newMesh variant that accepts a Data object.
2015-05-15 14:45:11 -03:00
Alex Szpakowski
f2538ac2fa
love.window.getFullscreenModes, getDesktopDimensions, and setPosition now default the display index parameter to the display the window is currently in, rather than the primary display.
2015-05-12 21:59:09 -03:00
Alex Szpakowski
3704595189
Enabled OpenGL ES 3 support for Windows/Linux/Android when SDL 2.0.4+ is used, since that SDL version fixed its EGL code for GLES 3+.
2015-05-11 21:14:10 -03:00
Alex Szpakowski
811b2db466
The full executable path, rather than argv[0], is now used when determining whether the executable is fused (resolves issue #1043.)
2015-05-04 10:38:28 -03:00
Alex Szpakowski
60e8cc24bf
Removed iOS-specific code to decode and encode images using the ImageIO framework (it's now redundant.)
2015-05-03 20:49:06 -03:00
Alex Szpakowski
542596531c
Updated changelog
2015-05-03 20:29:03 -03:00
Alex Szpakowski
cf3dac8a4b
Merged in LPGhatguy/love/LPGhatguy/add-notice-from-issue-877-1430691607768 (pull request #47 )
...
Changelog: add notice from issue #877
2015-05-03 20:06:15 -03:00
Lucien Greathouse
8e57072631
Add notice from issue #877
...
--HG--
branch : LPGhatguy/add-notice-from-issue-877-1430691607768
2015-05-03 22:20:08 +00:00
Alex Szpakowski
5dbf589d47
Removed libjpeg-turbo as a dependency (closes issue #1031.) Removed jpeg support for ImageData:encode. stb_image now handles jpeg image loading.
2015-05-03 17:52:20 -03:00
Alex Szpakowski
cc634d1871
Updated stb_image to 2.0.5.
2015-05-03 17:14:49 -03:00
Alex Szpakowski
a35ccb4426
Added Font:setFallbacks(otherfont, ...). Resolves issue #1041 .
...
Note that general font metrics are largely still based on the original (non-fallback) font, whereas glyph sizes are based on the fallback fonts when those are used to get the glyph.
2015-05-02 18:07:35 -03:00
Alex Szpakowski
4e1011a52e
Re-added Mesh:setVertices.
2015-05-02 14:05:29 -03:00
Alex Szpakowski
eee1fbac79
love.filesystem is now loaded by default in threads (see issue #1040.)
2015-05-01 21:20:23 -03:00
Alex Szpakowski
34bf847913
Removed redundant definition of ChainShape:getChildCount.
2015-04-27 19:08:02 -03:00
Alex Szpakowski
6e92bd8302
Improved the argument type checking for World:setCallbacks, World:setContactFilter, World:queryBoundingBox, and World:rayCast.
2015-04-27 18:48:13 -03:00
Alex Szpakowski
90a3c2b8ba
Added Text:setFont.
2015-04-27 04:19:03 -03:00
Alex Szpakowski
f29567160a
Fixed love.audio.stop() not rewinding streaming Sources.
2015-04-26 21:22:04 -03:00