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

Dalsze poprawki do AnsiString w różnych plikach.

This commit is contained in:
firleju
2016-10-23 22:34:32 +02:00
parent 89756e81a1
commit 28d5be7363
18 changed files with 82 additions and 62 deletions

View File

@@ -8,6 +8,9 @@
#include "Model3d.h"
#include <vector>
#include <set>
#include <string>
using namespace std;
#define PyGetFloat(param) PyFloat_FromDouble(param >= 0 ? param : -param)
#define PyGetFloatS(param) PyFloat_FromDouble(param)
@@ -85,8 +88,8 @@ class TPythonScreens
public:
void reset(void *train);
void setLookupPath(AnsiString path);
void init(TQueryParserComp *parser, TModel3d *model, AnsiString name, int cab);
void setLookupPath(string path);
void init(TQueryParserComp *parser, TModel3d *model, string name, int cab);
void update();
TPythonScreens();
~TPythonScreens();