OpenTTD Source: GRFPresence Struct Reference

OpenTTD Source 14.0-beta1

Public Member Functions | Data Fields
GRFPresence Struct Reference

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)

## Data Fields
const GRFConfig * | gc
| GRFConfig, if known.
bool | was_missing
| Grf was missing during some gameload in the past.

## Detailed Description

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 readded or completely removed at some later point.

Definition at line 22 of file gamelog_internal.h.

The documentation for this struct was generated from the following file:

- src/gamelog_internal.h