File diff r25648:63a5f82b93cf → r25649:96782a72248d
src/settings_internal.h
Show inline comments
 
@@ -301,8 +301,8 @@ struct NullSettingDesc : SettingDesc {
 

	
 
typedef std::initializer_list<std::unique_ptr<const SettingDesc>> SettingTable;
 

	
 
const SettingDesc *GetSettingFromName(const char *name);
 
void GetSettingSaveLoadByPrefix(const char *prefix, std::vector<SaveLoad> &saveloads);
 
const SettingDesc *GetSettingFromName(const std::string_view name);
 
void GetSettingSaveLoadByPrefix(const std::string_view prefix, std::vector<SaveLoad> &saveloads);
 
bool SetSettingValue(const IntSettingDesc *sd, int32 value, bool force_newgame = false);
 
bool SetSettingValue(const StringSettingDesc *sd, const std::string value, bool force_newgame = false);