Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Jonwil- Errors in the code for drawing the HUD in shaderhud.cpp
Jonwil- Errors in the code for drawing the HUD in shaderhud.cpp [message #273565] Mon, 16 July 2007 02:31 Go to previous message
Tunaman
Messages: 1190
Registered: January 2005
Karma:
General (1 Star)
I don't really know where to report this, so I'll just make a topic about it.
In shaderhud.cpp there are a few errors regarding the drawing of the HUD which are fairly annoying..
if (QuadXPos < 0)
	{
		QuadXPos += ScreenResolution->Bottom;
	}
if (QuadYPos < 0)
	{
		QuadYPos += ScreenResolution->Right;
	}


which should be

if (QuadXPos < 0)
	{
		QuadXPos += ScreenResolution->Right;
	}
if (QuadYPos < 0)
	{
		QuadYPos += ScreenResolution->Bottom;
	}


The same mistake is also in the code for drawing the HealthBar, ShieldBar, HealthIcon, ShieldIcon. :[

Could you please fix this in the next scripts release?


http://img694.imageshack.us/img694/9055/tunamanlmao.png

[Updated on: Mon, 16 July 2007 02:33]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: A fine web site to download Mods
Next Topic: Base defenses not working
Goto Forum:
  


Current Time: Sat Dec 21 03:48:05 MST 2024

Total time taken to generate the page: 0.00789 seconds