* Initializes a brand new saved game according to the specified difficulty. */
| 96 | * Initializes a brand new saved game according to the specified difficulty. |
| 97 | */ |
| 98 | SavedGame::SavedGame() : _difficulty(DIFF_BEGINNER), _ironman(false), _globeLon(0.0), _globeLat(0.0), _globeZoom(0), _battleGame(0), _debug(false), _warned(false), _monthsPassed(-1), _graphRegionToggles(""), _graphCountryToggles(""), _graphFinanceToggles(""), _selectedBase(0) |
| 99 | { |
| 100 | _time = new GameTime(6, 1, 1, 1999, 12, 0, 0); |
| 101 | _alienStrategy = new AlienStrategy(); |
| 102 | _funds.push_back(0); |
| 103 | _maintenance.push_back(0); |
| 104 | _researchScores.push_back(0); |
| 105 | _incomes.push_back(0); |
| 106 | _expenditures.push_back(0); |
| 107 | } |
| 108 | |
| 109 | /** |
| 110 | * Deletes the game content from memory. |
nothing calls this directly
no outgoing calls
no test coverage detected