Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/dev-Tomcat' into dev-Tomcat
Browse files Browse the repository at this point in the history
  • Loading branch information
enricomfg committed Mar 2, 2023
2 parents 8595655 + ed654a0 commit ec71fbf
Show file tree
Hide file tree
Showing 66 changed files with 2,934 additions and 2,702 deletions.
12 changes: 12 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
root = true

[*]
end_of_line = lf
insert_final_newline = true
charset = utf-8
indent_style = space
indent_size = 4
trim_trailing_whitespace = true

[*.md]
trim_trailing_whitespace = false
14 changes: 14 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
* text=auto
*.png binary
*.jpg binary
*.paa binary

# Change GitHub language categorization
addons/**/*.cpp linguist-language=SQF
addons/**/*.hpp linguist-language=SQF

optionals/**/*.cpp linguist-language=SQF
optionals/**/*.hpp linguist-language=SQF

# Do not count hemtt includes in language usage stats
include/* linguist-vendored
31 changes: 31 additions & 0 deletions .github/workflows/arma.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Arma

on:
push:
branches:
- master
pull_request:

jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Checkout the source code
uses: actions/checkout@master
- name: Validate SQF
run: python3 tools/sqf_validator.py
- name: Validate Config
run: python3 tools/config_style_checker.py
- name: Validate Stringtables
run: python3 tools/stringtable_validator.py
- name: Check Strings
run: python3 tools/check_strings.py

lint:
runs-on: ubuntu-latest
steps:
- name: Checkout the source code
uses: actions/checkout@master
- name: Lint (sqflint)
uses: arma-actions/sqflint@master
continue-on-error: true # No failure due to many false-positives
91 changes: 0 additions & 91 deletions Makefile

This file was deleted.

2 changes: 1 addition & 1 deletion addons/airway/ACE_Medical_Treatment_Actions.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ class ACE_Medical_Treatment_Actions {
callbackSuccess = QFUNC(treatmentAdvanced_CancelRecoveryPosition);
};
class CheckPulse;
class CheckAirway: checkPulse {
class CheckAirway: CheckPulse {
displayName = CSTRING(checkAirway);
displayNameProgress = CSTRING(action_checking);
category = "airway";
Expand Down
10 changes: 5 additions & 5 deletions addons/airway/functions/fnc_updateInjuryList.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -164,12 +164,12 @@ if (_target getVariable [QGVAR(recovery), false]) then {

// Display cyanosis in overview tab, only when head/arms are selected
if (EGVAR(breathing,cyanosisShowInMenu) && (_selectionN in [0,2,3])) then {
private _spO2 = 0;
if (alive _target) then {
private _spO2 = 0;
if (alive _target) then {
_spO2 = GET_SPO2(_target);
};
};
if (_spO2 <= EGVAR(breathing,slightValue) || HAS_TOURNIQUET_APPLIED_ON(_target,_selectionN)) then {
private _cyanosisArr = switch (true) do {
case (HAS_TOURNIQUET_APPLIED_ON(_target,_selectionN));
Expand Down
Loading

0 comments on commit ec71fbf

Please sign in to comment.