Hey how's it going again :) it's annoying me.

Anyways, I've recently tried to establish a new hud element, In fact, I copy
and pasted the health hud
and took out everything I didn't need.  I kept m_iFlags and all virtual
members, and inherited from basehud
*like I said i just copy and pasted health's class and functions and renamed
and removed*  Now, For Some insane
reason,  The hud won't draw what I tell it to display(If it's even calling
my draw funciton at all), I addhudelem and flag
m_iFlags active(on init, not when a message is recieved like the healthhud)
and my draw init and vidinit functions are
intact (I also called init and vidinit in chud::init) My reset function is
blank because I have nothing to reset atm.
I look through the code and all the hud does is cycle through a linked list
untill it hit's a null pointer and call's
the draw function untill it does. I recently went on an inovation, and had
the server check if the server had updated
the hud piece and if it didn't send an update with dummy values, and then
had m_iFlags flag active whenever it recieved a
message, This did not work as well....I'm very ....concerned, I've checked
everywhere And I just can't find hte problem
I know it's not the sprite, because I had my health sprite load it instead
of the normal hud health sprite instead just
to make sure..... Anyways, any help would be greatly appreciated as is its
2:30 am and I'm plum stuck. THanks for reading my message ahead of time.


Paul
Lead Coder of Sr(http://www.sr.flagrun.net)




_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to