| 360 | } |
| 361 | |
| 362 | void SimulationParametersMainWindow::processExpertSettings() |
| 363 | { |
| 364 | auto parameters = _simulationFacade->getSimulationParameters(); |
| 365 | auto origFeatures = _simulationFacade->getOriginalSimulationParameters().features; |
| 366 | auto lastFeatures = parameters.features; |
| 367 | |
| 368 | AlienImGui::Checkbox( |
| 369 | AlienImGui::CheckboxParameters() |
| 370 | .name("Advanced absorption control") |
| 371 | .textWidth(0) |
| 372 | .defaultValue(origFeatures.advancedAbsorptionControl) |
| 373 | .tooltip("These settings offer extended possibilities for controlling the absorption of energy particles by cells."), |
| 374 | parameters.features.advancedAbsorptionControl); |
| 375 | AlienImGui::Checkbox( |
| 376 | AlienImGui::CheckboxParameters() |
| 377 | .name("Advanced attacker control") |
| 378 | .textWidth(0) |
| 379 | .defaultValue(origFeatures.advancedAttackerControl) |
| 380 | .tooltip("It contains further settings that influence how much energy can be obtained from an attack by attacker cells."), |
| 381 | parameters.features.advancedAttackerControl); |
| 382 | AlienImGui::Checkbox( |
| 383 | AlienImGui::CheckboxParameters() |
| 384 | .name("Cell age limiter") |
| 385 | .textWidth(0) |
| 386 | .defaultValue(origFeatures.cellAgeLimiter) |
| 387 | .tooltip("It enables additional possibilities to control the maximal cell age."), |
| 388 | parameters.features.cellAgeLimiter); |
| 389 | AlienImGui::Checkbox( |
| 390 | AlienImGui::CheckboxParameters() |
| 391 | .name("Cell color transition rules") |
| 392 | .textWidth(0) |
| 393 | .defaultValue(origFeatures.cellColorTransitionRules) |
| 394 | .tooltip("This can be used to define color transitions for cells depending on their age."), |
| 395 | parameters.features.cellColorTransitionRules); |
| 396 | AlienImGui::Checkbox( |
| 397 | AlienImGui::CheckboxParameters() |
| 398 | .name("Cell glow") |
| 399 | .textWidth(0) |
| 400 | .defaultValue(origFeatures.cellGlow) |
| 401 | .tooltip("It enables an additional rendering step that makes the cells glow."), |
| 402 | parameters.features.cellGlow); |
| 403 | AlienImGui::Checkbox( |
| 404 | AlienImGui::CheckboxParameters() |
| 405 | .name("Customize deletion mutations") |
| 406 | .textWidth(0) |
| 407 | .defaultValue(origFeatures.customizeDeletionMutations) |
| 408 | .tooltip("It enables further settings for deletion mutations. If disabled, defaults are used (displayed in the tooltip of the specific parameters)."), |
| 409 | parameters.features.customizeDeletionMutations); |
| 410 | AlienImGui::Checkbox( |
| 411 | AlienImGui::CheckboxParameters() |
| 412 | .name("Customize neuron mutations") |
| 413 | .textWidth(0) |
| 414 | .defaultValue(origFeatures.customizeNeuronMutations) |
| 415 | .tooltip("It enables further settings for neuron mutations. If disabled, defaults are used (displayed in the tooltip of the specific parameters)."), |
| 416 | parameters.features.customizeNeuronMutations); |
| 417 | AlienImGui::Checkbox( |
| 418 | AlienImGui::CheckboxParameters() |
| 419 | .name("External energy control") |
nothing calls this directly
no test coverage detected