Commit Graph

48 Commits

Author SHA1 Message Date
Alex Szpakowski c0dc051bc4 iOS: use new xcframework dependency libraries.
They support arm64+x64 simulators, as well as 64 bit iOS devices.
2021-12-30 12:46:37 -04:00
Alex Szpakowski 8f9d1d7f82 xcode: address setting recommendations added in 13.1 2021-11-24 21:18:45 -04: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 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 90bd8f1811 Update version 2020-12-24 12:45:08 -04:00
Alex Szpakowski ae4fe5bff9 Update Xcode project files 2020-12-23 13:00:24 -04:00
Alex Szpakowski bfaae71f2a macOS: only build for x64, for now
We don't support arm64 yet
2020-12-22 22:54:43 -04:00
Alex Szpakowski 0b06d0d1f9 macOS: turn code signing off completely on x64
Previously it was using ad-hoc ('sign to run locally') signing, which breaks on macOS 10.14 and older when a .love is put in the Resources subfolder. Ad-hoc is necessary on Apple Silicon but not x64, if real code signing isn't used.
2020-11-13 17:57:30 -04:00
Alex Szpakowski 3cadd50bec macOS: Add entitlements for Apple's hardened runtime. 2019-09-23 18:00:11 -03:00
Alex Szpakowski 48343d5965 iOS: remove Launch Images references, it's been replaced by a Launch Screen file since iOS 8. 2019-09-12 20:00:23 -03:00
Alex Szpakowski 84f9f3f4d5 Update Xcode project for Xcode 10.2. 2019-04-11 18:45:09 -03:00
Alex Szpakowski de813dd42d Add an Xcode 10 auto-generated file to the repository. 2018-12-13 22:38:11 -04:00
Alex Szpakowski a1604f4294 Update Xcode project with the latest changes from Xcode 10. 2018-10-28 13:41:12 -03:00
Alex Szpakowski 43263c1469 iOS: weak-link with Metal.framework, SDL requires it (although we don't use the parts of SDL that use it). 2018-04-02 11:20:52 -03:00
Alex Szpakowski 403c339522 macOS: remove leftover reference to external physfs framework 2018-04-01 22:45:51 -03:00
Alex Szpakowski a2aead02cf iOS: set minimum deployment target to iOS 8.0, fix build to compile physfs 2018-04-01 12:48:33 -03:00
Alex Szpakowski a5ca04bb57 macOS: Update the capitalization of ogg/vorbis/theora frameworks. Resolves issue #1320. 2017-12-30 00:54:58 -04:00
Alex Szpakowski 22fada31da macOS: update freetype framework capitalization 2017-12-26 19:50:55 -04:00
Alex Szpakowski 7354de2059 Add (low level) functionality to allow rendering 3D Meshes.
- Add love.graphics.setDepthMode(testcomparison, enablewrites).
- Add love.graphics.setMeshCullMode.
- Add love.graphics.setFrontFaceWinding.

Depth testing and depth writes require a depth buffer to work. The mesh cull mode controls whether front/back faces of a mesh are culled. The front face winding determines whether a clockwise or counterclockwise-oriented face in a mesh is considered front facing.

--HG--
branch : minor
2017-12-09 23:34:08 -04:00
Alex Szpakowski c5fcfd1714 Add an Xcode 9 generated file.
--HG--
branch : minor
2017-11-20 22:15:06 -04:00
Alex Szpakowski 8db8b71587 Fix building for macOS and iOS
--HG--
branch : minor
2017-10-21 11:15:39 -03:00
Alex Szpakowski e10c941614 Update Xcode/clang warnings to the latest recommended settings.
--HG--
branch : minor
2017-09-30 12:27:50 -03:00
Alex Szpakowski 19b4079ecc Merge default into minor
--HG--
branch : minor
2017-07-28 19:14:54 -03:00
Tiago Koji Castro Shibata 74c35358bb Move setMixMode to love.audio 2017-06-10 00:07:39 -03:00
Alex Szpakowski 9930b81f94 The Xcode project now recognizes frameworks placed in love/platform/Xcode/macosx/Frameworks/ when building for macOS (closes issue #1230).
--HG--
branch : minor
2016-11-25 23:10:29 -04: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 2e016810c9 Update Xcode project
--HG--
branch : minor
2016-10-18 22:08:25 -03:00
Alex Szpakowski 9701e2a262 Fixed love on iOS 6 crashing on launch due to GameController.framework being missing (see issue #1155). Some further issues remain, for now. 2016-04-10 21:52:16 -03:00
Alex Szpakowski 57697b372b New Mac and iOS icons 2016-02-12 17:07:24 -04:00
Alex Szpakowski 2cadb30ecf Updated the version to 0.10.1. 2015-12-29 22:52:16 -04:00
Alex Szpakowski 03032034e9 Fixed the Theora framework having its headers removed when love is built for Mac OS X. 2015-12-14 15:42:03 -04:00
Alex Szpakowski 27ec680f50 Updated the Xcode project files for video support. Theora.framework is now required for building for OS X, and the iOS dependencies have been updated to include the theora library. 2015-12-08 22:44:19 -04:00
Alex Szpakowski e9c75c342e Text:add and Text:addf now return index numbers which can be used as arguments to Text:getWidth and text:getHeight to determine the (pre-transformed) width and height of specific text within the Text object. 2015-11-14 18:51:43 -04: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 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 17fe6bd30a Hopfully fixed some Xcode syntax highlighting and in-line error detection issues. 2015-05-18 21:46:04 -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 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 8e42f591ce Updated the iOS xcode project search paths for the luajit headers and static library. 2015-04-25 12:00:07 -03:00
Alex Szpakowski 2844499ef7 Added the ability to have custom vertex attributes in Meshes (resolves issue #768.)
Added new love.graphics.newMesh variants: newMesh(vertexformat, vertices [, drawmode, meshusage]) and newMesh(vertexformat, numvertices [, drawmode, meshusage]).

Replaced the regular love.graphics.newMesh variants with newMesh(vertices [, drawmode, meshusage]) and newMesh(numvertices [, drawmode, meshusage]). To use an image or canvas with a mesh, use Mesh:setTexture.

vertexformat is a table with the following prototype:
{
  {attributename, datatype, components},
  {attributename, datatype, components},
  ...
}

Where attributename is the name of the vertex attribute (can be the built-in names 'VertexPosition', 'VertexTexCoord', or 'VertexColor', or a custom name for use in a vertex shader), datatype is the type of values used for the attribute ('float' or 'byte'), and components is the number of components in the vertex attribute (between 1 and 4.)

The vertex format is used to determine the layout of the vertices in the mesh, for example the 'regular' newMesh variants use this vertex format:
format = {
  {"VertexPosition", "float", 2},
  {"VertexTexCoord", "float", 2},
  {"VertexColor", "byte", 4},
}

The mesh usage parameter accepts the same constants as the spritebatch usage hint in love.graphics.newSpriteBatch - "dynamic", "static", and "stream".

Mesh:setVertex now sets *all* vertex attributes for a specific vertex in the Mesh.

Added Mesh:setVertexAttribute(vertexindex, attributeindex, attributevalue1, ...), which sets the values for a specific vertex attribute in a specific vertex in the Mesh (resolves issue #784.)

Added Mesh:getVertexFormat and Mesh:flush.

Added Mesh:setAttributeEnabled(attributename, enable) and Mesh:isAttributeEnabled(attributename), to enable or disable the use of a specific attribute when drawing the Mesh.

Added Mesh:attachAttribute(attributename, mesh), which makes the Mesh use a vertex attribute from another mesh when drawing the Mesh. This can be used to separate out vertex attributes which are updated at different rates into different meshes, and to share vertex data between multiple meshes.

Removed Mesh:setVertices, Mesh:getVertices, and Mesh:setVertexColors.
2015-04-08 22:24:17 -03:00
Alex Szpakowski c4dd3df799 Added a placeholder default launch screen nib for iOS so the app always uses the device's native resolution (in iOS 8+, at least.)
--HG--
branch : minor
2015-02-24 03:54:29 -04:00
Alex Szpakowski 3faa3c7645 Removed some unnecessary xcode project config files
--HG--
branch : minor
2015-02-20 20:12:44 -04:00
Alex Szpakowski 85de3c41fb Initial iOS implementation.
--HG--
branch : minor
2015-02-20 00:21:21 -04:00
Alex Szpakowski 24c7539182 Updated some Xcode project settings
--HG--
branch : minor
2015-02-18 23:04:01 -04:00
Alex Szpakowski df0fab1b67 Moved the xcode project files and related data from platform/macosx to platform/xcode.
--HG--
branch : minor
2015-02-18 22:47:04 -04:00