Error GetClassName() & oapiGetPlanetTheta()

BrianJ

Addon Developer
Addon Developer
Joined
Apr 19, 2008
Messages
1,471
Reaction score
525
Points
128
Location
Code 347
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.
 
Last edited:
Top