diff options
author | rubidium42 <rubidium@openttd.org> | 2021-07-18 11:05:46 +0200 |
---|---|---|
committer | rubidium42 <rubidium42@users.noreply.github.com> | 2021-07-18 11:42:25 +0200 |
commit | 09a7825d1e03de58a5496a3eb11aa7bf6823ae18 (patch) | |
tree | e1d563276dc96ea9582e19d1f7c9f528c52b8c6b /src/newgrf_config.h | |
parent | 3479e59eea1c1a0241497bac28b68dfd8809672b (diff) | |
download | openttd-09a7825d1e03de58a5496a3eb11aa7bf6823ae18.tar.xz |
Remove: the concept of UnknownGRFs
These were filled with "<Unknown>" (before 8a2da49) and later their name would get filled via UDP requests to the server. These UDP packets do not exist anymore, so they will always remain "<Unknown>".
Remove that logic and just use the generic translated error GRF UNKNOWN string instead.
Diffstat (limited to 'src/newgrf_config.h')
-rw-r--r-- | src/newgrf_config.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/newgrf_config.h b/src/newgrf_config.h index 3b3da962e..6f4b5c002 100644 --- a/src/newgrf_config.h +++ b/src/newgrf_config.h @@ -234,10 +234,6 @@ char *GRFBuildParamList(char *dst, const GRFConfig *c, const char *last); /* In newgrf_gui.cpp */ void ShowNewGRFSettings(bool editable, bool show_params, bool exec_changes, GRFConfig **config); -/** For communication about GRFs over the network */ -#define UNKNOWN_GRF_NAME_PLACEHOLDER "<Unknown>" -GRFTextWrapper FindUnknownGRFName(uint32 grfid, uint8 *md5sum, bool create); - void UpdateNewGRFScanStatus(uint num, const char *name); void UpdateNewGRFConfigPalette(int32 new_value = 0); |