aboutsummaryrefslogtreecommitdiff
path: root/advtrains/models/advtrains_dtrack_cr_60.b3d
diff options
context:
space:
mode:
authororwell96 <orwell@bleipb.de>2023-04-12 21:31:14 +0200
committerorwell96 <orwell@bleipb.de>2023-05-27 12:26:15 +0200
commitbc8c04d146cea83e6b7c6e63c1778abff6cd0b68 (patch)
treea6bc6842edefd8df862635e32ad48d68be1a80ea /advtrains/models/advtrains_dtrack_cr_60.b3d
parentf693e1e6d09b15391b4ff6a795e854f485ac4178 (diff)
downloadadvtrains-bc8c04d146cea83e6b7c6e63c1778abff6cd0b68.tar.gz
advtrains-bc8c04d146cea83e6b7c6e63c1778abff6cd0b68.tar.bz2
advtrains-bc8c04d146cea83e6b7c6e63c1778abff6cd0b68.zip
Trackmap: get started
Diffstat (limited to 'advtrains/models/advtrains_dtrack_cr_60.b3d')
0 files changed, 0 insertions, 0 deletions
aced block at (12,4,-5)") */ LMT_INFO, /* More deep info ("saving map on disk (only_modified=true)") */ LMT_VERBOSE, /* Flood-style ("loaded block (2,2,2) from disk") */ LMT_NUM_VALUES, }; class ILogOutput { public: /* line: Full line with timestamp, level and thread */ virtual void printLog(const std::string &line){}; /* line: Full line with timestamp, level and thread */ virtual void printLog(const std::string &line, enum LogMessageLevel lev){}; /* line: Only actual printed text */ virtual void printLog(enum LogMessageLevel lev, const std::string &line){}; }; void log_add_output(ILogOutput *out, enum LogMessageLevel lev); void log_add_output_maxlev(ILogOutput *out, enum LogMessageLevel lev); void log_add_output_all_levs(ILogOutput *out); void log_remove_output(ILogOutput *out); void log_register_thread(const std::string &name); void log_deregister_thread(); void log_printline(enum LogMessageLevel lev, const std::string &text); #define LOGLINEF(lev, ...)\ {\ char buf[10000];\ snprintf(buf, 10000, __VA_ARGS__);\ log_printline(lev, buf);\ } extern std::ostream errorstream; extern std::ostream actionstream; extern std::ostream infostream; extern std::ostream verbosestream; extern bool log_trace_level_enabled; #define TRACESTREAM(x){ if(log_trace_level_enabled) verbosestream x; } #define TRACEDO(x){ if(log_trace_level_enabled){ x ;} } #endif