Display a textured cube with Raylib (#2)

This commit was merged in pull request #2.
This commit is contained in:
kornerr committed 2026-10-18 12:16:39 +02:00
1 parent 184454cf59
commit 1515a9483b
13 files changed
+982 -12

No files matched your search

+10
View File
@@ -3,5 +3,15 @@
STEP=$((STEP+1))
echo -e "\n> > > > Step №$STEP. Build for macOS"
# raylib is required for the 3D scene (used by the RaylibBridge target).
if [[ -z "${RAYLIB_PREFIX:-}" ]] && command -v brew >/dev/null 2>&1; then
RAYLIB_PREFIX="$(HOMEBREW_NO_AUTO_UPDATE=1 brew --prefix raylib 2>/dev/null || true)"
fi
if [[ -z "${RAYLIB_PREFIX:-}" ]]; then
RAYLIB_PREFIX=/opt/homebrew
fi
export RAYLIB_PREFIX
echo "> > > > raylib: $RAYLIB_PREFIX"
cd $SDIR/../game/ver-mac
swift build # -Xswiftc -swift-version -Xswiftc 6
+3
View File
@@ -13,3 +13,6 @@ mkdir -p "$APP_DAT/Resources"
cp "$SDIR/../game/ver-mac/.build/debug/ogs-mahjong" "$APP_DAT/MacOS/ogs-mahjong"
cp "$SDIR/../game/ver-mac/Info.plist" "$APP_DAT/Info.plist"
cp "$SDIR/../game/ver-mac/Resources/AppIcon.icns" "$APP_DAT/Resources/AppIcon.icns"
mkdir -p "$APP_DAT/Resources/assets"
cp "$SDIR/../game/ver-mac/Resources/assets/"* "$APP_DAT/Resources/assets/"