Avionics
Dropship Simulator
BaseComponent.h
Go to the documentation of this file.
1
#pragma once
2
4
#include <WinSock2.h>
5
#include <Windows.h>
6
#include <WS2tcpip.h>
7
#include "DXUT.h"
// for D3DXVECTOR3
8
9
#include "
Enumerations.h
"
10
#include <string>
11
12
namespace
Systems
13
{
14
class
BaseComponent
15
{
16
public
:
17
GUID
guid
;
18
std::string
guidStr
;
19
20
System
system
;
21
D3DXVECTOR3
location
;
// we don't care about size or orientation at this point
22
24
float
capacityPressureEtc
;
26
float
propogatedLoad
;
27
28
int
hpPhysical
;
// for connectors this is generalized per system
29
int
hpEnergy
;
// for connectors this is generalized per system
30
float
hpPhysicalRemaining
;
// no one gets to know this?
31
float
hpEnergyRemaining
;
// no one gets to know this?
32
33
Fault
fault
=
Fault::NoSignal
;
// signal fault for data, leak for pumps/reservoirs, smoke/fire?
34
};
35
}
Systems::BaseComponent::propogatedLoad
float propogatedLoad
propogated demand
Definition:
BaseComponent.h:26
Systems
These have to be in this order.
Definition:
BaseComponent.h:12
Systems::BaseComponent::hpPhysical
int hpPhysical
Definition:
BaseComponent.h:28
Systems::BaseComponent::hpPhysicalRemaining
float hpPhysicalRemaining
Definition:
BaseComponent.h:30
Systems::BaseComponent::fault
Fault fault
Definition:
BaseComponent.h:33
Systems::BaseComponent::hpEnergy
int hpEnergy
Definition:
BaseComponent.h:29
Systems::BaseComponent::guid
GUID guid
Definition:
BaseComponent.h:17
Systems::BaseComponent::capacityPressureEtc
float capacityPressureEtc
propogated supply
Definition:
BaseComponent.h:24
Systems::BaseComponent::hpEnergyRemaining
float hpEnergyRemaining
Definition:
BaseComponent.h:31
Systems::BaseComponent::system
System system
Definition:
BaseComponent.h:20
Systems::BaseComponent::guidStr
std::string guidStr
Definition:
BaseComponent.h:18
Systems::BaseComponent
Definition:
BaseComponent.h:14
Systems::System
System
Definition:
Enumerations.h:5
Systems::BaseComponent::location
D3DXVECTOR3 location
Definition:
BaseComponent.h:21
Enumerations.h
Systems::Fault
Fault
Definition:
Enumerations.h:57
Systems::NoSignal
Definition:
Enumerations.h:60
BaseComponent.h
Generated on Sat Feb 13 2021 09:30:40 for Avionics by
1.8.14