From 09a7825d1e03de58a5496a3eb11aa7bf6823ae18 Mon Sep 17 00:00:00 2001 From: rubidium42 Date: Sun, 18 Jul 2021 11:05:46 +0200 Subject: Remove: the concept of UnknownGRFs These were filled with "" (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 "". Remove that logic and just use the generic translated error GRF UNKNOWN string instead. --- src/newgrf_config.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/newgrf_config.h') 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 "" -GRFTextWrapper FindUnknownGRFName(uint32 grfid, uint8 *md5sum, bool create); - void UpdateNewGRFScanStatus(uint num, const char *name); void UpdateNewGRFConfigPalette(int32 new_value = 0); -- cgit v1.2.3-54-g00ecf