WIP: Better waypoint icons
So I decided to fix the color problem once and for all. Current waypoint icons suck because they use color from HUD icons. The solution is to add grayscale icons that will be perfectly colored at runtime. This branch does exactly that.
I have created the grayscale version of Luma theme locally using the following script in the copy of the luma directory:
for img in $(find . -iname '*.tga'); do echo -n "Converting $img"; convert -colorspace GRAY $img $img && echo ' [Done]'; done for img in $(find . -iname '*.tga'); do echo -n "Normalizing $img"; convert -normalize $img $img && echo ' [Done]'; done
This creates normalized grayscale images that have absolutely no color information left. Now they can be colored to our heart's content. Then I cherry-picked ones that are needed and gave them
waypoint_* naming scheme. Those icons are not included in the repo because I feel that we may be able to completely do away with colored HUD icons on disk and I don't want to increase repo size right now with something that can go through many revisions before the merge.
m_waypoint field of game items was renamed to
m_waypoint_icon was introduced to hold the name of the waypoint icon.
New HUD icons