-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test the things #1230
Test the things #1230
Conversation
ksp_plugin/plugin.cpp
Outdated
current_time_(solar_system_epoch) {} | ||
|
||
void Plugin::InsertCelestialAbsoluteCartesian( | ||
current_time_(solar_system_epoch) {}void Plugin::InsertCelestialAbsoluteCartesian( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Botched.
ksp_plugin/plugin.cpp
Outdated
@@ -141,6 +139,21 @@ void Plugin::InsertCelestialAbsoluteCartesian( | |||
initial_state); | |||
} | |||
|
|||
Plugin::~Plugin() { | |||
// This is largely awful; If we simply let the destructor of |Part| deal with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove the awful, bad, very sad adjectives.
serialization/ksp_plugin.proto
Outdated
repeated Part parts = 14; | ||
repeated uint32 kept_parts = 15; | ||
required DiscreteTrajectory psychohistory = 16; | ||
required bool psychohistory_is_authoritative = 17; | ||
required DiscreteTrajectory prediction = 18; | ||
optional FlightPlan flight_plan = 4; | ||
|
||
reserved 13; | ||
reserved "dummy_part"; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove.
Fix some bug and uncover others; the C# has some traces that I'm going to need as soon as things stop crashing below it, so I'm keeping them; the INFO traces on the C++ should stay, because they're for part creation/transfer/destruction, which should not be overly spammy.