|
|
@ -146,7 +146,6 @@ namespace CSP {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void JobStartedEvent(color_ostream &out, void* p) {
|
|
|
|
void JobStartedEvent(color_ostream &out, void* p) {
|
|
|
|
if (config.monitor_active) {
|
|
|
|
|
|
|
|
if (enabled && World::isFortressMode() && Maps::IsValid()) {
|
|
|
|
if (enabled && World::isFortressMode() && Maps::IsValid()) {
|
|
|
|
INFO(monitor).print("JobStartedEvent()\n");
|
|
|
|
INFO(monitor).print("JobStartedEvent()\n");
|
|
|
|
auto job = (df::job*) p;
|
|
|
|
auto job = (df::job*) p;
|
|
|
@ -206,7 +205,6 @@ namespace CSP {
|
|
|
|
INFO(monitor).print(" <- JobStartedEvent() exits normally\n");
|
|
|
|
INFO(monitor).print(" <- JobStartedEvent() exits normally\n");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void JobCompletedEvent(color_ostream &out, void* job_ptr) {
|
|
|
|
void JobCompletedEvent(color_ostream &out, void* job_ptr) {
|
|
|
|
if (enabled && World::isFortressMode() && Maps::IsValid()) {
|
|
|
|
if (enabled && World::isFortressMode() && Maps::IsValid()) {
|
|
|
|