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

removed dependencies on the old parser. The code can now be compiled outside of Borland C++

This commit is contained in:
tmj-fstate
2017-01-15 15:04:17 +01:00
parent 7df7c8b76e
commit 15cf3d73a8
87 changed files with 3395 additions and 3232 deletions

View File

@@ -12,14 +12,13 @@ http://mozilla.org/MPL/2.0/.
*/
// nagłówki identyczne w każdym pliku...
#pragma hdrstop
#include "stdafx.h"
#include "Track.h"
#include "Globals.h"
#include "Logs.h"
#include "Usefull.h"
#include "Texture.h"
#include "Timer.h"
#include "Globals.h"
#include "Ground.h"
#include "parser.h"
#include "Mover.h"
@@ -28,8 +27,6 @@ http://mozilla.org/MPL/2.0/.
#include "MemCell.h"
#include "Event.h"
#pragma package(smart_init)
// 101206 Ra: trapezoidalne drogi i tory
// 110720 Ra: rozprucie zwrotnicy i odcinki izolowane
@@ -3136,13 +3133,13 @@ void TTrack::ConnectionsLog()
for (i = 0; i < 2; ++i)
{
if (SwitchExtension->pPrevs[i])
WriteLog("Point " + to_string(i + i + 1) + " -> track " +
WriteLog("Point " + std::to_string(i + i + 1) + " -> track " +
SwitchExtension->pPrevs[i]->pMyNode->asName + ":" +
to_string(int(SwitchExtension->iPrevDirection[i])));
std::to_string(int(SwitchExtension->iPrevDirection[i])));
if (SwitchExtension->pNexts[i])
WriteLog("Point " + to_string(i + i + 2) + " -> track " +
WriteLog("Point " + std::to_string(i + i + 2) + " -> track " +
SwitchExtension->pNexts[i]->pMyNode->asName + ":" +
to_string(int(SwitchExtension->iNextDirection[i])));
std::to_string(int(SwitchExtension->iNextDirection[i])));
}
};