Experimental AI level is supported only in debug builds. We already have some compatibility code, e.g., for loading game saved by debug build to non-debug build, where Experimental level AI players get converted to Hard ones. There will be more cases where such a conversion is needed with #44105 (AI level server setting).
I currently believe that we could do the conversion in just one place with the support of #44100 (SPECENUM_NAME_UPDATER support for specenums), and that might be the only sensible way to do it for the ai level setting.
This ticket is about introducing such ai_level_name_update_cb() function, and to make current code to use that conversion.
Experimental AI level is supported only in debug builds. We already have some compatibility code, e.g., for loading game saved by debug build to non-debug build, where Experimental level AI players get converted to Hard ones. There will be more cases where such a conversion is needed with #44105 (AI level server setting). I currently believe that we could do the conversion in just one place with the support of #44100 (SPECENUM_NAME_UPDATER support for specenums), and that might be the only sensible way to do it for the ai level setting.
This ticket is about introducing such ai_level_name_update_cb() function, and to make current code to use that conversion.