diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..67f1afe --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,30 @@ +name: Build Projects + +on: + push: + branches: [ main, integration, dev/** ] + pull_request: + branches: [ main, integration ] + +jobs: + build: + runs-on: self-hosted + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + with: + submodules: recursive + + - name: Build projects + working-directory: ./projects + run: zig build install + + - name: Upload build artifacts + uses: actions/upload-artifact@v4 + if: success() + with: + name: build-artifacts + path: | + projects/zig-out/ + retention-days: 7 diff --git a/projects/content/bsp/testmap.map b/projects/content/bsp/testmap.map index 1463bd6..cfd819e 100644 --- a/projects/content/bsp/testmap.map +++ b/projects/content/bsp/testmap.map @@ -1797,6 +1797,15 @@ ( 3808 11088 17264 ) ( 3809 11088 17264 ) ( 3808 11088 17265 ) mapping_defaults/ProtoDark 0 0 0 0.25 0.25 ( 3808 11088 17264 ) ( 3808 11088 17265 ) ( 3808 11089 17264 ) mapping_defaults/ProtoDark 0 0 0 0.25 0.25 } +// brush 200 +{ +( -6544 -240 -16 ) ( -6544 -239 -16 ) ( -6544 -240 -15 ) mapping_defaults/ProtoDarkBlue 0 0 0 0.25 0.25 +( 192 -6992 -16 ) ( 192 -6992 -15 ) ( 193 -6992 -16 ) mapping_defaults/ProtoDarkBlue 0 0 0 0.25 0.25 +( 192 -240 -16 ) ( 193 -240 -16 ) ( 192 -239 -16 ) mapping_defaults/ProtoDarkBlue 0 0 0 0.25 0.25 +( 400 -128 0 ) ( 400 -127 0 ) ( 401 -128 0 ) mapping_defaults/ProtoDarkBlue 0 0 0 0.25 0.25 +( 400 4784 0 ) ( 401 4784 0 ) ( 400 4784 1 ) mapping_defaults/ProtoDarkBlue 0 0 0 0.25 0.25 +( 4240 -128 0 ) ( 4240 -128 1 ) ( 4240 -127 0 ) mapping_defaults/ProtoDarkBlue 0 0 0 0.25 0.25 +} } // entity 1 { diff --git a/projects/sampleGame/externGame/externGame.zig b/projects/sampleGame/externGame/externGame.zig index b73212d..4e180ab 100644 --- a/projects/sampleGame/externGame/externGame.zig +++ b/projects/sampleGame/externGame/externGame.zig @@ -118,7 +118,7 @@ pub const ExternGameObject = struct { reloadMapInput: ?*core.ActionBinding = null, volume: f32 = 100.0, - vo2lume: f32 = 100.0, + volume2: f32 = 100.0, a: core.Vector2f = .{ .x = 1, .y = 4 }, b: core.Vector2f = .{ .x = 4, .y = 1 }, @@ -499,7 +499,7 @@ pub const ExternGameObject = struct { } if (platform.context().isCursorEnabled()) { - // imgui.utils.structDebugWindow(self); + imgui.utils.structDebugWindow(self); // imgui.utils.structDebugWindow(core.get(rend.renderer.Renderer));