mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 19:49:19 +02:00
merge
This commit is contained in:
23
Globals.h
23
Globals.h
@@ -110,7 +110,8 @@ const int k_Active = 71;
|
||||
// Winger 020304
|
||||
const int k_Battery = 72;
|
||||
const int k_WalkMode = 73;
|
||||
const int MaxKeys = 74;
|
||||
int const k_DimHeadlights = 74;
|
||||
const int MaxKeys = 75;
|
||||
|
||||
// klasy dla wskaźników globalnych
|
||||
class TGround;
|
||||
@@ -162,7 +163,6 @@ private:
|
||||
class Global
|
||||
{
|
||||
private:
|
||||
static GLuint iTextureId; // ostatnio użyta tekstura 2D
|
||||
public:
|
||||
// double Global::tSinceStart;
|
||||
static int Keys[MaxKeys];
|
||||
@@ -199,11 +199,7 @@ class Global
|
||||
static TGround *pGround;
|
||||
static std::string szDefaultExt;
|
||||
static std::string SceneryFile;
|
||||
static char CreatorName1[20];
|
||||
static char CreatorName2[20];
|
||||
static char CreatorName3[20];
|
||||
static char CreatorName4[30];
|
||||
static char CreatorName5[30];
|
||||
static std::string AppName;
|
||||
static std::string asCurrentSceneryPath;
|
||||
static std::string asCurrentTexturePath;
|
||||
static std::string asCurrentDynamicPath;
|
||||
@@ -243,7 +239,6 @@ class Global
|
||||
static int iSlowMotion;
|
||||
static TDynamicObject *changeDynObj;
|
||||
static double ABuDebug;
|
||||
static bool detonatoryOK;
|
||||
static std::string asSky;
|
||||
static bool bnewAirCouplers;
|
||||
// Ra: nowe zmienne globalne
|
||||
@@ -254,12 +249,9 @@ class Global
|
||||
static int iDynamicFiltering; // domyślne rozmywanie tekstur pojazdów
|
||||
static int iReCompile; // zwiększany, gdy trzeba odświeżyć siatki
|
||||
static bool bUseVBO; // czy jest VBO w karcie graficznej
|
||||
static std::string LastGLError;
|
||||
static int iFeedbackMode; // tryb pracy informacji zwrotnej
|
||||
static int iFeedbackPort; // dodatkowy adres dla informacji zwrotnych
|
||||
static double fOpenGL; // wersja OpenGL - przyda się
|
||||
/*
|
||||
static bool bOpenGL_1_5; // czy są dostępne funkcje OpenGL 1.5
|
||||
*/
|
||||
static double fLuminance; // jasność światła do automatycznego zapalania
|
||||
static float SunAngle; // angle of the sun relative to horizon
|
||||
static int iMultiplayer; // blokada działania niektórych eventów na rzecz kominikacji
|
||||
@@ -273,13 +265,12 @@ class Global
|
||||
static int iCameraLast;
|
||||
static std::string asRelease; // numer
|
||||
static std::string asVersion; // z opisem
|
||||
static int
|
||||
iViewMode; // co aktualnie widać: 0-kabina, 1-latanie, 2-sprzęgi, 3-dokumenty, 4-obwody
|
||||
static GLint iMaxTextureSize; // maksymalny rozmiar tekstury
|
||||
static int iTextMode; // tryb pracy wyświetlacza tekstowego
|
||||
static int iScreenMode[12]; // numer ekranu wyświetlacza tekstowego
|
||||
static bool bDoubleAmbient; // podwójna jasność ambient
|
||||
static double fMoveLight; // numer dnia w roku albo -1
|
||||
static bool FakeLight; // toggle between fixed and dynamic daylight
|
||||
static bool bSmoothTraction; // wygładzanie drutów
|
||||
static double fSunDeclination; // deklinacja Słońca
|
||||
static double fTimeSpeed; // przyspieszenie czasu, zmienna do testów
|
||||
@@ -289,6 +280,7 @@ class Global
|
||||
static std::string szTexturesTGA; // lista tekstur od TGA
|
||||
static std::string szTexturesDDS; // lista tekstur od DDS
|
||||
static int iMultisampling; // tryb antyaliasingu: 0=brak,1=2px,2=4px,3=8px,4=16px
|
||||
static bool DLFont; // switch indicating presence of basic font
|
||||
static bool bGlutFont; // tekst generowany przez GLUT
|
||||
static int iKeyLast; // ostatnio naciśnięty klawisz w celu logowania
|
||||
static int iPause; // globalna pauza ruchu: b0=start,b1=klawisz,b2=tło,b3=lagi,b4=wczytywanie
|
||||
@@ -324,11 +316,11 @@ class Global
|
||||
// informacje podczas kalibracji
|
||||
static double fBrakeStep; // krok zmiany hamulca dla klawiszy [Num3] i [Num9]
|
||||
static bool bJoinEvents; // czy grupować eventy o tych samych nazwach
|
||||
static bool bSmudge; // czy wyświetlać smugę, a pojazd użytkownika na końcu
|
||||
/*
|
||||
static std::string asTranscript[5]; // napisy na ekranie (widoczne)
|
||||
*/
|
||||
static TTranscripts tranTexts; // obiekt obsługujący stenogramy dźwięków na ekranie
|
||||
static float4 UITextColor; // base color of UI text
|
||||
static std::string asLang; // domyślny język - http://tools.ietf.org/html/bcp47
|
||||
static int iHiddenEvents; // czy łączyć eventy z torami poprzez nazwę toru
|
||||
static TTextSound *tsRadioBusy[10]; // zajętość kanałów radiowych (wskaźnik na odgrywany dźwięk)
|
||||
@@ -372,6 +364,7 @@ class Global
|
||||
float3 direction;
|
||||
float3 color;
|
||||
float3 ambient;
|
||||
float intensity;
|
||||
};
|
||||
|
||||
static daylight_s daylight;
|
||||
|
||||
Reference in New Issue
Block a user