Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a spellcheck and fix typos it found #52

Open
wants to merge 20 commits into
base: master
Choose a base branch
from
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
10 changes: 10 additions & 0 deletions .github/workflows/ignore-words.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
BU
FO
LOD
Tread
alle
caf
inOut
radY
te
ue
21 changes: 21 additions & 0 deletions .github/workflows/spellcheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Spell Checking

on: [push, pull_request]

jobs:
codespell:
name: Check spelling with codespell
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v4
with:
python-version: 3.12
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install codespell
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Check spelling with codespell
run: codespell --ignore-words=.github/workflows/ignore-words.txt || exit 1
2 changes: 1 addition & 1 deletion _data/bzdb_settings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ variables:
category: Burrow Flag
type: float
- name: _burrowSpeedAd
desc: Thw `_tankSpeed` multiplier for a tank's speed while burrowed with the Burrow flag.
desc: The `_tankSpeed` multiplier for a tank's speed while burrowed with the Burrow flag.
since: 2.4.0
default: "0.80"
category: Burrow Flag
Expand Down
2 changes: 1 addition & 1 deletion _datasets/downloads/bzflag/1.10.0.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ changelog: |
* Added bzadmin - Lars Luthman
* Munitions now bounce off buildings/ground in z direction - Dave Brosius
* World object and -worldsize parameters - Jeff Myers
* Server side world parm (bzdb) file \[clo\] - Dave Brosius
* Server side world param (bzdb) file \[clo\] - Dave Brosius
* MsgTeamUpdate, MsgFlagUpdate coalesced - Dave Brosius
* Burrow Flag - Dave Brosius
* Observer is a first class team - Dave Brosius
Expand Down
2 changes: 1 addition & 1 deletion _datasets/downloads/bzflag/2.0.6.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ changelog: |
* game variables no longer accept invalid values. - Jeff Myers
* Special Effects use tank (was team) color - Karsten Behrmann, Jeff Myers
* /reset uses the values from the config and the map as default - Jeff Myers
* Sreenshots now remember where they left off - Jeff Myers, Thomas Sowell
* Screenshots now remember where they left off - Jeff Myers, Thomas Sowell
* Have windows dump std::error out to a file - Jeff Myers
* Various API enhancements - Jeff Myers and others ( from patches )
* Not applauding when capturing his own flag - Alfredo Tupone
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ parameters:
description: The IPv4 address for the player. (not set in 2.4.0, fixed in 2.4.1.)
name: ipAddress
- dataType: bz_eTeamType
description: The team the player is current only.
description: The team the player is currently on.
name: team
- dataType: bool
description: The admin permision state of the player, indicating if they will be displayed with an '@' symbol in the scoreboard.
description: The admin permission state of the player, indicating if they will be displayed with an '@' symbol in the scoreboard.
name: admin
- dataType: bool
description: The authentication state of the player, indicating if they will be displayed with an '+' symbol in the scoreboard.
Expand All @@ -33,4 +33,4 @@ parameters:
name: eventTime
---

This event is called each time the server sends out a player info update message to a remote player
This event is called each time the server sends out a player info update message to a remote player.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ category: Logging
plugins: ~
parameters:
- dataType: bool
description: Whether data is sent or recieved
description: Whether data is sent or received
name: send
- dataType: bool
description: Whether the packet is UDP
Expand All @@ -26,4 +26,4 @@ parameters:
name: eventTime
---

This event is called each time net data is received
This event is called each time net data is received.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ category: Logging
plugins: ~
parameters:
- dataType: bool
description: Whether data is sent or recieved
description: Whether data is sent or received
name: send
- dataType: bool
description: Whether the packet is UDP
Expand All @@ -26,4 +26,4 @@ parameters:
name: eventTime
---

This event is called each time net data is sent
This event is called each time net data is sent.
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ returns:
description: ~
---

Checks if chat is being fitered. This is tied to the `-filterChat` server option or to server settings set via [`bz_SetFiltering`]({{ url(collections.bzfs_api_functions['bz_SetFiltering']) }}).
Checks if chat is being filtered. This is tied to the `-filterChat` server option or to server settings set via [`bz_SetFiltering`]({{ url(collections.bzfs_api_functions['bz_SetFiltering']) }}).
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ signatures:
description: ~
default: ~
- dataType: bool
name: fliped
name: flipped
description: ~
default: ~
- dataType: bz_WorldObjectOptions
Expand Down
2 changes: 1 addition & 1 deletion _documentation/developer/bzfs_api_types/bz_eTeamType.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ enumerations:
- eAdministrators
---

The bz_eTeamType is used to identify playable teams to the API. These team identifiers are also used to identifiy specific groups of connected users, such as administrators and observers.
The bz_eTeamType is used to identify playable teams to the API. These team identifiers are also used to identify specific groups of connected users, such as administrators and observers.
2 changes: 1 addition & 1 deletion _documentation/developer/pages/compiling-on-macos.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ git clone --branch master https://github.com/BZFlag-Dev/bzflag.git

## Building the code

Nagivate to the Xcode directory of our source and open BZFlag.xcodeproj. This will launch Xcode.
Navigate to the Xcode directory of our source and open BZFlag.xcodeproj. This will launch Xcode.

By default we build in debug mode which leaves debugging symbols in the binaries and produces less optimized code. To
change this, navigate to the Product menu, then to Scheme, and click on Edit Scheme. Then in the left sidebar click on
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ parent:
{% block introduction %}
<h1 class="mt-0">BZFS API Types</h1>
<p>
The bzfs API types consist of enumerations and objects. Enumerations are used to define the possible choices that can be passed around, such as the possible teams. Objects are used for storing information and are used throughout the API to ensure compatability across the DLL boundary.
The bzfs API types consist of enumerations and objects. Enumerations are used to define the possible choices that can be passed around, such as the possible teams. Objects are used for storing information and are used throughout the API to ensure compatibility across the DLL boundary.
</p>
{% endblock %}

Expand Down
2 changes: 1 addition & 1 deletion _sources/hexagonal-camo.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
// https://mathopenref.com/coordpolycalc.html
// https://www.redblobgames.com/grids/hexagons/

// Inspiration: Hexatal Camo Consept -Seamless -PSD by black-light-studio
// Inspiration: Hexatal Camo Concept -Seamless -PSD by black-light-studio
// https://www.deviantart.com/black-light-studio/art/Hexatal-Camo-Consept-Seamless-PSD-429483689

function getRegularPolygonVertices($cx, $cy, $sides, $radius, $rot = 0)
Expand Down
2 changes: 1 addition & 1 deletion assets/js/plyr.js

Large diffs are not rendered by default.