mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 19:49:19 +02:00
merge
This commit is contained in:
29
Globals.h
29
Globals.h
@@ -238,6 +238,7 @@ class Global
|
||||
static std::string asSky;
|
||||
static bool bnewAirCouplers;
|
||||
// Ra: nowe zmienne globalne
|
||||
static float AnisotropicFiltering; // requested level of anisotropic filtering. TODO: move it to renderer object
|
||||
static int iDefaultFiltering; // domyślne rozmywanie tekstur TGA
|
||||
static int iBallastFiltering; // domyślne rozmywanie tekstury podsypki
|
||||
static int iRailProFiltering; // domyślne rozmywanie tekstury szyn
|
||||
@@ -252,6 +253,9 @@ class Global
|
||||
*/
|
||||
static double fLuminance; // jasność światła do automatycznego zapalania
|
||||
static int iMultiplayer; // blokada działania niektórych eventów na rzecz kominikacji
|
||||
static int ScreenWidth; // current window dimensions. TODO: move it to renderer
|
||||
static int ScreenHeight;
|
||||
static float ZoomFactor; // determines current camera zoom level. TODO: move it to the renderer
|
||||
static GLFWwindow *window;
|
||||
static bool shiftState; //m7todo: brzydko
|
||||
static bool ctrlState;
|
||||
@@ -335,16 +339,19 @@ class Global
|
||||
static double CutValueToRange(double min, double value, double max);
|
||||
|
||||
// maciek001: zmienne dla MWD
|
||||
static bool bMWDdebugEnable;
|
||||
static unsigned int iMWDBaudrate;
|
||||
static std::string sMWDPortId;
|
||||
static bool bMWDBreakEnable;
|
||||
static bool bMWDInputDataEnable;
|
||||
static double fMWDAnalogCalib[4][3];
|
||||
static double fMWDzg[2];
|
||||
static double fMWDpg[2];
|
||||
static double fMWDph[2];
|
||||
static double fMWDvolt[2];
|
||||
static double fMWDamp[2];
|
||||
static bool bMWDmasterEnable; // główne włączenie portu COM
|
||||
static bool bMWDdebugEnable; // logowanie pracy
|
||||
static int iMWDDebugMode;
|
||||
static std::string sMWDPortId; // nazwa portu COM
|
||||
static unsigned long int iMWDBaudrate; // prędkość transmisji
|
||||
static bool bMWDInputEnable; // włącz wejścia
|
||||
static bool bMWDBreakEnable; // włącz wejścia analogowe (hamulce)
|
||||
static double fMWDAnalogInCalib[4][2]; // ustawienia kranów hamulca zespolonego i dodatkowego - min i max
|
||||
static double fMWDzg[2]; // max wartość wskazywana i max wartość generowana (rozdzielczość)
|
||||
static double fMWDpg[2];
|
||||
static double fMWDph[2];
|
||||
static double fMWDvolt[2];
|
||||
static double fMWDamp[2];
|
||||
static int iMWDdivider;
|
||||
};
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user