16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-19 09:59: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

@@ -7,28 +7,23 @@ obtain one at
http://mozilla.org/MPL/2.0/.
*/
#include "system.hpp"
#pragma hdrstop
#include "opengl/glew.h"
//#include "opengl/glut.h"
#include "stdafx.h"
#include "Segment.h"
#include "Usefull.h"
#include "opengl/glew.h"
#include "Globals.h"
#include "Logs.h"
#include "Usefull.h"
#include "Track.h"
#include <mctools.h>
//#define Precision 10000
#pragma package(smart_init)
//---------------------------------------------------------------------------
// 101206 Ra: trapezoidalne drogi
// 110806 Ra: odwrócone mapowanie wzdłuż - Point1 == 1.0
string Where(vector3 p)
std::string Where(vector3 p)
{ // zamiana współrzędnych na tekst, używana w błędach
return to_string(p.x) + " " + to_string(p.y) + " " + to_string(p.z);
return std::to_string(p.x) + " " + std::to_string(p.y) + " " + std::to_string(p.z);
};
TSegment::TSegment(TTrack *owner)