HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. Read more...
Bug #764956
Allow calling game_next_year() without side effects
Start date:
Due date:
% Done:
0%
Estimated time:
Description
For feature #764421, I want to calculate when the next year will be without actually advancing the game turn.
Currently, game_next_year() looks like a pure function but actually has side effects.
Related issues
History
#1
Updated by Jacob Nevins almost 4 years ago
- Blocks Feature #764421: Give notice of predictable game end (endturn, etc) added
#2
Updated by Jacob Nevins almost 4 years ago
- File m-30-next-year-function.patch m-30-next-year-function.patch added
- File 26-next-year-function.patch 26-next-year-function.patch added
- Status changed from In Progress to Resolved
This is a bit grotty because it involves passing a copy of packet_game_info around just for the calendar-related bits, whereas it would be nice to have those segregated in their own structure. But that's a bigger change that will probably touch the network protocol.
#3
Updated by Jacob Nevins almost 4 years ago
- Status changed from Resolved to Closed