From 8bf6b14c1eaa6ba74b65dcbd64f8f779d0255b06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9C=D0=B8=D1=85=D0=B0=D0=B8=D0=BB=20=D0=9A=D0=B0=D0=BF?= =?UTF-8?q?=D0=B5=D0=BB=D1=8C=D0=BA=D0=BE?= Date: Tue, 20 Oct 2026 07:04:13 +0300 Subject: [PATCH] move h --- AGENTS.md | 5 ++--- game/ver-mac/Package.swift | 2 +- game/ver-mac/bridge/{include => }/raylib_bridge.h | 0 3 files changed, 3 insertions(+), 4 deletions(-) rename game/ver-mac/bridge/{include => }/raylib_bridge.h (100%) diff --git a/AGENTS.md b/AGENTS.md index 89c46ba..3442ff6 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -50,9 +50,8 @@ game/ver-mac/ macOS app (SPM executable target "ogs-mahjong") Resources/AppIcon.icns App icon Resources/assets/ Bundled glTF assets: cube.gltf (static), cube_texture.png, cube_normal.png - bridge/ C target "RaylibBridge": raylib_bridge.{c,h} with the - public header in include/. Renders an rlgl scene (no - raylib window) into the NSOpenGLView. + bridge/ C target "RaylibBridge": raylib_bridge.{c,h}. Renders + an rlgl scene (no raylib window) into the NSOpenGLView. src/ GameApp.swift @main SwiftUI App entry AppDelegate.swift Creates Render/Root components + VMs, calls setup() diff --git a/game/ver-mac/Package.swift b/game/ver-mac/Package.swift index 6e176d1..0e6e4c3 100644 --- a/game/ver-mac/Package.swift +++ b/game/ver-mac/Package.swift @@ -13,7 +13,7 @@ let package = Package( .target( name: "RaylibBridge", path: "bridge", - publicHeadersPath: "include", + publicHeadersPath: ".", cSettings: [ .unsafeFlags(["-I", "\(raylibPrefix)/include"]) ] diff --git a/game/ver-mac/bridge/include/raylib_bridge.h b/game/ver-mac/bridge/raylib_bridge.h similarity index 100% rename from game/ver-mac/bridge/include/raylib_bridge.h rename to game/ver-mac/bridge/raylib_bridge.h