forked from FAForever/fa
-
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 branch 'develop' into rebased-quats
- Loading branch information
Showing
48 changed files
with
449 additions
and
211 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
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 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,39 @@ | ||
name: General issue | ||
description: Create an issue for purposes not covered by the other templates | ||
labels: ["status: novel issue"] | ||
|
||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Thanks for taking the time in submitting an issue. | ||
- This repository is maintained by volunteers, it may take a while for them to come back to you. | ||
- Remember to include sufficient details and context. | ||
- If you have multiple problems or suggestions, please submit them in separate issues. | ||
- We accept pull requests. If you know how to fix it - go ahead! | ||
- type: textarea | ||
id: describe | ||
attributes: | ||
label: Describe the issue | ||
description: A clear and concise description of what the issue is. | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: behavior | ||
attributes: | ||
label: Expected Behavior | ||
description: If applicable, a clear and concise description of what you expect to happen in various scenarios. | ||
validations: | ||
required: false | ||
- type: textarea | ||
id: images | ||
attributes: | ||
label: Screenshots | ||
description: If applicable, add screenshots to help explain the issue. | ||
validations: | ||
required: false | ||
- type: markdown | ||
attributes: | ||
value: | | ||
_This issue will be read by people that are unable to look into your thoughts - this request is all they have to understand the situation. The more precise your request, the easier it becomes for us to help you._ |
2 changes: 1 addition & 1 deletion
2
...SSUE_TEMPLATE/3-contributors_template.yml → ...SSUE_TEMPLATE/5-contributors_template.yml
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Copyright (c) 2024 FAForever | ||
# | ||
# Permission is hereby granted, free of charge, to any person obtaining a copy | ||
# of this software and associated documentation files (the "Software"), to deal | ||
# in the Software without restriction, including without limitation the rights | ||
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
# copies of the Software, and to permit persons to whom the Software is | ||
# furnished to do so, subject to the following conditions: | ||
# | ||
# The above copyright notice and this permission notice shall be included in all | ||
# copies or substantial portions of the Software. | ||
# | ||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
# SOFTWARE. | ||
|
||
name: Convert PRs to Draft on Opening | ||
|
||
on: | ||
pull_request: | ||
types: [opened] | ||
|
||
jobs: | ||
convert_to_draft: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: gh pr ready --undo ${{ github.event.pull_request.number }} | ||
env: | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GH_REPO: ${{ github.repository }} |
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,23 +1,102 @@ | ||
Contributing | ||
------------ | ||
|
||
To contribute, please fork this repository and make pull requests to the | ||
`deploy/fafdevelop` branch. | ||
## When making a PR: | ||
|
||
Use the normal git conventions for commit messages, with the following rules: | ||
- Subject line shorter than 80 characters | ||
- No trailing period | ||
- For non-trivial commits, always include a commit message body, describing the change in detail | ||
- If there are related issues, reference them in the commit message footer | ||
If you plan a bigger change, make an issue first to discuss the feature. This way you can avoid spending time on something that would ultimately be denied integration. | ||
|
||
We use [git flow](http://nvie.com/posts/a-successful-git-branching-model/) for our branch conventions. | ||
- Target the `develop` branch. | ||
- Start your PR as draft. | ||
- Don't forget to add appropriate tags. | ||
|
||
When making _backwards incompatible API changes_, do so with a stub function and put in a logging statement including traceback. This gives time for mod authors to change their code, as well as for us to catch any incompatibilities introduced by the change. | ||
Each PR needs a [snippet](https://faforever.github.io/fa/development/changelog) for the changelog file of the release. | ||
When you have made all the changes you intended to do and have added the snippet, you can mark the PR as ready for review by removing the draft status from the PR. | ||
Now the PR should be milestoned to the next release. | ||
You can request reviews from people that a knowledgable in the domains of the code you changed (See below). | ||
|
||
Code convention | ||
--------------- | ||
|
||
Please follow the [Lua Style Guide](http://lua-users.org/wiki/LuaStyleGuide) as | ||
much as possible. | ||
## How to do a review: | ||
|
||
For file encoding, use UTF-8 and unix-style file endings (Set core.autocrlf). | ||
1. Do we want this feature? | ||
If it's just a bugfix this can generally be answered as yes. | ||
If it's a new feature or changes gameplay in a more meaningful way there is ideally a linked issue where the discussion already happened and it was concluded that we want this feature. | ||
Sanity check: Should this rather be a sim/ui mod? | ||
|
||
2. Functionality | ||
Start the game with these changes and see if the described changes work as intended. | ||
Test if related functionality still works and didn't inadvertantly break. | ||
There is no hard rule how much testing is needed, especially as we can't automate this. You don't have to go overboard with testing as we still have the duration between the merge and the next release to notice bugs during actual gameplay. | ||
|
||
3. Technical code review | ||
Is the code style correct? Please follow the [Lua Style Guide](http://lua-users.org/wiki/LuaStyleGuide). | ||
Is the code readable and doing things the way things should be done? | ||
This step should be done by people that have knowledge of the affected domains of the code base (See below). | ||
|
||
4. Balance implications (only for PRs labeled as balance) | ||
Changes touching balance need a green light from the balance team. | ||
|
||
It's totally possible to review not all steps if you don't have the knowledge or motivation to do them all. Someone else can pick up the other steps. | ||
If you don't review all steps, don't formally approve the PR, but state your approval of the steps you did in a review comment. Only PRs that passed all review steps should be formally approved. | ||
|
||
|
||
## When to merge: | ||
|
||
After all the necessary reviews have passed and the PR has been approved it can be merged. We suggest to wait 24 hours after approval, so the owner of the PR can interject if there was some sort of miscommunication and the owner still intends to do some changes. The PR owner can also merge the PR if they want. | ||
|
||
Merge by using the squash option. | ||
Use the normal git conventions for the commit message, with the following rules: | ||
|
||
- Subject line shorter than 80 characters | ||
- Pull request number at the end | ||
- No trailing period | ||
- For non-trivial commits, always include a commit message body, describing the change in detail | ||
|
||
If the branch was in the FAForever repository, delete it after the merge, so it doesn't clutter the repo. | ||
|
||
## Reviewers | ||
|
||
These are people knowledgeable of the indicated areas, that are good candidates to request a review from. | ||
|
||
**lua (ui)** | ||
@4z0t | ||
@Basilisk3 | ||
@lL1l1 | ||
@Garanas | ||
@Hdt80bro | ||
@clyfordv | ||
@speed2CZ | ||
|
||
**lua (sim)** | ||
@lL1l1 | ||
@4z0t | ||
@Basilisk3 | ||
@Garanas | ||
@Hdt80bro | ||
@clyfordv | ||
@speed2CZ | ||
@The-Balthazar | ||
|
||
**AI** | ||
@relent0r | ||
@Garanas | ||
|
||
**blueprints** | ||
@Basilisk3 | ||
@Garanas | ||
@Hdt80bro | ||
@lL1l1 | ||
@The-Balthazar | ||
|
||
**mapping** | ||
@speed2CZ | ||
|
||
**modeling** | ||
@MadMaxFAF | ||
@The-Balthazar | ||
@lL1l1 | ||
|
||
**graphics** | ||
@BlackYps | ||
@Garanas | ||
|
||
**binary patches** | ||
@4z0t | ||
@Hdt80bro |
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,11 @@ | ||
- (#6423) The Pulsar receives various tweaks in anticipation of its future introduction into the game. Additionally, the Pulsar's files have been updated to remove the last remnants of its former name. Initially, the unit was called Othismash. | ||
|
||
- Pulsar: T3 Mobile EMP Missile Launcher (SRL0310): | ||
- Categories added: | ||
- `PRODUCTDL` | ||
- `SNIPEMODE` | ||
- Pulsar EMP Missile Barrage: | ||
- DamageRadius: 0 --> 1 (same as its EMP weapon) | ||
- TurretPitchRange: 15 --> 40 (required against nearby units and units on top of mountains) | ||
- TurretPitchSpeed: 20 --> 50 (improves the responsiveness of the turret) | ||
- Introduce a taller firing arc to allow the Pulsar to shoot over obstacles more easily |
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,7 @@ | ||
- (#6440) The Infinity Class Cruiser is equipped with two copies of Zealot AA Missile launchers. These two weapons function identically except for the `MuzzleVelocity` stat, where one weapon has a higher value than the other. This is misleading because the models look the same, and the unit databases imply that both AA batteries have a `MuzzleVelocity` of `40`. This PR equalizes the stats of both launchers to resolve this issue. In terms of gameplay, there is virtually no difference. | ||
|
||
- Infinity Class: T2 Cruiser (UAS0202): | ||
- Zealot AA Missile (right battery): | ||
- MuzzleVelocity: 40 --> 35 | ||
- Zealot AA Missile (left battery): | ||
- MuzzleVelocity: 30 --> 35 |
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 @@ | ||
- (#6416) Fix Salvation's reload time not increasing from 2.5 to 2.6 when missing T1 power generator adjacency and only having T3 power generators. |
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 @@ | ||
- (#6418) Fix ACU explosions being able to kill TMD structures. |
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 @@ | ||
- (#6419) Fix engineer stations without a `GuardScanRadius` defaulting to 300 radius for their build range overlay. They now display their full build range in the radius for better compatibility with the reclaim tower mods, even though `GuardScanRadius` defaults to 25. |
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 @@ | ||
- (#6429) Fix the aim of the GC's claws being disrupted by the walking animation. |
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 @@ | ||
- (#6430) Fix an `OnImpact` error caused by CZAR's depth charges. |
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 @@ | ||
- (#6432) Fix units failing to transfer after defeat if the player that is being transferred to is defeated during the transfer process. |
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 @@ | ||
- (#6433) Fix Aeon destroyer's depth charge's indirect fire range ring not appearing. |
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 @@ | ||
- (#6436) Prevent the logging of an unecessary warning when certain units make landfall. |
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 @@ | ||
- (#6439) Fix `table.empty` and `table.getsize` not using their asm implementation due to reimports. |
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 @@ | ||
- (#6446) Fix the "assist to upgrade" and "assist to unpause" game options conflicting and causing upgrading units to unpause during lag spikes. |
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 @@ | ||
- (#6447) Fix `repr` causing an "attempt to call upval 'match' (a nil value)" error when used in the blueprint loading scripts. |
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 @@ | ||
- (#6431) Make CZAR depth charges give underwater vision on impact alongside the normal vision they give. |
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 @@ | ||
- (#6450) Improve beam blueprint annotations with thorough descriptions of beam parameters. |
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 @@ | ||
- (#6451) Annotate emitter blueprint parameters with extensive descriptions. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,20 @@ | ||
---@meta | ||
|
||
---@alias BeamBlendmode | ||
---| 0 # Alpha blend | ||
---| 1 # Modulate Inverse | ||
---| 2 # Modulate2X Inverse | ||
---| 3 # Add | ||
---| 4 # Premodulated Alpha | ||
|
||
---@class BeamBlueprint : EmitterBlueprint | ||
---@field Length number Total length of beam | ||
---@field Lifetime number Lifetime of the emitter | ||
---@field Thickness number Thickness of the beam | ||
---@field TextureName FileName Filename of texture | ||
---@field StartColor NamedQuaternion RGBA start color of beam | ||
---@field EndColor NamedQuaternion RGBA end color of beam | ||
---@field UShift number U Texture shift of beam texture | ||
---@field VShift number V Texture shift of beam texture | ||
---@field RepeatRate number How often the texture repeats per ogrid blendmode of this beam | ||
---@field Length number # Total length of beam | ||
---@field Lifetime number # Lifetime of the emitter | ||
---@field Thickness number # Thickness of the beam in both directions from the center | ||
---@field TextureName FileName # Filename of texture | ||
---@field StartColor NamedQuaternion # Color multiplier from 0 to 1 of beam texture at start point. `w, x, y, z = ARGB` | ||
---@field EndColor NamedQuaternion # Color multiplier from 0 to 1 of beam texture at end point. `w, x, y, z = ARGB` | ||
---@field UShift number # Proportional shift of beam texture per tick in the U direction (across width of beam, X direction of texture) | ||
---@field VShift number # Proportional shift of beam texture per tick in the V direction (across the length of the beam, Y direction of texture) | ||
---@field RepeatRate number # How often the texture repeats per ogrid. `0` stretches the texture over the length of the beam. | ||
---@field Blendmode BeamBlendmode # Blend mode of the beam. |
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
Oops, something went wrong.