Comment 2 for bug 1324978

Revision history for this message
Travis (dinky-dye-aussie) wrote :

Thanks Cybermind.

Here's a bit of code to put in icons.cpp, on line 211, after the "DrawUnitIcon" position shift code. Makes the icons look alot more like the original war2 ones did when they were pressed.

   Video.DrawRectangle(ColorGray, pos.x, pos.y, 48, 40);
   Video.DrawHLine(ColorDarkGray, pos.x - 1, pos.y - 1, 49);
   Video.DrawVLine(ColorDarkGray, pos.x - 1, pos.y, 39);
   Video.DrawHLine(ColorDarkGray, pos.x - 1, pos.y + 39, 2);

It's awesome work you're doing man with getting all these bugs sorted out :) Thanks again :) I'll have a vodka shot as a tribute to your efforts :)