任务单 #44164

Adjust AI_LEVEL_EXPERIMENTAL by ai_level_name_update_cb()

开放日期: 2022-03-23 16:32 最后更新: 2022-04-03 07:53

报告人:
属主:
类型:
状态:
关闭
组件:
里程碑:
优先:
5 - Medium
严重性:
5 - Medium
处理结果:
Fixed
文件:
1

Details

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.

任务单历史 (3/4 Histories)

2022-03-23 16:32 Updated by: cazfi
  • New Ticket "Adjust AI_LEVEL_EXPERIMENTAL by ai_level_name_update_cb()" created
2022-03-23 23:54 Updated by: cazfi
  • 属主 Update from (无) to cazfi
  • 处理结果 Update from to Accepted
2022-04-03 07:53 Updated by: cazfi
  • 状态 Update from 开启 to 关闭
  • 处理结果 Update from Accepted to Fixed

编辑

Please login to add comment to this ticket » 登录名