Just a quick note about:
Orbiter2016 v.160828
VesselAPI.h "char *GetClassName () const;"
This seems to return a character string equivalent to the path to the vessel's .cfg file as used by the vessel entry in the scenario.
e.g. For a DeltaGlider this could be "DeltaGlider" or "Vessels\DeltaGlider"
It ignores the "ClassName" parameter within the .cfg file.
OrbiterAPI.h "OAPIFUNC double oapiGetPlanetTheta (OBJHANDLE hPlanet);"
The SDK notes say: "For Earth, this function will return 0."
Since the Earth module has been updated, this is no longer true.
Orbiter2016 v.160828
VesselAPI.h "char *GetClassName () const;"
This seems to return a character string equivalent to the path to the vessel's .cfg file as used by the vessel entry in the scenario.
e.g. For a DeltaGlider this could be "DeltaGlider" or "Vessels\DeltaGlider"
It ignores the "ClassName" parameter within the .cfg file.
OrbiterAPI.h "OAPIFUNC double oapiGetPlanetTheta (OBJHANDLE hPlanet);"
The SDK notes say: "For Earth, this function will return 0."
Since the Earth module has been updated, this is no longer true.
Last edited: