| 37 | StatSystem *g_system = nullptr; |
| 38 | |
| 39 | void |
| 40 | init(StatSystem *system) |
| 41 | { |
| 42 | g_system = system; |
| 43 | if (g_system) { |
| 44 | for (int i = 0; i < Stats::MAX_STAT_ENUM; ++i) { |
| 45 | // FIXME doesn't return a value. |
| 46 | g_system->create(i); |
| 47 | } |
| 48 | } |
| 49 | } |
| 50 | |
| 51 | // FIXME step should be TSMgmtInt but for some reason the linker is having some strange int vs long name mangling issue. |
| 52 | void |