Problem Overload of clbkDrawHUD() and clbkRenderHUD() not suppressing HUD

mjanicki

Addon Developer
Addon Developer
Donator
Joined
Apr 4, 2008
Messages
106
Reaction score
0
Points
0
Location
Spokane
I'm in the process of updating an old module of mine from Orbiter 2006. I've had no problems converting to VESSEL3 or converting output to use of Sketchpad.

However, I am stuck when it comes to suppressing the default HUD as my module used to do in 2006. I overloaded clbkDrawHUD as normal and found that no longer worked. I then found a discussion where Martin notes the addition of a clbkRenderHUD in Beta 100704, so I overloaded that as suggested but still the default HUD remains.

Current 'stock' Orbiter I believe contains anything that was in 100704, so I imagine I'm doing something wrong. Can anyone shed some light as to what the problem with suppressing the HUD may be?

Thanks very much.
 
Did you overload both clbkDrawHUD and clbkRenderHUD?
 
Yes, both clbkDrawHUD and clbkRenderHUD are overloaded and I even cleared out my actual HUD code to make sure nothing was getting in the way. I'm still seeing the default HUD even if my overloads contain nothing but "return true;".

---------- Post added at 19:09 ---------- Previous post was at 18:29 ----------

Orb, thanks for taking an interest. You made me go back and double-check everything. Turns out I'm just an idiot. :)

The problem was that I had an incorrect declaration for clbkRenderHUD(). I found the correct declaration and everything works as advertised -- the HUD is suppressed when I want it to be.

Thanks again and sorry to trouble y'all.

-- Mike
 
Back
Top