[Freeciv-tickets] [freeciv] #44164: Adjust AI_LEVEL_EXPERIMENTAL by ai_level_name_update_cb()

Zurück zum Archiv-Index
OSDN Ticket System norep****@osdn*****
Wed Mar 23 23:54:39 JST 2022


#44164: Adjust AI_LEVEL_EXPERIMENTAL by ai_level_name_update_cb()

  Open Date: 2022-03-23 09:32
Last Update: 2022-03-23 16:54

URL for this Ticket:
    https://osdn.net//projects/freeciv/ticket/44164
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44164

---------------------------------------------------------------------

Last Changes/Comment on this Ticket:
2022-03-23 16:54 Updated by: cazfi
 * Owner Update from (None) to cazfi
 * Resolution Update from None to Accepted


---------------------------------------------------------------------
Ticket Status:

      Reporter: cazfi
         Owner: cazfi
          Type: Patches
        Status: Open [Owner assigned]
      Priority: 5 - Medium
     MileStone: 3.1.0
     Component: General
      Severity: 5 - Medium
    Resolution: Accepted
---------------------------------------------------------------------

Ticket 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.

-- 
Ticket information of Freeciv project
Freeciv Project is hosted on OSDN

Project URL: https://osdn.net/projects/freeciv/
OSDN: https://osdn.net

URL for this Ticket:
    https://osdn.net/projects/freeciv/ticket/44164
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44164



More information about the Freeciv-tickets mailing list
Zurück zum Archiv-Index