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

maintenance: removed deprecated ground code

This commit is contained in:
tmj-fstate
2017-10-28 16:18:53 +02:00
parent 4ce975a656
commit da396836e0
31 changed files with 288 additions and 1777 deletions

View File

@@ -15,8 +15,8 @@ http://mozilla.org/MPL/2.0/.
#include "stdafx.h"
#include "TractionPower.h"
#include "Logs.h"
#include "Ground.h"
//---------------------------------------------------------------------------
@@ -36,16 +36,11 @@ void TTractionPowerSource::Init(double const u, double const i)
bool TTractionPowerSource::Load(cParser *parser) {
#ifdef EU07_USE_OLD_GROUNDCODE
parser->getTokens( 7, false );
*parser
#else
parser->getTokens( 10, false );
*parser
>> m_area.center.x
>> m_area.center.y
>> m_area.center.z
#endif
>> NominalVoltage
>> VoltageFrequency
>> InternalRes