|
OpenTTD Source 20260704-master-gbf70c61fb8
|
Information about the presence of a Grf at a certain point during gamelog history Note about missing Grfs: Changes to missing Grfs are not logged including manual removal of the Grf. More...
#include <gamelog_internal.h>
Public Member Functions | |
| GRFPresence (const GRFConfig *gc) | |
| Create the presence. | |
| GRFPresence ()=default | |
| Create an empty presence. | |
Data Fields | |
| const GRFConfig * | gc = nullptr |
| GRFConfig, if known. | |
| bool | was_missing = false |
| Grf was missing during some gameload in the past. | |
Information about the presence of a Grf at a certain point during gamelog history Note about missing Grfs: Changes to missing Grfs are not logged including manual removal of the Grf.
So if the gamelog tells a Grf is missing we do not know whether it was re-added or completely removed at some later point.
Definition at line 24 of file gamelog_internal.h.
|
inline |
Create the presence.
| gc | The configuration of the NewGRF. |
Definition at line 32 of file gamelog_internal.h.
References gc.
| const GRFConfig* GRFPresence::gc = nullptr |
| bool GRFPresence::was_missing = false |
Grf was missing during some gameload in the past.
Definition at line 26 of file gamelog_internal.h.