Closed leguims closed 11 years ago
Mineral storage of a base is not a global information so it should not appear in summary.
It is the player responsability to print information about its base.
However a feature should be added to the renderer to print information about items, like their mineral storage or life.
Instead of minerals storage of the base, it could be a good metrics to have : Mineral gather (pushed or pulled to base) and mineral spent (to build ships and missiles). It could complete the informations of number of ships of the team.
Indeed it would be nice to have this information, it it not implemented yet, but it should be present in a future release.
I pushed half the solution : Spent Minerals.
"Spent minerals" includes building Fighter and MiningShip, but not Missile. 2 difficult for Missiles : no team associates and used when launching from Figther an already bought missile.
For "Saved minerals", base.cpp need to have the pointer on gameManager instance.
I hope it will help you. :c)
I reopen the issue because of the discussion above.
Computing statistics is planned for future works.
Commit d0045a148ccad914197a3c2b5c5537b956be52ad adds support of global statistics, including saved and spent Mineral. This closes this issue.
On terminal log, you write stats of team 1 and 2. It could be usefull to show mineral storage of BASE.