Files
@ r28558:9d9a6cccb728
Branch filter:
Location: cpp/openttd-patchpack/source/src/linkgraph/init.h - annotation
r28558:9d9a6cccb728
454 B
text/x-c
Add: AI/GS Time Mode to choose between economy (default) and calendar time (#11603)
r20341:d334ae194449 r20341:d334ae194449 r20341:d334ae194449 r20341:d334ae194449 r20341:d334ae194449 r20341:d334ae194449 r20341:d334ae194449 r20341:d334ae194449 r23838:bfeaabaa7b1d r20341:d334ae194449 r20341:d334ae194449 r20341:d334ae194449 r20341:d334ae194449 r20341:d334ae194449 r20341:d334ae194449 r20341:d334ae194449 r20341:d334ae194449 r20341:d334ae194449 r27971:716575a43d7f r20341:d334ae194449 r20341:d334ae194449 r20341:d334ae194449 | /** @file init.h Declaration of initializing link graph handler. */
#ifndef INIT_H
#define INIT_H
#include "linkgraphjob_base.h"
/**
* Stateless, thread safe initialization handler. Initializes node and edge
* annotations.
*/
class InitHandler : public ComponentHandler {
public:
/**
* Initialize the link graph job.
* @param job Job to be initialized.
*/
void Run(LinkGraphJob &job) const override { job.Init(); }
};
#endif /* INIT_H */
|