Cofnięcie zmian wyświetlania mechanika; to trzeba dogłębniej przerobić.

Aktualizacja świateł z programatora przy załączaniu baterii tylko gdy ten istnieje.
This commit is contained in:
antonisauren
2016-06-23 20:30:54 +02:00
parent 90ab2a5774
commit ef3e8b5929
5 changed files with 9 additions and 7 deletions

View File

@@ -867,8 +867,7 @@ void __inline TDynamicObject::ABuLittleUpdate(double ObjSqrDist)
if (smWahacze[i])
smWahacze[i]->SetRotate(float3(1, 0, 0),
fWahaczeAmp * cos(MoverParameters->eAngle));
//if (Mechanik && (Controller != Humandriver))
if (DriverType != "") //rysowanie dla pojazdu z obsadą
if (Mechanik && (Controller != Humandriver))
{ // rysowanie figurki mechanika
if (smMechanik0) // mechanik od strony sprzęgu 0
if (smMechanik1) // jak jest drugi, to pierwszego jedynie pokazujemy

View File

@@ -60,7 +60,7 @@ AutoIncBuild=0
MajorVer=16
MinorVer=0
Release=1173
Build=477
Build=478
Debug=1
PreRelease=0
Special=0
@@ -72,7 +72,7 @@ CodePage=1250
[Version Info Keys]
CompanyName=EU07 Team
FileDescription=MaSzyna EU07-424
FileVersion=16.0.1173.477
FileVersion=16.0.1173.478
InternalName=DP+SPKS+asynch+python
LegalCopyright=
LegalTrademarks=

BIN
EU07.res

Binary file not shown.

View File

@@ -49,9 +49,9 @@ double Global::fLuminance = 1.0; // jasno
int Global::iReCompile = 0; // zwiêkszany, gdy trzeba odœwie¿yæ siatki
HWND Global::hWnd = NULL; // uchwyt okna
int Global::iCameraLast = -1;
AnsiString Global::asRelease = "16.0.1172.477";
AnsiString Global::asRelease = "16.0.1172.478";
AnsiString Global::asVersion =
"Compilation 2016-06-10, release " + Global::asRelease + "."; // tutaj, bo wysy³any
"Compilation 2016-06-23, release " + Global::asRelease + "."; // tutaj, bo wysy³any
int Global::iViewMode = 0; // co aktualnie widaæ: 0-kabina, 1-latanie, 2-sprzêgi, 3-dokumenty
int Global::iTextMode = 0; // tryb pracy wyœwietlacza tekstowego
int Global::iScreenMode[12] = {0, 0, 0, 0, 0, 0,

View File

@@ -459,7 +459,10 @@ void TTrain::OnKeyDown(int cKey)
if (mvOccupied->BatterySwitch(true)) // bateria potrzebna np. do zapalenia œwiate³
{
dsbSwitch->Play(0, 0, 0);
SetLights();
if (mvOccupied->LightsPosNo > 0)
{
SetLights();
}
if (TestFlag(mvOccupied->SecuritySystem.SystemType,
2)) // Ra: znowu w kabinie jest coœ, co byæ nie powinno!
{