1
0
Fork 0

GIT: Update 2019 to 2020

This commit is contained in:
Josh Davidson 2020-04-18 01:36:46 -04:00
parent 158e7286a9
commit 60bdf8f08e
46 changed files with 46 additions and 46 deletions

View file

@ -1,7 +1,7 @@
# Aircraft Config Center
# Joshua Davidson (Octal450)
# Copyright (c) 2019 Joshua Davidson (Octal450)
# Copyright (c) 2020 Josh Davidson (Octal450)
var spinning = maketimer(0.05, func {
var spinning = getprop("systems/acconfig/spinning");

View file

@ -1,6 +1,6 @@
# A3XX IESI
# Copyright (c) 2019 Joshua Davidson (Octal450)
# Copyright (c) 2020 Josh Davidson (Octal450)
var IESI = nil;
var IESI_display = nil;

View file

@ -1,6 +1,6 @@
# A3XX Lower ECAM Canvas
# Copyright (c) 2019 Joshua Davidson (Octal450)
# Copyright (c) 2020 Josh Davidson (Octal450)
var lowerECAM_apu = nil;
var lowerECAM_bleed = nil;

View file

@ -1,6 +1,6 @@
# A3XX mCDU by Joshua Davidson (Octal450), Jonathan Redpath, and Matthew Maring (hayden2000)
# Copyright (c) 2019 Joshua Davidson (Octal450)
# Copyright (c) 2020 Josh Davidson (Octal450)
# Copyright (c) 2020 Matthew Maring (hayden2000)
var MCDU_1 = nil;

View file

@ -2,7 +2,7 @@
# Joshua Davidson (Octal450)
# Based on work by artix
# Copyright (c) 2019 Joshua Davidson (Octal450)
# Copyright (c) 2020 Josh Davidson (Octal450)
var get_local_path = func(file){
var aircraft_dir = split("/", getprop("/sim/aircraft-dir"))[-1];

View file

@ -2,7 +2,7 @@
# Joshua Davidson (Octal450)
# Based on work by artix
# Copyright (c) 2019 Joshua Davidson (Octal450)
# Copyright (c) 2020 Josh Davidson (Octal450)
var A3XXRouteDriver = {
new: func(){

View file

@ -1,6 +1,6 @@
# A3XX ND Canvas
# Copyright (c) 2019 Joshua Davidson (Octal450)
# Copyright (c) 2020 Josh Davidson (Octal450)
io.include("A3XX_ND.nas");

View file

@ -2,7 +2,7 @@
# Joshua Davidson (Octal450)
# Based on work by artix
# Copyright (c) 2019 Joshua Davidson (Octal450)
# Copyright (c) 2020 Josh Davidson (Octal450)
canvas.NDConfig = {
properties: {

View file

@ -2,7 +2,7 @@
# Joshua Davidson (Octal450)
# Based on work by artix
# Copyright (c) 2019 Joshua Davidson (Octal450)
# Copyright (c) 2020 Josh Davidson (Octal450)
canvas.RouteDriver = {
new: func(){

View file

@ -2,7 +2,7 @@
# Joshua Davidson (Octal450)
# Based on work by artix
# Copyright (c) 2019 Joshua Davidson (Octal450)
# Copyright (c) 2020 Josh Davidson (Octal450)
var assert_m = canvas.assert_m;

View file

@ -2,7 +2,7 @@
# Joshua Davidson (Octal450)
# Based on work by artix
# Copyright (c) 2019 Joshua Davidson (Octal450)
# Copyright (c) 2020 Josh Davidson (Octal450)
# Override FGDATA/Nasal/canvas/map/navdisplay.mfd

View file

@ -2,7 +2,7 @@
# Joshua Davidson (Octal450)
# Based on work by artix
# Copyright (c) 2019 Joshua Davidson (Octal450)
# Copyright (c) 2020 Josh Davidson (Octal450)
var SymbolPainter = {
aircraft_dir: nil,

View file

@ -2,7 +2,7 @@
# Joshua Davidson (Octal450)
# Based on work by artix
# Copyright (c) 2019 Joshua Davidson (Octal450)
# Copyright (c) 2020 Josh Davidson (Octal450)
var version = getprop("sim/version/flightgear");
var v = split(".", version);

View file

@ -2,7 +2,7 @@
# Joshua Davidson (Octal450)
# Based on work by artix
# Copyright (c) 2019 Joshua Davidson (Octal450)
# Copyright (c) 2020 Josh Davidson (Octal450)
var ALWAYS = func 1;
var NOTHING = func nil;

View file

@ -1,6 +1,6 @@
# A3XX PFD
# Copyright (c) 2019 Joshua Davidson (Octal450)
# Copyright (c) 2020 Josh Davidson (Octal450)
var PFD_1 = nil;
var PFD_2 = nil;

View file

@ -1,6 +1,6 @@
# A3XX Upper ECAM Canvas
# Copyright (c) 2019 Joshua Davidson (Octal450)
# Copyright (c) 2020 Josh Davidson (Octal450)
var upperECAM_cfm_eis2 = nil;
var upperECAM_iae_eis2 = nil;

View file

@ -1,7 +1,7 @@
# A3XX ECAM
# Joshua Davidson (Octal450) and Jonathan Redpath (legoboyvdlp)
# Copyright (c) 2019 Joshua Davidson (Octal450) and Jonathan Redpath (legoboyvdlp)
# Copyright (c) 2020 Josh Davidson (Octal450) and Jonathan Redpath (legoboyvdlp)
var ap_active = 0;
var athr_active = 0;

View file

@ -1,7 +1,7 @@
# Airbus A3XX FBW/Flight Control Computer System
# Joshua Davidson (Octal450)
# Copyright (c) 2019 Joshua Davidson (Octal450)
# Copyright (c) 2020 Josh Davidson (Octal450)
# If All ELACs Fail, Alternate Law

View file

@ -1,6 +1,6 @@
# A3XX FCU by Joshua Davidson (Octal450) and Jonathan Redpath (legoboyvdlp)
# Copyright (c) 2019 Joshua Davidson (Octal450), Jonathan Redpath (legoboyvdlp)
# Copyright (c) 2020 Josh Davidson (Octal450), Jonathan Redpath (legoboyvdlp)
# Nodes
var fd1 = props.globals.getNode("it-autoflight/output/fd1", 1);

View file

@ -1,6 +1,6 @@
# A3XX FMGC Autopilot
# Based off IT-AUTOFLIGHT System Controller V4.0.X
# Copyright (c) 2019 Joshua Davidson (Octal450)
# Copyright (c) 2020 Josh Davidson (Octal450)
# Initialize all used variables and property nodes
# Sim

View file

@ -1,7 +1,7 @@
# A3XX FMGC/Autoflight
# Joshua Davidson (Octal450) and Jonathan Redpath (legoboyvdlp)
# Copyright (c) 2019 Joshua Davidson (Octal450)
# Copyright (c) 2020 Josh Davidson (Octal450)
setprop("FMGC/internal/cruise-ft", 10000);
setprop("it-autoflight/internal/alt", 10000);

View file

@ -1,7 +1,7 @@
# A3XX FMGC/Autoflight
# Joshua Davidson (Octal450) and Jonathan Redpath (legoboyvdlp)
# Copyright (c) 2019 Joshua Davidson (Octal450)
# Copyright (c) 2020 Josh Davidson (Octal450)
##################
# Init Functions #

View file

@ -1,6 +1,6 @@
# A3XX mCDU by Joshua Davidson (Octal450), Jonathan Redpath, and Matthew Maring (hayden2000)
# Copyright (c) 2019 Joshua Davidson (Octal450)
# Copyright (c) 2020 Josh Davidson (Octal450)
var dataInput = func(key, i) {
if (key == "L1") {

View file

@ -1,6 +1,6 @@
# A3XX mCDU by Joshua Davidson (Octal450), Jonathan Redpath, and Matthew Maring (hayden2000)
# Copyright (c) 2019 Joshua Davidson (Octal450)
# Copyright (c) 2020 Josh Davidson (Octal450)
# Copyright (c) 2020 Matthew Maring (hayden2000)
var initInputA = func(key, i) {

View file

@ -1,6 +1,6 @@
# A3XX mCDU by Joshua Davidson (Octal450), Jonathan Redpath, and Matthew Maring (hayden2000)
# Copyright (c) 2019 Joshua Davidson (Octal450)
# Copyright (c) 2020 Josh Davidson (Octal450)
# Copyright (c) 2020 Matthew Maring (hayden2000)
var MCDU_init = func(i) {

View file

@ -1,6 +1,6 @@
# A3XX mCDU by Joshua Davidson (Octal450), Jonathan Redpath, and Matthew Maring (hayden2000)
# Copyright (c) 2019 Joshua Davidson (Octal450)
# Copyright (c) 2020 Josh Davidson (Octal450)
# Copyright (c) 2020 Matthew Maring (hayden2000)
var perfTOInput = func(key, i) {

View file

@ -1,6 +1,6 @@
# A3XX mCDU by Joshua Davidson (Octal450), Jonathan Redpath, and Matthew Maring (hayden2000)
# Copyright (c) 2019 Joshua Davidson (Octal450)
# Copyright (c) 2020 Josh Davidson (Octal450)
var radnavInput = func(key, i) {
var scratchpad = getprop("MCDU[" ~ i ~ "]/scratchpad");

View file

@ -1,6 +1,6 @@
# A3XX mCDU by Joshua Davidson (Octal450), Jonathan Redpath, and Matthew Maring (hayden2000)
# Copyright (c) 2019 Joshua Davidson (Octal450)
# Copyright (c) 2020 Josh Davidson (Octal450)
var statusInput = func(key, i) {
if (key == "L3") {

View file

@ -1,7 +1,7 @@
# A3XX Buttons
# Joshua Davidson (Octal450)
# Copyright (c) 2019 Joshua Davidson (Octal450)
# Copyright (c) 2020 Josh Davidson (Octal450)
# Resets buttons to the default values
var variousReset = func {

View file

@ -1,7 +1,7 @@
# A320 Main Libraries
# Joshua Davidson (Octal450)
# Copyright (c) 2019 Joshua Davidson (Octal450)
# Copyright (c) 2020 Josh Davidson (Octal450)
print("-----------------------------------------------------------------------------");
print("Copyright (c) 2016-2019 Joshua Davidson (Octal450)");

View file

@ -1,5 +1,5 @@
# A320 Property Tree Setup
# Copyright (c) 2019 Joshua Davidson (Octal450)
# Copyright (c) 2020 Josh Davidson (Octal450)
# Modified by Jonathan Redpath for A320
# Nodes organized like property tree, except when lots of identical (example: Gear wow), where vectors are used to make it easier
# Anything that says Temp is set by another file to avoid multiple getValue calls

View file

@ -1,6 +1,6 @@
# A3XX Shaking
# Copyright (c) 2019 Joshua Davidson (Octal450)
# Copyright (c) 2020 Josh Davidson (Octal450)
var shakeEffectA3XX = props.globals.initNode("/systems/shake/effect", 0, "BOOL");
var shakeA3XX = props.globals.initNode("/systems/shake/shaking", 0, "DOUBLE");

View file

@ -1,5 +1,5 @@
# Distance Zooming
# Copyright (c) 2019 Joshua Davidson (Octal450)
# Copyright (c) 2020 Josh Davidson (Octal450)
# Based on PropertyRule file by onox
var distance = 0;

View file

@ -1,7 +1,7 @@
# A3XX ADIRS System
# Joshua Davidson (Octal450)
# Copyright (c) 2019 Joshua Davidson (Octal450)
# Copyright (c) 2020 Josh Davidson (Octal450)
var ADIRS = {
init: func() {
setprop("controls/adirs/mcdu/mode1", ""); # INVAL ALIGN NAV ATT or off (blank)

View file

@ -1,7 +1,7 @@
# A3XX IAE V2500 Engine
# Joshua Davidson (Octal450)
# Copyright (c) 2019 Joshua Davidson (Octal450)
# Copyright (c) 2020 Josh Davidson (Octal450)
#####################
# Initializing Vars #

View file

@ -1,7 +1,7 @@
# A3XX Engine Control
# Joshua Davidson (Octal450)
# Copyright (c) 2019 Joshua Davidson (Octal450)
# Copyright (c) 2020 Josh Davidson (Octal450)
if (getprop("options/eng") == "IAE") {
io.include("engines-iae.nas");

View file

@ -1,7 +1,7 @@
# A3XX IAE V2500 Engine
# Joshua Davidson (Octal450)
# Copyright (c) 2019 Joshua Davidson (Octal450)
# Copyright (c) 2020 Josh Davidson (Octal450)
#####################
# Initializing Vars #

View file

@ -1,6 +1,6 @@
# A3XX CFM FADEC by Joshua Davidson (Octal450)
# Copyright (c) 2019 Joshua Davidson (Octal450)
# Copyright (c) 2020 Josh Davidson (Octal450)
setprop("systems/fadec/n1mode1", 0); # Doesn't do anything, just here for other logic #
setprop("systems/fadec/n1mode2", 0); # Doesn't do anything, just here for other logic #

View file

@ -1,6 +1,6 @@
# A3XX FADEC/Throttle Control System
# Copyright (c) 2019 Joshua Davidson (Octal450)
# Copyright (c) 2020 Josh Davidson (Octal450)
if (getprop("options/eng") == "IAE") {
io.include("fadec-iae.nas");

View file

@ -1,6 +1,6 @@
# A3XX IAE FADEC by Joshua Davidson (Octal450)
# Copyright (c) 2019 Joshua Davidson (Octal450)
# Copyright (c) 2020 Josh Davidson (Octal450)
setprop("controls/fadec/n1mode1", 0);
setprop("controls/fadec/n1mode2", 0);

View file

@ -1,7 +1,7 @@
# A3XX Autobrake
# Joshua Davidson (Octal450)
# Copyright (c) 2019 Joshua Davidson (Octal450)
# Copyright (c) 2020 Josh Davidson (Octal450)
var thr1 = 0;
var thr2 = 0;

View file

@ -1,6 +1,6 @@
# A3XX EFIS controller by Joshua Davidson (Octal450).
# Copyright (c) 2019 Joshua Davidson (Octal450)
# Copyright (c) 2020 Josh Davidson (Octal450)
setlistener("sim/signals/fdm-initialized", func {
setprop("instrumentation/efis[0]/nd/display-mode", "NAV");

View file

@ -1,7 +1,7 @@
# A3XX Fire System
# Jonathan Redpath
# Copyright (c) 2019 Joshua Davidson (Octal450)
# Copyright (c) 2020 Josh Davidson (Octal450)
var elapsedTime = props.globals.getNode("sim/time/elapsed-sec");
var apuTestBtn = props.globals.getNode("controls/fire/apu-test-btn", 1);

View file

@ -1,7 +1,7 @@
# A3XX Fuel System
# Joshua Davidson (Octal450)
# Copyright (c) 2019 Joshua Davidson (Octal450)
# Copyright (c) 2020 Josh Davidson (Octal450)
var FUEL = {
offset1: 0,

View file

@ -1,7 +1,7 @@
# A3XX Icing System
# Jonathan Redpath (legoboyvdlp)
# Copyright (c) 2019 Joshua Davidson (Octal450)
# Copyright (c) 2020 Josh Davidson (Octal450)
### Ice sensitive components definition.

View file

@ -1,7 +1,7 @@
# A3XX Pneumatic System
# Joshua Davidson (Octal450) and Jonathan Redpath (legoboyvdlp)
# Copyright (c) 2019 Joshua Davidson (Octal450)
# Copyright (c) 2020 Josh Davidson (Octal450)
var altitude = 0;
var bleed1_sw = 0;