equal
deleted
inserted
replaced
1 /* $Id$ */ |
1 /* $Id$ */ |
|
2 |
|
3 /** @file newgrf_config.h */ |
2 |
4 |
3 #ifndef NEWGRF_CONFIG_H |
5 #ifndef NEWGRF_CONFIG_H |
4 #define NEWGRF_CONFIG_H |
6 #define NEWGRF_CONFIG_H |
5 |
7 |
6 #include "openttd.h" |
8 #include "openttd.h" |
78 void ResetGRFConfig(bool defaults); |
80 void ResetGRFConfig(bool defaults); |
79 GRFListCompatibility IsGoodGRFConfigList(); |
81 GRFListCompatibility IsGoodGRFConfigList(); |
80 bool FillGRFDetails(GRFConfig *config, bool is_static); |
82 bool FillGRFDetails(GRFConfig *config, bool is_static); |
81 char *GRFBuildParamList(char *dst, const GRFConfig *c, const char *last); |
83 char *GRFBuildParamList(char *dst, const GRFConfig *c, const char *last); |
82 |
84 |
83 /* In newgrf_gui.c */ |
85 /* In newgrf_gui.cpp */ |
84 void ShowNewGRFSettings(bool editable, bool show_params, bool exec_changes, GRFConfig **config); |
86 void ShowNewGRFSettings(bool editable, bool show_params, bool exec_changes, GRFConfig **config); |
85 |
87 |
86 #ifdef ENABLE_NETWORK |
88 #ifdef ENABLE_NETWORK |
87 /* For communication about GRFs over the network */ |
89 /* For communication about GRFs over the network */ |
88 #define UNKNOWN_GRF_NAME_PLACEHOLDER "<Unknown>" |
90 #define UNKNOWN_GRF_NAME_PLACEHOLDER "<Unknown>" |