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

AI check which semaphor is nearest and stop to trace route behind. Tracing always >= 1500m. Log could be write without new line.

This commit is contained in:
firleju
2016-01-26 23:04:21 +01:00
parent e8ac8a7d09
commit 9ddc1120df
4 changed files with 154 additions and 47 deletions

6
Logs.h
View File

@@ -12,11 +12,11 @@ http://mozilla.org/MPL/2.0/.
#include <system.hpp>
void WriteConsoleOnly(const char *str, double value);
void WriteConsoleOnly(const char *str);
void WriteConsoleOnly(const char *str, bool newline = true);
void WriteLog(const char *str, double value);
void WriteLog(const char *str);
void WriteLog(const char *str, bool newline = true);
void Error(const AnsiString &asMessage, bool box = true);
void ErrorLog(const AnsiString &asMessage);
void WriteLog(const AnsiString &str);
void WriteLog(const AnsiString &str, bool newline = true);
//---------------------------------------------------------------------------
#endif