yes... as you can see from the screen shot, the health bar shows up
correctly, even though its drawn with the same technique as the other
sprites.  I just completed a test because I think I know what is going on
with the funny colors.  Im sending the client DLL to him now.

Ok... he tested it and my hypothesis is inconclusive.  I thought since I
drew the health bar first it was using the correct colors and botching all
the others.  So I moved the health to the last drawn, but its still the only
one that shows up correctly.

I am calling all of these in one function of my HUD element.  Its in the
Draw function, and these are drawn one after another.  I see that all of the
draw functions have r,g,b values.  Could these be causing the problem?  Like
I said my 2 computers do it fine, but his is the only one I see that makes
them distorted.

Thanks again,
Roachie
----- Original Message -----
From: "Christopher McArthur" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 25, 2002 4:02 PM
Subject: Re: [hlcoders] Wicked3d and Sprites


> Are you calling this always from within the "Draw" function of a gHUD
> element?
>
>
>
> > SPR_Set(gHUD.GetSprite(m_HUD_manabar), r, b, g);
> > SPR_Draw(0, x + 23, y + 3, &ManaRect);
>
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
>

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

Reply via email to