Page 1 of 1

New subrenderer features in 0.70?

Posted: Thu Dec 06, 2018 6:30 pm
by Gambit37
I can see a couple of new additions were added in 0.70 for handling custom sub-renderers. I'm both tantalised and confused :)

Would it be possible for you to give some indications of how to use these new hooks? Many thanks.

Re: New subrenderer features in 0.70?

Posted: Thu Dec 06, 2018 11:32 pm
by Sophia
There are two new hooks: h_custom_mainsub which can be used to draw a custom main subrenderer, like with your own food and water bars, and h_custom_inventory which can be used to customize the inventory screen in general. I remember you having a question about adding a button to the inventory screen, so I'll go into more detail in that thread.