| 253 | } |
| 254 | |
| 255 | void GameModel::BuildQuickOptionMenu(GameController * controller) |
| 256 | { |
| 257 | for(std::vector<QuickOption*>::iterator iter = quickOptions.begin(), end = quickOptions.end(); iter != end; ++iter) |
| 258 | { |
| 259 | delete *iter; |
| 260 | } |
| 261 | quickOptions.clear(); |
| 262 | |
| 263 | quickOptions.push_back(new SandEffectOption(this)); |
| 264 | quickOptions.push_back(new DrawGravOption(this)); |
| 265 | quickOptions.push_back(new DecorationsOption(this)); |
| 266 | quickOptions.push_back(new NGravityOption(this)); |
| 267 | quickOptions.push_back(new AHeatOption(this)); |
| 268 | quickOptions.push_back(new ConsoleShowOption(this, controller)); |
| 269 | |
| 270 | notifyQuickOptionsChanged(); |
| 271 | UpdateQuickOptions(); |
| 272 | } |
| 273 | |
| 274 | void GameModel::BuildBrushList() |
| 275 | { |
no test coverage detected