Tíquete #45671

Savegame loading: Unused worklist entries

: 2022-09-20 15:36 Última Atualização: 2022-10-13 13:48

Relator:
Dono:
Tipo:
Estado:
Fechado
Componente:
Marcos:
Prioridade:
5 - Medium
Gravidade:
5 - Medium
Resolução:
Fixed
Arquivo:
3

Details

Loading savegames with deprecation warnings enabled (sometimes) give unused entry warnings about likes of 'player25.c135.wl_value0' and 'player25.c135.wl_kind0'

It's likely due to loading side looking entries just up to real "wl_length", whereas saving side has padding entries to avoid savegame from going out from tabular format.

Ticket History (3/7 Histories)

2022-09-20 15:36 Updated by: cazfi
  • New Ticket "Savegame loading: Unused worklist entries" created
2022-09-23 13:16 Updated by: cazfi
2022-10-08 08:56 Updated by: cazfi
  • Dono Update from (Nenhum) to cazfi
  • Resolução Update from Nenhum to Accepted
Comentário

Master version saves the max worklist length (i.e. how much there is padding) to the savegame. d3f branches have to take a bit more expensive route of figuring that out by looking all the city rows from the secfile.

2022-10-13 13:48 Updated by: cazfi
  • Estado Update from Aberto to Fechado
  • Resolução Update from Accepted to Fixed

Editar

Please login to add comment to this ticket » Login