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

partial replacement of char arrays with std::string; minor updates, fixes and cleanup of mctools

This commit is contained in:
tmj-fstate
2017-01-29 18:12:18 +01:00
parent c3d79e29e2
commit 3c0edb3ec3
10 changed files with 211 additions and 132 deletions

View File

@@ -21,7 +21,11 @@ class TEventLauncher
double UpdatedTime;
double fVal1;
double fVal2;
char *szText;
#ifdef EU07_USE_OLD_TEVENTLAUNCHER_TEXT_ARRAY
char * szText;
#else
std::string szText;
#endif
int iHour, iMinute; // minuta uruchomienia
public:
double dRadius;
@@ -33,7 +37,9 @@ class TEventLauncher
TMemCell *MemCell;
int iCheckMask;
TEventLauncher();
#ifdef EU07_USE_OLD_TEVENTLAUNCHER_TEXT_ARRAY
~TEventLauncher();
#endif
void Init();
bool Load(cParser *parser);
bool Render();