-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from DISC-Manchester/dev
Merge Version 2 Stable
- Loading branch information
Showing
23 changed files
with
1,023 additions
and
129 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: 'Check commit message style' | ||
on: | ||
pull_request: | ||
types: | ||
- opened | ||
- edited | ||
- reopened | ||
- synchronize | ||
push: | ||
branches: | ||
- main | ||
- dev | ||
|
||
jobs: | ||
check-commit-message-style: | ||
name: Check commit message style | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check | ||
uses: mristin/[email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--- | ||
name: Lint Code Base | ||
on: | ||
push: | ||
pull_request: | ||
branches: [dev, main] | ||
jobs: | ||
build: | ||
# Name the Job | ||
name: Lint Code Base | ||
# Set the agent to run on | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
packages: read | ||
statuses: write | ||
steps: | ||
- name: Checkout Code | ||
uses: actions/checkout@v3 | ||
with: | ||
# Full git history is needed to get a proper | ||
# list of changed files within `super-linter` | ||
fetch-depth: 0 | ||
- name: Lint Code Base | ||
uses: github/super-linter@v5 | ||
env: | ||
VALIDATE_ALL_CODEBASE: false | ||
# Change to 'master' if your main branch differs | ||
DEFAULT_BRANCH: main | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"BaseBallSpeed": 0.001, | ||
"Bricks": [ | ||
{ | ||
"Colour": "DiscGreen", | ||
"Type": 1, | ||
"Repeat": 28 | ||
}, | ||
{ | ||
"Colour": "DiscOrange", | ||
"Type": 1, | ||
"Repeat": 28 | ||
}, | ||
{ | ||
"Colour": "DiscBlue", | ||
"Type": 1, | ||
"Repeat": 28 | ||
}, | ||
{ | ||
"Colour": "DiscPink", | ||
"Type": 1, | ||
"Repeat": 28 | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"BaseBallSpeed": 0.002, | ||
"Bricks": [ | ||
{ | ||
"Colour": "DiscGreen", | ||
"Type": 1, | ||
"Repeat": 28 | ||
}, | ||
{ | ||
"Colour": "DiscOrange", | ||
"Type": 1, | ||
"Repeat": 28 | ||
}, | ||
{ | ||
"Colour": "DiscBlue", | ||
"Type": 1, | ||
"Repeat": 28 | ||
}, | ||
{ | ||
"Colour": "DiscPink", | ||
"Type": 1, | ||
"Repeat": 28 | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#version 330 core | ||
// input | ||
in vec4 vertex_colour; | ||
// output | ||
out vec4 frag_colour; | ||
void main() | ||
{ | ||
frag_colour = vertex_colour; | ||
} |
10 changes: 5 additions & 5 deletions
10
assets/Shader/basic_vertex.glsl → assets/shaders/basic_vertex.glsl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
#version 330 core | ||
// input | ||
layout(location = 0) in vec2 position; | ||
layout(location = 1) in vec4 color; | ||
|
||
out vec4 vertexColor; | ||
|
||
layout(location = 1) in vec4 colour; | ||
// output | ||
out vec4 vertex_colour; | ||
void main() | ||
{ | ||
gl_Position = vec4(position, 0.0, 1.0); | ||
vertexColor = color; | ||
vertex_colour = colour; | ||
} |
Oops, something went wrong.