This commit is contained in:
Михаил Капелько committed 2026-10-20 07:04:13 +03:00
1 parent 81ed1d9201
commit 8bf6b14c1e
3 files changed
+3 -4

No files matched your search

+2 -3
View File
@@ -50,9 +50,8 @@ game/ver-mac/ macOS app (SPM executable target "ogs-mahjong")
Resources/AppIcon.icns App icon Resources/AppIcon.icns App icon
Resources/assets/ Bundled glTF assets: cube.gltf (static), Resources/assets/ Bundled glTF assets: cube.gltf (static),
cube_texture.png, cube_normal.png cube_texture.png, cube_normal.png
bridge/ C target "RaylibBridge": raylib_bridge.{c,h} with the bridge/ C target "RaylibBridge": raylib_bridge.{c,h}. Renders
public header in include/. Renders an rlgl scene (no an rlgl scene (no raylib window) into the NSOpenGLView.
raylib window) into the NSOpenGLView.
src/ src/
GameApp.swift @main SwiftUI App entry GameApp.swift @main SwiftUI App entry
AppDelegate.swift Creates Render/Root components + VMs, calls setup() AppDelegate.swift Creates Render/Root components + VMs, calls setup()
+1 -1
View File
@@ -13,7 +13,7 @@ let package = Package(
.target( .target(
name: "RaylibBridge", name: "RaylibBridge",
path: "bridge", path: "bridge",
publicHeadersPath: "include", publicHeadersPath: ".",
cSettings: [ cSettings: [
.unsafeFlags(["-I", "\(raylibPrefix)/include"]) .unsafeFlags(["-I", "\(raylibPrefix)/include"])
] ]