01-25-2023, 10:48 PM
(01-25-2023, 10:33 PM)CLF78 Wrote: This will not work. The HUD hide hook alters a configuration flag to disable certain HUD elements on track load. What you want to do is turn on the minimap by enabling the correct bit in this hook, then modify the "visible" property in the minimap screen element itself.
Thank you for your quick answer
From what I understood:
1) finding the right bit to enable the minimap
2) modifying the correct property at start (visible = false)
3) turn the property to true when less than 20s
Is that what you meant?
I'm trying to make sense out of this and convert it into the actual code lines.
1) Would you mind handing me references to the minimap property you were talking about?
2) I have thought about adding some lines in MainTimerUpdate (timer.c). Can I change the property from within C? If not, how can I do that?