Merge branch 'cpp-11' into save_ext

# Conflicts:
#	config.lib
#	src/saveload/saveload.cpp
This commit is contained in:
Jonathan G Rennison
2019-01-06 22:10:04 +00:00
375 changed files with 6874 additions and 8226 deletions

View File

@@ -1464,7 +1464,7 @@ static int DecodeHexNibble(char c)
* Parse a sequence of characters (supposedly hex digits) into a sequence of bytes.
* After the hex number should be a \c '|' character.
* @param pos First character to convert.
* @param dest [out] Output byte array to write the bytes.
* @param[out] dest Output byte array to write the bytes.
* @param dest_size Number of bytes in \a dest.
* @return Whether reading was successful.
*/
@@ -1673,9 +1673,9 @@ static void HandleSettingDescs(IniFile *ini, SettingDescProc *proc, SettingDescP
{
if (basic_settings) {
proc(ini, (const SettingDesc*)_misc_settings, "misc", NULL);
#if defined(WIN32) && !defined(DEDICATED)
#if defined(_WIN32) && !defined(DEDICATED)
proc(ini, (const SettingDesc*)_win32_settings, "win32", NULL);
#endif /* WIN32 */
#endif /* _WIN32 */
}
if (other_settings) {
@@ -1753,7 +1753,7 @@ void SaveToConfig()
/**
* Get the list of known NewGrf presets.
* @param list[inout] Pointer to list for storing the preset names.
* @param[in,out] list Pointer to list for storing the preset names.
*/
void GetGRFPresetList(GRFPresetList *list)
{