mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-20 22:59:18 +02:00
refactored mouse input processor, tweaks to mouse input support, fix for diesel engine compressor, added progress bar label
This commit is contained in:
@@ -48,6 +48,7 @@ bool Global::ctrlState;
|
||||
int Global::iCameraLast = -1;
|
||||
std::string Global::asVersion = "couldn't retrieve version string";
|
||||
bool Global::ControlPicking = false; // indicates controls pick mode is enabled
|
||||
bool Global::InputMouse = true; // whether control pick mode can be activated
|
||||
int Global::iTextMode = 0; // tryb pracy wyświetlacza tekstowego
|
||||
int Global::iScreenMode[12] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; // numer ekranu wyświetlacza tekstowego
|
||||
double Global::fSunDeclination = 0.0; // deklinacja Słońca
|
||||
@@ -371,6 +372,11 @@ void Global::ConfigParse(cParser &Parser)
|
||||
Parser.getTokens(2, false);
|
||||
Parser >> Global::fMouseXScale >> Global::fMouseYScale;
|
||||
}
|
||||
else if( token == "mousecontrol" ) {
|
||||
// whether control pick mode can be activated
|
||||
Parser.getTokens();
|
||||
Parser >> Global::InputMouse;
|
||||
}
|
||||
else if (token == "enabletraction")
|
||||
{
|
||||
// Winger 040204 - 'zywe' patyki dostosowujace sie do trakcji; Ra 2014-03: teraz łamanie
|
||||
|
||||
Reference in New Issue
Block a user