- README.md: new — features, quick start, controls, MCP tools, requirements - AGENTS.md: rewritten for pure P/Invoke Vulkan 1.3 (was Raylib/OpenGL) - CORTEX_ENGINE_ARCHITECTURE.md: complete rewrite — current architecture, frame loop, UBO layout, push constants, shadow mapping, PBR, AI/MCP, physics, ImGui, video recording, content, testing - VULKAN_IMPLEMENTATION_PLAN.md: marked as COMPLETE with all 21 phases - scripts/run.sh: updated examples - .gitignore: added Videos/, imgui.ini, cortex.mp4 - Removed tracked imgui.ini and video files
17 lines
566 B
Bash
Executable File
17 lines
566 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Run the Cortex Engine.
|
|
# Examples:
|
|
# ./scripts/run.sh # run with defaults
|
|
# ./scripts/run.sh -- --mcp-port 5000 # run with MCP HTTP server
|
|
# ./scripts/run.sh -- --mcp-port 0 # run without MCP
|
|
|
|
ENGINE_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
|
|
|
export DOTNET_ROOT="${DOTNET_ROOT:-$HOME/.dotnet}"
|
|
export PATH="$DOTNET_ROOT:$PATH"
|
|
|
|
unset SDL_VIDEODRIVER 2>/dev/null
|
|
|
|
cd "$ENGINE_DIR"
|
|
exec dotnet run --project "$ENGINE_DIR/src/CortexEngine.App/CortexEngine.App.csproj" -c Debug -- "$@"
|