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,19 +12,14 @@ http://mozilla.org/MPL/2.0/.
*/
//#include "system.hpp"
//#include "classes.hpp"
#pragma hdrstop
#include "stdafx.h"
#include "Traction.h"
#include "mctools.h"
#include "Globals.h"
#include "Usefull.h"
#include "logs.h"
#include "mctools.h"
#include "TractionPower.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
/*
=== Koncepcja dwustronnego zasilania sekcji sieci trakcyjnej, Ra 2014-02 ===
@@ -472,8 +467,8 @@ void TTraction::RaArrayFill(CVertNormTex *Vert)
}
}
if ((Vert - old) != iLines)
WriteLog("!!! Wygenerowano punktów " + AnsiString(Vert - old) + ", powinno być " +
AnsiString(iLines));
WriteLog("!!! Wygenerowano punktów " + std::to_string(Vert - old) + ", powinno być " +
std::to_string(iLines));
};
void TTraction::RenderVBO(float mgn, int iPtr)