Hello there.
I've noticed a nice statistics window popping up after the game is over, containing information about units under my controll, units killed and stuff.
Two short questions concerning this:
1) Is there a way to view this window during play? Is it intended that it's not possible to view it (in case it's not possible only, and, of course only one's own statistics - everything else would be stupid).
2) Where in the code is this infomation created/stored? I'd be cool to have the possibility to export it or access it. It could be used to command a integrated music player or a winamp plugin. Matching music for events like growth of #kills > growth #losses and #units under control constant or raising, whatever combination is possible with the obtainable information.
Where in the source do I have to look? Filename, Object/Methodname would help.
I must admit I haven't had a closer look at the code till yet, so i must ask for excuse if the answer to my question is quite obvious if I just had looked before asking.
Thanks,
Tin Can.
Unit statistics
Moderator: Moderators
-
- Posts: 6
- Joined: 20 Aug 2006, 20:02
-
- Posts: 6
- Joined: 20 Aug 2006, 20:02
DoxyGen Doc...
I found the doxygen documentation online. But it seems there's nowhere a hint that it exists, expect for the Glossary in the wiki?
Anyway, the statistic window is created in GUIendgameDialog.cpp (class GUIendgameDialog), the statistic is saved in CTeam::currentStats which gets pushed to a list every 16 seconds to a statHistory List.
Thanks anyway,
Tin Can.
Anyway, the statistic window is created in GUIendgameDialog.cpp (class GUIendgameDialog), the statistic is saved in CTeam::currentStats which gets pushed to a list every 16 seconds to a statHistory List.
Thanks anyway,
Tin Can.