|
|
|
|
@ -9,8 +9,8 @@
|
|
|
|
|
#include <cmath> |
|
|
|
|
|
|
|
|
|
// Configuration defaults - edit to change default run mode
|
|
|
|
|
//#define DEFAULT_CONFIG_FILE "configs/test_simple.toml"
|
|
|
|
|
#define DEFAULT_CONFIG_FILE "tests/configs/solar_system.toml" |
|
|
|
|
//#define DEFAULT_CONFIG_FILE "tests/configs/solar_system.toml"
|
|
|
|
|
#define DEFAULT_CONFIG_FILE "tests/configs/maneuver_sequence.toml" |
|
|
|
|
|
|
|
|
|
struct ProgramArgs { |
|
|
|
|
const char* config_file; |
|
|
|
|
@ -61,6 +61,7 @@ void run_gui_simulation(SimulationState* sim) {
|
|
|
|
|
// Initialize UI state
|
|
|
|
|
ui_state.body_list_scroll = 0; // Initial scroll position
|
|
|
|
|
ui_state.body_list_active = root_body_index >= 0 ? root_body_index : -1; // Sync with selected body
|
|
|
|
|
gui_init(); |
|
|
|
|
|
|
|
|
|
bool paused = false; |
|
|
|
|
double speed_multiplier = 1.0; |
|
|
|
|
|