From 3717e3ba4d58ad698fa852056fba41fd193898ef Mon Sep 17 00:00:00 2001 From: cinnaboot Date: Thu, 22 Jan 2026 15:35:42 -0500 Subject: [PATCH] remove spacecraft and maneuver config_loader messages --- src/config_loader.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/config_loader.cpp b/src/config_loader.cpp index e20ed61..182a819 100644 --- a/src/config_loader.cpp +++ b/src/config_loader.cpp @@ -189,13 +189,11 @@ bool load_system_config(SimulationState* sim, const char* filepath) { static bool load_spacecraft_from_toml(SimulationState* sim, toml_result_t result) { toml_datum_t spacecraft = toml_get(result.toptab, "spacecraft"); if (spacecraft.type != TOML_ARRAY) { - printf("No spacecraft array found in config file: %s (optional)\n", sim->config_name); return true; } int craft_count = spacecraft.u.arr.size; if (craft_count == 0) { - printf("No spacecraft found in config file: %s\n", sim->config_name); return true; } @@ -359,13 +357,11 @@ static bool parse_toml_maneuver(toml_datum_t maneuver_table, Maneuver* maneuver, static bool load_maneuvers_from_toml(SimulationState* sim, toml_result_t result) { toml_datum_t maneuvers = toml_get(result.toptab, "maneuvers"); if (maneuvers.type != TOML_ARRAY) { - printf("No maneuvers array found in config file: %s (optional)\n", sim->config_name); return true; } int maneuver_count = maneuvers.u.arr.size; if (maneuver_count == 0) { - printf("No maneuvers found in config file: %s\n", sim->config_name); return true; } @@ -397,4 +393,4 @@ static bool load_maneuvers_from_toml(SimulationState* sim, toml_result_t result) printf("Loaded %d maneuvers from %s\n", maneuver_count, sim->config_name); return true; -} \ No newline at end of file +}