Alex Szpakowski
|
799e303673
|
More fixes for love.graphics.printf's text positioning.
|
2015-10-29 03:57:29 -03:00 |
|
Alex Szpakowski
|
396b0f0956
|
Mostly fixed the center and right wrap alignments for love.graphics.printf.
|
2015-10-29 00:44:00 -03:00 |
|
Alex Szpakowski
|
34b8e47831
|
Removed the internal rounding applied to the x and y parameters of love.graphics.print/printf. Resolves issue #1062.
|
2015-10-28 01:59:53 -03:00 |
|
Alex Szpakowski
|
c03ce3a9ab
|
love.math.random now uses a slight variant of Xorshift (Xorshift*).
|
2015-10-26 20:47:56 -03:00 |
|
Alex Szpakowski
|
f92e6552d4
|
Rewrote Font:getWrap (and thus love.graphics.printf's logic) to behave better. Resolves issue #799.
It now wraps text at the specified wrap limit even when there are no spaces in a line, and has improved performance.
|
2015-10-24 02:28:22 -03:00 |
|
Alex Szpakowski
|
5fabd64aea
|
Improved the error message when an unsupported file format is used with love.image.newImageData or love.graphics.newImage.
|
2015-10-19 15:54:53 -03:00 |
|
Alex Szpakowski
|
890802c0a3
|
Use a more descriptive error message if love.graphics.newImage fails because the OpenGL texture can't be created.
|
2015-10-15 14:42:57 -03:00 |
|
Alex Szpakowski
|
d587c206f0
|
Added a new variant love.math.decompress(data, format), where data is any Data object.
|
2015-10-03 01:49:12 -03:00 |
|
Alex Szpakowski
|
2e9154283c
|
Added gzip support to love.math.compress and love.math.decompress.
|
2015-10-02 03:18:11 -03:00 |
|
Alex Szpakowski
|
ca29c364f8
|
Fixed the Mac build (see issue #1081.)
|
2015-09-27 20:59:11 -03:00 |
|
Alex Szpakowski
|
74ad3b8be6
|
Don't try to put zero-length data into OpenAL buffers (see issue #1083.)
|
2015-09-27 20:58:08 -03:00 |
|
Alex Szpakowski
|
6a1ca3a45e
|
Mac: Don't check for drop-file events on startup if the app was launched from a terminal (resolves issue #1081.)
|
2015-09-25 17:36:20 -03:00 |
|
Alex Szpakowski
|
0bf80bb9fc
|
Fixed a minor memory leak in love.graphics.setMode.
|
2015-09-16 22:28:22 -03:00 |
|
Alex Szpakowski
|
00845c0ad0
|
Added love.graphics.intersectScissor(x, y, w, h). Resolves issue #1071.
It sets the active scissor rectangle to the intersection of the existing scissor (if any) and the specified rectangle.
|
2015-09-16 19:04:57 -03:00 |
|
Alex Szpakowski
|
9c1214c77a
|
Updated the Xcode project to use Xcode 7's recommended settings.
|
2015-09-16 16:36:44 -03:00 |
|
Alex Szpakowski
|
99debab3a4
|
Updated the readme: Xcode 7 lets you build iOS apps for your device without a registered developer account.
|
2015-09-14 18:50:48 -03:00 |
|
Alex Szpakowski
|
05ed70ed18
|
Updated stb_image to 2.07.
|
2015-09-13 11:26:11 -03:00 |
|
Alex Szpakowski
|
d30e60f8d7
|
Disable bitcode (for now) when building the iOS app, since the dependencies don't have it.
|
2015-09-09 23:28:48 -03:00 |
|
Alex Szpakowski
|
369dedaf38
|
Fixed SpriteBatch:set and Mesh:setVertex preventing some vertex data from being sent to the GPU.
|
2015-09-09 20:47:03 -03:00 |
|
Alex Szpakowski
|
c9c772613c
|
Enable symlinks by default (resolves issue #1072.)
|
2015-09-07 17:10:14 -03:00 |
|
Alex Szpakowski
|
4dbc11800e
|
Hopefully fixed the Windows/VS2013 build.
|
2015-09-05 11:30:59 -03:00 |
|
Alex Szpakowski
|
dc7cffe111
|
Fixed the color set by love.graphics.setColor not being restored properly when love.graphics.pop is called after love.graphics.push("all").
|
2015-09-05 11:20:47 -03:00 |
|
Alex Szpakowski
|
1c0870ee29
|
Pre-emptively work around an issue in libvorbis 1.3.4 and older when rewinding some Ogg Theora videos.
May (or may not) also fix crash issues when rewinding Ogg files on some systems...
|
2015-08-27 21:00:18 -03:00 |
|
Alex Szpakowski
|
d3d970b925
|
Renamed iOS.mm and iOS.h to ios.mm and ios.h, to match the naming conventions of other files.
|
2015-08-27 18:46:04 -03:00 |
|
Alex Szpakowski
|
e979455772
|
love.event.quit now accepts a single (optional) argument, which is used as the program's exit status number. Resolves issue #1070.
|
2015-08-25 17:12:59 -03:00 |
|
Alex Szpakowski
|
55b9899c82
|
Backout changeset 521ee85a2bc4d896cddc7ccc5c2a73dfd3b16669
|
2015-08-22 23:41:05 -03:00 |
|
Alex Szpakowski
|
b432fa4f42
|
Appveyor: compile using VS 2015 instead of VS 2013.
|
2015-08-22 23:04:12 -03:00 |
|
Alex Szpakowski
|
d79d96a8f2
|
Also display graphics card information in the popup message when GL2 isn't supported.
|
2015-08-20 22:43:15 -03:00 |
|
Alex Szpakowski
|
4daa190513
|
Show the detected OpenGL version in the popup dialog when GL2.1 or GLES2 isn't available when the window is created.
|
2015-08-20 20:34:53 -03:00 |
|
Alex Szpakowski
|
1261427304
|
Replaced love.graphics.point with love.graphics.points, which draws a number of points at a time.
It currently has 3 variants, with the last one using optional per-point colors:
- love.graphics.points(x1, y1, x2, y2, ...)
- love.graphics.points({x1, y1, x2, y2, ...})
- love.graphics.points({{x1, y1 [, r, g, b, a]}, {x2, y2 [, r, g, b, a]}, ...}).
|
2015-08-19 17:48:27 -03:00 |
|
Bart van Strien
|
306049bcfe
|
Move and manually include c++11 m4 file to work around old aclocal versions
|
2015-08-19 16:12:14 +02:00 |
|
Alex Szpakowski
|
780c970b99
|
Removed an unnecessary error message in love.graphics.newMesh.
|
2015-08-18 22:32:27 -03:00 |
|
Alex Szpakowski
|
71116807e3
|
Fixed the default error handler to disable relative mouse mode.
|
2015-08-18 22:13:06 -03:00 |
|
Bart van Strien
|
acca06907e
|
Extend c++11 tests in configure script
Now also checks if gcc is at least version 4.7 or clang is at least version 3.1
|
2015-08-17 19:01:43 +02:00 |
|
Bart van Strien
|
987ddcdc26
|
Update path to macosx.mm in autotools build
|
2015-08-17 17:10:20 +02:00 |
|
Alex Szpakowski
|
153bd6f4cb
|
Cleaned up the Font:getWrap code a bit.
|
2015-08-16 01:04:51 -03:00 |
|
Alex Szpakowski
|
9a1c4ad565
|
The iOS game list screen now also displays folders that contain main.lua.
|
2015-08-15 23:57:04 -03:00 |
|
Alex Szpakowski
|
e44f20fdc6
|
Renamed OSX.mm/OSX.h to macosx.mm/macosx.h to match love's file naming conventions.
|
2015-08-15 00:41:45 -03:00 |
|
Alex Szpakowski
|
db91a73d57
|
Trigger a Lua error if love.graphics.draw(canvas) is called while that canvas is the active one.
This only catches a subset of the possible accidental read-while-writing situations that can happen when using Canvases, unfortunately.
|
2015-08-14 22:46:29 -03:00 |
|
Alex Szpakowski
|
9be2581e6f
|
Implemented love.system.vibrate on iOS. Unfortunately due to API limitations the duration argument is ignored, and it always vibrates for roughly 0.5 seconds.
|
2015-08-14 21:30:07 -03:00 |
|
Martin Felis
|
2ab69094e1
|
Added love.system.vibrate(time), which causes the phone to vibrate on Android. love.system.getOS() now returns "Android" on Android. Implemented love.system.openURL.
|
2015-08-13 19:48:25 -03:00 |
|
Martin Felis
|
637a3a9d62
|
Pause OpenAL when the app is in the background, on Android.
|
2015-08-13 19:46:11 -03:00 |
|
Martin Felis
|
f6448116cc
|
Fixed OpenGL ES function loading on some Android devices.
|
2015-08-13 19:44:52 -03:00 |
|
Martin Felis
|
6e0abae688
|
Implemented love.window.getPixelScale for Android. Fullscreen windows now use Android's 'immersive mode'.
|
2015-08-13 19:44:18 -03:00 |
|
Martin Felis
|
19b7d1e115
|
Implemented love.filesystem support for Android.
|
2015-08-13 19:42:31 -03:00 |
|
Martin Felis
|
5446022660
|
print on Android now outputs to Logcat.
|
2015-08-13 19:41:35 -03:00 |
|
Martin Felis
|
1ea54042e3
|
Fixed compilation when building for Android.
|
2015-08-13 19:39:56 -03:00 |
|
Martin Felis
|
f5778ed86e
|
Added a LOVE_ANDROID define and Android-specific code that interacts with the JNI and SDL.
|
2015-08-13 19:38:07 -03:00 |
|
Alex Szpakowski
|
5bdea01559
|
Fixed Canvas:renderTo to restore the previous canvases if an error occurs in the passed function.
|
2015-08-12 23:45:44 -03:00 |
|
Alex Szpakowski
|
12450c9657
|
Don't error if a compressed texture with no mipmap information is passed into love.graphics.newImage and the mipmaps flag is true.
|
2015-08-12 19:33:56 -03:00 |
|