The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: RESTRICTED ACCOUNT on January 15, 2022, 12:12:42 AM

Title: [r10352] Display mismatch of selected convoy on minimap
Post by: RESTRICTED ACCOUNT on January 15, 2022, 12:12:42 AM
I think that the magenta highlight display of the selected convoy added in r10352 is not good enough.
(https://i.imgur.com/HB0qZKl.png)

Zooming is not properly supported, and when zooming in, a split block is displayed as shown in the image. Also, the display position is slightly off.


display_fillbox_wh_clip_rgb(veh_pos.x, veh_pos.y, zoom_in, zoom_in, color_idx_to_rgb(COL_MAGENTA), true);
This change will display magenta pixels to overwrite the existing yellow display.
But I don't know if that is your intention. You could also make it look bigger and more prominent. (´・ω・`)
Title: Re: [r10352] Display mismatch of selected convoy on minimap
Post by: prissi on January 15, 2022, 01:30:42 PM
Indeed, fixed in r10358
Title: Re: [r10352] Display mismatch of selected convoy on minimap
Post by: RESTRICTED ACCOUNT on January 15, 2022, 11:49:09 PM
Quote from: prissi on January 15, 2022, 01:30:42 PMIndeed, fixed in r10358
Thanks. It's working fine.