HUD bug in trunk

For test results, bug reports, announcements of new builds etc.

Moderators: winston, another_commander, Getafix

Post Reply
User avatar
Cmdr Wyvern
---- E L I T E ----
---- E L I T E ----
Posts: 1649
Joined: Tue Apr 11, 2006 1:47 am
Location: Somewhere in the great starry void

HUD bug in trunk

Post by Cmdr Wyvern »

There's a curious bug in trunk with how the speed dial displays. It manifests only if the hud.plist is written in the new style code.

Like this, you get a normal horizontal speed dial:

Code: Select all

		{	// speed bar, can draw a surround 2 units out from the dial size specified
			draw_surround	= yes;
			height		= 8;
			selector	= "drawSpeedBar:";
			width:		= 80;
			x		= 200;
			y		= -145;
		},
Now reverse the height and width numbers:

Code: Select all

		{	// speed bar, can draw a surround 2 units out from the dial size specified
			draw_surround	= yes;
			height		= 80;
			selector	= "drawSpeedBar:";
			width:		= 8;
			x		= 200;
			y		= -145;
		},
That should turn the speed bar into a narrow, vertical dial, right?
In the old style html plist code, it would. But in the new code, it's vertical, but faaaaar from narrow.

All other dials and displays are unaffected.

Bug discovered while attempting to update milhud for the coming 1.73
Running Oolite buttery smooth & rock stable w/ tons of eyecandy oxps on:
ASUS Prime X370-A
Ryzen 5 1500X
16GB DDR4 3200MHZ
128GB NVMe M.2 SSD (Boot drive)
1TB Hybrid HDD (For software and games)
EVGA GTX-1070 SC
1080P Samsung large screen monitor
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6632
Joined: Wed Feb 28, 2007 7:54 am

Post by another_commander »

Fixed in SVN 2281. Just some forgotten punctuation in hud.plist.
Post Reply