Skip to content

Commit

Permalink
actual init
Browse files Browse the repository at this point in the history
  • Loading branch information
DuskieWhy committed Jun 17, 2024
1 parent a473d7c commit 81829f0
Show file tree
Hide file tree
Showing 953 changed files with 344,301 additions and 0 deletions.
50 changes: 50 additions & 0 deletions .github/ISSUE_TEMPLATE/bugs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Bug report
description: Report bugs with the engine here
labels: [bug]
body:
- type: textarea
id: description
attributes:
label: "Describe your bug here."
validations:
required: true

- type: textarea
id: terminal
attributes:
label: "Command Prompt/Terminal logs (if existing)"
render: bash
validations:
required: false

- type: dropdown
id: modding
attributes:
label: "Are you modding a build from source or with Lua?"
options:
- Lua
- Source
validations:
required: true

- type: dropdown
id: btarget
attributes:
label: "What is your build target?"
options:
- "Windows"
- "Linux"
- "Mac"
- "HTML5"
- "Flash/Air-based target"
- "Neko, HashLink, or other build system"
validations:
required: true

- type: input
id: buildsummary
attributes:
label: "Did you edit anything in this build? If so, mention or summarize your changes."
placeholder: "Yes, I edited ClientPrefs.hx and tried to add a new setting"
validations:
required: true
2 changes: 2 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
blank_issues_enabled: false
contact_links: []
24 changes: 24 additions & 0 deletions .github/ISSUE_TEMPLATE/feature-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Feature Request
description: No, i won't add 6K/etc to the engine or winning icons, stop asking for it. REQUESTING FOR A STAGE EDITOR WILL RESULT IN A BAN, I ALREADY SAID I WILL DO IT LATER GOD DAMN IT.
labels: [enhancement]
body:
- type: textarea
attributes:
label: What feature do you want to get added on the **base** engine?
validations:
required: true
- type: dropdown
id: eyetest
attributes:
label: To test your sight, and reliability, please select the option of what should NOT be requested.
options:
- Proper credit that was forgotten
- Thing that would not cause problems
- Useful feature
- Actual feedback
- A good idea
- Stage Editor, 6K+ support, and winning icons.
- Better LUA mod support idea
- Code optimization that would make the game faster. (You should make a PR if this is your request, by the way.)
validations:
required: true
43 changes: 43 additions & 0 deletions .github/ISSUE_TEMPLATE/help.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Help me!
description: If you need help using the engine.
labels: [help wanted]
body:
- type: textarea
id: description
attributes:
label: "Describe your problem here."
validations:
required: true

- type: dropdown
id: modding
attributes:
label: "Are you modding a build from source or with Lua?"
options:
- Lua
- Source
validations:
required: true

- type: dropdown
id: btarget
attributes:
label: "What is your build target?"
options:
- "Windows x64"
- "Windows x86/x32"
- "Linux"
- "Mac"
- "HTML5/Browser"
- "Flash/Air-based target"
- "Neko, HashLink, or other build system"
validations:
required: true

- type: input
id: buildsummary
attributes:
label: "Did you edit anything in this build? If so, mention or summarize your changes."
placeholder: "Yes, I edited ClientPrefs.hx and tried to add a new setting"
validations:
required: false
10 changes: 10 additions & 0 deletions .github/ISSUE_TEMPLATE/missing-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: Missing Documentation
description: Ask for documentation if something is missing.
labels: [documentation]
body:
- type: textarea
attributes:
label: What needs to be documented?
description: 'For example: "There is no page explaining how to create an Achievement!"'
validations:
required: true
9 changes: 9 additions & 0 deletions .github/ISSUE_TEMPLATE/question.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: Question
description: Ask about something here.
labels: [question]
body:
- type: textarea
attributes:
label: What is your question?
validations:
required: true
141 changes: 141 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,141 @@
# This is a basic workflow to help you get started with Actions

name: Build

# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ main ]
pull_request:
branches: [ main ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
buildLinux:
# The type of runner that the job will run on
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2

- uses: krdlab/setup-haxe@master
with:
haxe-version: 4.2.0
# Runs a set of commands using the runners shell
- name: Install Haxelib
run: |
haxelib setup ~/haxelib
haxelib install hxcpp > /dev/null
haxelib install lime
haxelib install openfl
haxelib --never install flixel
haxelib run lime setup flixel
haxelib run lime setup
haxelib install flixel-tools
haxelib install flixel-ui
haxelib install flixel-addons
haxelib install tjson
haxelib install hxjsonast
haxelib git linc_luajit https://github.com/nebulazorua/linc_luajit
haxelib install hscript
haxelib git hscript-ex https://github.com/ianharrigan/hscript-ex
haxelib git discord_rpc https://github.com/Aidan63/linc_discord-rpc
haxelib install hxcpp-debug-server
haxelib list
- name: Create Version Tag
run: echo "${{github.run_id}}" > VERSION
- name: Compile
run: haxelib run lime build Project.xml linux --app-version="4.0.0-${{ github.run_id}}"
- name: Publish Artifact
uses: actions/[email protected]
with:
name: linuxBuild
path: 'export/release/linux/bin'
buildWindows:
runs-on: windows-latest

steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/[email protected]

- uses: krdlab/setup-haxe@master
with:
haxe-version: 4.2.0
# Runs a set of commands using the runners shell
- name: Install Haxelib
run: |
haxelib setup C:/haxelib
haxelib install hxcpp > nul
haxelib install lime
haxelib install openfl
haxelib --never install flixel
haxelib run lime setup flixel
haxelib run lime setup
haxelib install flixel-tools
haxelib install flixel-ui
haxelib install flixel-addons
haxelib install tjson
haxelib install hxjsonast
haxelib git linc_luajit https://github.com/nebulazorua/linc_luajit
haxelib install hscript
haxelib git hscript-ex https://github.com/ianharrigan/hscript-ex
haxelib git discord_rpc https://github.com/Aidan63/linc_discord-rpc
haxelib install hxcpp-debug-server
haxelib list
shell: cmd
- name: Create Version Tag
run: echo "${{github.run_id}}" > VERSION
- name: Compile
run: haxelib run lime build windows --app-version="4.0.0-${{ github.run_id}}"
- name: Publish Artifact
uses: actions/[email protected]
with:
name: windowsBuild
path: export/release/windows/bin
buildMac:
runs-on: macos-latest

steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2

- uses: krdlab/setup-haxe@master
with:
haxe-version: 4.2.0
# Runs a set of commands using the runners shell
- name: Install Haxelib
run: |
haxelib setup ~/haxelib
haxelib install hxcpp > /dev/null
haxelib install lime
haxelib install openfl
haxelib --never install flixel
haxelib run lime setup flixel
haxelib run lime setup
haxelib install flixel-tools
haxelib install flixel-ui
haxelib install flixel-addons
haxelib install tjson
haxelib install hxjsonast
haxelib git linc_luajit https://github.com/nebulazorua/linc_luajit
haxelib install hscript
haxelib git hscript-ex https://github.com/ianharrigan/hscript-ex
haxelib git discord_rpc https://github.com/Aidan63/linc_discord-rpc
haxelib install hxcpp-debug-server
haxelib list
- name: Create Version Tag
run: echo "${{github.run_id}}" > VERSION
- name: Compile
run: haxelib run lime build mac --app-version="4.0.0-${{ github.run_id}}"
- name: Publish Artifact
uses: actions/[email protected]
with:
name: macBuild
path: export/release/macos/bin
20 changes: 20 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
### FNF-Specific
# File used for the NG API. Should not be shared with others.
APIStuff.hx
art/build_x32-officialrelease.bat
art/build_x64-officialrelease.bat
art/test_x64-debug-officialrelease.bat

### VS Code
export/*
.vscode/*
*.code-workspace
# Local history which shouldn't be shared.
.history
.ionide
# ! means a file should be added regardless of it it gets ignored prior.
# Including to allow others to use already set-up configuration tweaked for the project.
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
13 changes: 13 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Lime",
"type": "lime",
"request": "launch"
}
]
}
21 changes: 21 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"version": "2.0.0",
"tasks": [
{
"type": "lime",
"command": "test",
"targetConfiguration": "Windows",
"problemMatcher": [
"$haxe-absolute",
"$haxe",
"$haxe-error",
"$haxe-trace"
],
"label": "lime: test windows",
"group": {
"kind": "build",
"isDefault": true
}
}
]
}
Loading

0 comments on commit 81829f0

Please sign in to comment.