Avionics
Dropship Simulator
Enumerations.h
Go to the documentation of this file.
1 #pragma once
2 
3 namespace Systems
4 {
5  enum System
6  {
8  Propulsion, // N1, N2, combustion chamber
9  Hydraulic, // pump, reservoir, actuator
10  Cooling, // pump, reservoir, intercooler, fan
11  Oxidizer, // pump, reservoir
12  Fuel, // pump, reservoir
13  Electrical, // battery, reactor, charger, waveguides
18  Communication // black box
19  };
20 
22  {
24  Reservoir = 0,
36  Actuator = 6,
38  Intercooler = 7, // always part of coolant? what if it is from fuel to oil?
47  Hardpoint = 16,
50  N1_ = 18,
51  N2_ = 19,
52  Motor_ = 20,
54  Igniter_ = 22
55  };
56 
57  enum Fault : DWORD // we get 32 of these that can be combined!
58  {
59  None = 0,
60  NoSignal = 1, // stuck at last value, no signal, collared, random value in range,
61  // for connectors it is OK or NOT and if it is NOT it could be BLOCKED, CUT (fluid leaks)
62  Status1 = 2,
63  Status2 = 4,
64  Status3 = 8
65  };
66 }
Heat exchange.
Definition: Enumerations.h:38
These have to be in this order.
Definition: BaseComponent.h:12
Hard switch.
Definition: Enumerations.h:30
Hydraulic pump.
Definition: Enumerations.h:26
Uses data control to turn on and off flow.
Definition: Enumerations.h:34
Is a real environment-related simulator sensor.
Definition: Enumerations.h:49
Uses control voltage control to turn on and off flow.
Definition: Enumerations.h:32
Charger, coolant pump, cooling fan motor.
Definition: Enumerations.h:28
Tank, battery.
Definition: Enumerations.h:24