#include <OutGauge.h>
|
enum | {
OG_SHIFT = 1,
OG_CTRL = 2,
OG_TURBO = 8192,
OG_KM = 16384,
OG_BAR = 32768
} |
|
enum | {
DL_SHIFT = BITMASK(1),
DL_FULLBEAM = BITMASK(2),
DL_HANDBRAKE = BITMASK(3),
DL_PITSPEED = BITMASK(4),
DL_TC = BITMASK(5),
DL_SIGNAL_L = BITMASK(6),
DL_SIGNAL_R = BITMASK(7),
DL_SIGNAL_ANY = BITMASK(8),
DL_OILWARN = BITMASK(9),
DL_BATTERY = BITMASK(10),
DL_ABS = BITMASK(11),
DL_SPARE = BITMASK(12),
DL_NUM = BITMASK(13)
} |
|
|
| PACK (struct OutGaugePack { unsigned int Time;char Car[4];unsigned short Flags;unsigned char Gear;unsigned char PLID;float Speed;float RPM;float Turbo;float EngTemp;float Fuel;float OilPressure;float OilTemp;unsigned int DashLights;unsigned int ShowLights;float Throttle;float Brake;float Clutch;char Display1[16];char Display2[16];int ID;}) |
|
Definition at line 45 of file OutGauge.h.
◆ anonymous enum
Enumerator |
---|
OG_SHIFT | |
OG_CTRL | |
OG_TURBO | |
OG_KM | |
OG_BAR | |
Definition at line 64 of file OutGauge.h.
◆ anonymous enum
Enumerator |
---|
DL_SHIFT | |
DL_FULLBEAM | |
DL_HANDBRAKE | |
DL_PITSPEED | |
DL_TC | |
DL_SIGNAL_L | |
DL_SIGNAL_R | |
DL_SIGNAL_ANY | |
DL_OILWARN | |
DL_BATTERY | |
DL_ABS | |
DL_SPARE | |
DL_NUM | |
Definition at line 73 of file OutGauge.h.
◆ OutGauge()
OutGauge::OutGauge |
( |
void |
| ) |
|
◆ Close()
◆ Connect()
void OutGauge::Connect |
( |
| ) |
|
◆ PACK()
RoR::OutGauge::PACK |
( |
struct OutGaugePack { unsigned int Time;char Car[4];unsigned short Flags;unsigned char Gear;unsigned char PLID;float Speed;float RPM;float Turbo;float EngTemp;float Fuel;float OilPressure;float OilTemp;unsigned int DashLights;unsigned int ShowLights;float Throttle;float Brake;float Clutch;char Display1[16];char Display2[16];int ID;} |
| ) |
|
|
private |
◆ Update()
bool OutGauge::Update |
( |
float |
dt, |
|
|
ActorPtr |
truck |
|
) |
| |
◆ sockfd
int RoR::OutGauge::sockfd |
|
private |
◆ timer
float RoR::OutGauge::timer |
|
private |
◆ working
bool RoR::OutGauge::working |
|
private |
The documentation for this class was generated from the following files: