View Single Post
Old December 10, 2016, 00:42   #2
Join Date: Dec 2013
Posts: 67
droof is on a distinguished road
Thank you, t4nk. I have optional color maps for room_template.txt working with custom colors.

I left the custom colors and color maps out of the commit, since that's a work in progress.

I used int instead of byte for the color, because grid_data_as_text() also uses "int a" for the color value. I initialize the color as -1. If the color remains -1, then use the feature color. I'm sure the added code could be improved, but at least it is working, stable and no compiler complaints.

Now I can experiment with color palettes
droof is offline   Reply With Quote