diff options
author | rubidium <rubidium@openttd.org> | 2006-12-18 12:26:55 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2006-12-18 12:26:55 +0000 |
commit | 78c1aad22cc415e63ea68cfa8afbf54af4aa9841 (patch) | |
tree | 5c4580a0208b984837b37eddd6bec260cc6587cd /newgrf_config.h | |
parent | bc77a4f2b8229f13557316122f4fd07d41c1f471 (diff) | |
download | openttd-78c1aad22cc415e63ea68cfa8afbf54af4aa9841.tar.xz |
(svn r7505) -Feature: show NewGRFs used on a game server, show which NewGRFs you do and do not have.
-Feature: show NewGRF compatability of network games in the Game List window; a green square if you got the same OpenTTD version and have the needed NewGRF, a red square if the version does not match and a yellow square if the version matches, but the client is missing at least one of the NewGRFs.
Diffstat (limited to 'newgrf_config.h')
-rw-r--r-- | newgrf_config.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/newgrf_config.h b/newgrf_config.h index 2cee7429b..42ab2feef 100644 --- a/newgrf_config.h +++ b/newgrf_config.h @@ -11,6 +11,7 @@ enum { GCF_SYSTEM, GCF_UNSAFE, GCF_STATIC, + GCF_COPY, ///< The data is copied from a grf in _all_grfs }; typedef struct GRFConfig { @@ -52,4 +53,8 @@ char *GRFBuildParamList(char *dst, const GRFConfig *c, const char *last); /* In newgrf_gui.c */ void ShowNewGRFSettings(bool editable, bool show_params, GRFConfig **config); +/* For communication about GRFs over the network */ +#define UNKNOWN_GRF_NAME_PLACEHOLDER "<Unknown>" +char *FindUnknownGRFName(uint32 grfid, uint8 *md5sum, bool create); + #endif /* NEWGRF_CONFIG_H */ |