16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-19 13:29:18 +02:00

build 170507. vs2015 compliance

This commit is contained in:
tmj-fstate
2017-05-07 15:30:28 +02:00
parent fc2fc3e27c
commit 3203ad1f6c
2 changed files with 3 additions and 3 deletions

View File

@@ -173,8 +173,8 @@ class TController
double fLastVel = 0.0; // prędkość na poprzednio sprawdzonym torze
TTrack *tLast = nullptr; // ostatni analizowany tor
TEvent *eSignSkip = nullptr; // można pominąć ten SBL po zatrzymaniu
std::size_t SemNextIndex{ -1 };
std::size_t SemNextStopIndex{ -1 };
std::size_t SemNextIndex{ std::size_t(-1) };
std::size_t SemNextStopIndex{ std::size_t( -1 ) };
private: // parametry aktualnego składu
double fLength = 0.0; // długość składu (do wyciągania z ograniczeń)
double fMass = 0.0; // całkowita masa do liczenia stycznej składowej grawitacji

View File

@@ -76,7 +76,7 @@ private:
// members:
GLuint m_fontbase{ -1 }; // numer DL dla znaków w napisach
GLuint m_fontbase{ (GLuint)-1 }; // numer DL dla znaków w napisach
float m_progress{ 0.0f }; // percentage of filled progres bar, to indicate lengthy operations.
float m_subtaskprogress{ 0.0f }; // percentage of filled progres bar, to indicate lengthy operations.
texture_manager::size_type m_background; // path to texture used as the background. size depends on mAspect.