Alex Szpakowski
5ef1709c02
Expose love.markDeprecated.
...
Arguments are (level, name, apitype, deprecationtype [, replacementname]). Call it inside a function.
2021-06-06 18:16:56 -03:00
Alex Szpakowski
199632e791
Add love.parsedGameArguments and love.rawGameArguments tables.
...
They're the same as the global arg table and the result of love.arg.parseGameArguments, respectively. They only exist on the main thread.
2021-06-06 18:04:58 -03:00
Alex Szpakowski
3d32f1c7d0
iOS: Fix compile errors
2021-06-06 12:19:54 -03:00
Alex Szpakowski
47a9cb9cd5
Merge branch 'master' into 12.0-development
2021-06-06 11:52:15 -03:00
Alex Szpakowski
1e69a8c485
macOS: fix framework dependency paths in xcode
2021-06-06 11:46:22 -03:00
Alex Szpakowski
433190d1df
Merge branch 'master' into 12.0-development
2021-06-06 11:43:54 -03:00
Miku AuahDark
f272570797
Update license with new commit hash and URLs
...
* Update stb_image and dr_flac commit hash
* Update OpenAL-soft URL
2021-05-31 09:57:33 +08:00
Alex Szpakowski
d899fe96b6
update dr_flac
2021-05-30 21:27:34 -03:00
Alex Szpakowski
d419795a28
Expand stb_image thread-local workaround to apply to iOS devices
2021-05-30 21:12:45 -03:00
Alex Szpakowski
df4519873c
Add github build action for iOS.
...
Currently builds iOS Simulator only (to avoid needing code signing), with no artifacts.
2021-05-30 16:44:06 -03:00
Alex Szpakowski
5c3ff29a30
Update xcode project version
2021-05-30 16:42:29 -03:00
Alex Szpakowski
512b0b068c
Fix release builds for iOS Simulator
2021-05-30 16:40:29 -03:00
Alex Szpakowski
042b0ffe31
Fix previous workaround commit...
2021-05-30 16:06:11 -03:00
Alex Szpakowski
13523f5a5a
Update stb_image
2021-05-30 16:04:54 -03:00
Alex Szpakowski
f20c637dd6
iOS: Fix simulator build
2021-05-30 16:04:37 -03:00
Alex Szpakowski
aa8ed7c8c5
Revert change that added codepoint variant of Font:getWidth.
...
It could break code that relied on Lua's implicit conversion from numbers to strings.
2021-05-30 15:46:21 -03:00
Miku AuahDark
4fe21d40d1
Switch from Ubuntu 16.04 to 18.04
...
This is only for GitHub Actions artifacts (due to actions/virtual-environments#3287 ),
thus official releases will hopefully still based on 16.04.
2021-05-30 23:36:12 +08:00
Alex Szpakowski
838901f5dc
Update readme with new macOS build instructions
2021-05-30 12:19:01 -03:00
Alex Szpakowski
5b4c4e5a0e
github action for macOS archives .app file.
2021-05-30 12:07:02 -03:00
Alex Szpakowski
28a3dca937
Add github build action for macOS
2021-05-30 12:06:26 -03:00
Alex Szpakowski
3cf303adb3
macOS: build for arm64+x64.
...
Remove obsolete linker flags needed for LuaJIT 2.0.
2021-05-30 11:08:52 -03:00
Alex Szpakowski
aeb2a853c7
macOS: xcode only looks for frameworks in platform/xcode/macosx/Frameworks.
...
A symlink can be used if other search locations are desired.
2021-05-30 11:07:53 -03:00
Alex Szpakowski
4e15df2df9
macOS: remove accidentally included Lua files from love.framework
2021-05-30 10:47:47 -03:00
Alex Szpakowski
fbe8ce198c
Add project-local macOS frameworks to gitignore
2021-05-30 10:45:58 -03:00
Alex Szpakowski
17c26dc902
Fix compile error on older C++ compilers
2021-04-20 19:18:59 -03:00
Alex Szpakowski
3d3c665f3c
Fix Mesh:setVertexMap.
...
Fixes #1686
2021-04-20 19:09:20 -03:00
Alex Szpakowski
e9c58c8192
Work around certain buggy Vivante GPU drivers on Android
...
love2d/love-android#204
2021-04-17 15:09:21 -03:00
Alex Szpakowski
977c690fa9
Fix physics meter value persisting after love.event.quit("restart").
...
Fixes #1685
2021-04-11 19:53:16 -03:00
Alex Szpakowski
14cda7818f
Rename internal enum
2021-04-07 20:43:22 -03:00
Alex Szpakowski
9b4aea8f17
Missed some copyright date updates
2021-04-07 20:34:24 -03:00
Alex Szpakowski
21f5ba86d3
Merge branch 'master' into 12.0-development
2021-04-07 20:33:44 -03:00
Alex Szpakowski
6f8c48f6cd
Reorder readme sections
2021-04-05 12:25:40 -03:00
Alex Szpakowski
774ebfcf90
Small tweaks to readme
2021-04-05 12:10:01 -03:00
Alex Szpakowski
7b6978f052
Add Font:getKerning.
...
Also add a variant of Font:getWidth which accepts a codepoint number.
Fixes #1403
2021-04-05 11:22:54 -03:00
Alex Szpakowski
b5ef8a8c2c
Update changelog
2021-04-05 11:01:02 -03:00
Alex Szpakowski
c59c85e04c
Fix Text:getWidth when the Text only contains spaces
...
Fixes #1555
2021-04-05 10:32:01 -03:00
Alex Szpakowski
f89aabb0bb
Update copyright year for 2021
2021-04-04 16:14:45 -03:00
Alex Szpakowski
1e3e4faba7
Fix the wrong type of deletion used in some internal Mesh data
2021-04-04 16:02:59 -03:00
Alex Szpakowski
c991f999eb
Account for different DPI scales in font fallbacks.
...
Fixes #1675
2021-04-04 16:01:22 -03:00
Alex Szpakowski
b1b70a83db
Add Joystick:set/getPlayerIndex
2021-02-15 16:08:23 -04:00
Alex Szpakowski
5e411f607f
Expose new gamepad buttons from SDL
2021-02-14 16:03:36 -04:00
Alex Szpakowski
04d59274ef
Merge branch 'master' into 12.0-development
2021-02-14 14:45:21 -04:00
Alex Szpakowski
1e27b1d6ed
Add Joystick:getGamepadType.
...
Return value is "unknown", "xbox360", "xboxone", "ps3", "ps4", "ps5", "switchpro", or "virtual".
2021-02-14 14:40:45 -04:00
Miku AuahDark
cbc0602620
Make sure to delete activity returned by SDL when calling getAssetManager()
2021-02-13 19:03:23 +08:00
Miku AuahDark
994cec9ee8
Add Android-specific conditionals.
2021-02-12 19:48:41 +08:00
Miku AuahDark
22455276f6
Implement experimental fusing method.
...
https://github.com/love2d/love-android/issues/201#issuecomment-772628115
2021-02-06 22:10:49 +08:00
Miku AuahDark
e967348409
Implement AAsset virtual archive for Android
2021-02-06 22:04:33 +08:00
Alex Szpakowski
694d448e83
Vertex shaders can write to gl_PointSize ( fixes #1603 ).
...
If a shader uses gl_PointSize then it can only be used when drawing points. If a shader doesn't use gl_PointSize then it can't be used when drawing points.
Added 'ConstantPointSize' and 'CurrentDPIScale' built-in shader uniforms.
ConstantPointSize is in DPI-scaled points, whereas gl_PointSize is in pixels, so to get the correct default behaviour a shader needs to do gl_PointSize = ConstantPointSize * CurrentDPIScale
2021-01-23 13:47:12 -04:00
Alex Szpakowski
deff795908
Rename some internal buffer enums to better match what they do
2021-01-17 20:59:16 -04:00
Alex Szpakowski
2e2ebe95cd
Clean up some obsolete internal graphics code
2021-01-17 16:50:44 -04:00