Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .github/workflows/ci-windows.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: build-windows

on:
push:
paths-ignore:
Expand Down Expand Up @@ -61,9 +61,9 @@ jobs:
go build -tags static -ldflags -H=windowsgui -o ./vice.exe .
ls
env:
CGO_CFLAGS: "-I ../ext/SDL2-2.24.0/x86_64-w64-mingw32/include"
CGO_CPPFLAGS: "-I ../ext/SDL2-2.24.0/x86_64-w64-mingw32/include"
CGO_LDFLAGS: "-L ../ext/SDL2-2.24.0/x86_64-w64-mingw32/lib"
CGO_CFLAGS: "-I ../SDL2-2.24.0/x86_64-w64-mingw32/include"
CGO_CPPFLAGS: "-I ../SDL2-2.24.0/x86_64-w64-mingw32/include"
CGO_LDFLAGS: "-L ../SDL2-2.24.0/x86_64-w64-mingw32/lib"

- name: Check scenarios
run:
Expand Down Expand Up @@ -97,4 +97,5 @@ jobs:
if: startsWith(github.ref, 'refs/tags/')
uses: softprops/action-gh-release@v1
with:

files: 'Vice-${{ github.ref_name }}-installer.msi'
18 changes: 18 additions & 0 deletions .github/workflows/github-actions-demo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: GitHub Actions Demo
run-name: ${{ github.actor }} is testing out GitHub Actions 🚀
on: [push]
jobs:
Explore-GitHub-Actions:
runs-on: ubuntu-latest
steps:
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
- name: Check out repository code
uses: actions/checkout@v4
- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
- name: List files in the repository
run: |
ls ${{ github.workspace }}
- run: echo "🍏 This job's status is ${{ job.status }}."
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ require (
github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8
github.com/shirou/gopsutil v3.21.11+incompatible
github.com/tosone/minimp3 v1.0.2
github.com/veandco/go-sdl2 v0.5.0-alpha.3.0.20220913133553-3c4862273074
github.com/veandco/go-sdl2 v0.5.0-alpha.6
golang.org/x/exp v0.0.0-20231127185646-65229373498e
gopkg.in/natefinch/lumberjack.v2 v2.2.1
)
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ github.com/tosone/minimp3 v1.0.2 h1:htFE2EbP7Y4CJ8KGW9c55tKWRpzv9kXkEmCYGxFzVjA=
github.com/tosone/minimp3 v1.0.2/go.mod h1:N6vjknGR7PboMTyJVhe/7RHNQiIc0jWZxFKlSWdfzwc=
github.com/veandco/go-sdl2 v0.5.0-alpha.3.0.20220913133553-3c4862273074 h1:Py9mLMT1jWD4I+iDjTxWXSSTi2YAQcujsa2wUVSE5q8=
github.com/veandco/go-sdl2 v0.5.0-alpha.3.0.20220913133553-3c4862273074/go.mod h1:OROqMhHD43nT4/i9crJukyVecjPNYYuCofep6SNiAjY=
github.com/veandco/go-sdl2 v0.5.0-alpha.6 h1:MEN7FFP7JuVZbm0I1hm8NHE1PzX5Fn8wo+d/4bnPk7c=
github.com/veandco/go-sdl2 v0.5.0-alpha.6/go.mod h1:OROqMhHD43nT4/i9crJukyVecjPNYYuCofep6SNiAjY=
github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
github.com/yusufpapurcu/wmi v1.2.3 h1:E1ctvB7uKFMOJw3fdOW32DwGE9I7t++CRUEMKvFoFiw=
github.com/yusufpapurcu/wmi v1.2.3/go.mod h1:SBZ9tNy3G9/m5Oi98Zks0QjeHVDvuK0qfxQmPyzfmi0=
Expand Down
39 changes: 38 additions & 1 deletion resources/openscope-aircraft.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"aircraft": [
{
{
"name": "Airbus A320 Neo",
"icao": "A20N",
"engines": {
Expand Down Expand Up @@ -112,6 +112,43 @@
"ils": true,
"fix": true
}
},{
"name": "Boeing F-15 Eagle",
"icao": "F15",
"engines": {
"number": 2,
"type": "J"
},
"weightClass": "L",
"category": {
"srs": 3,
"lahso": 0,
"cwt": "G"
},
"ceiling": 65000,
"rate": {
"climb": 50000,
"descent": 40000,
"accelerate": 7,
"decelerate": 4
},
"runway": {
"takeoff": 1.9,
"landing": 1.4
},
"speed": {
"min": 61,
"v2": 145,
"landing": 150,
"cruise": 495,
"cruiseM": null,
"max": 600,
"maxM": 0.83
},
"capability": {
"ils": true,
"fix": true
}
},
{
"name": "Airbus A350-1000",
Expand Down
Loading