I know, I'm digging out an old thread, but it's better than starting a new one on almost the same topic, I think
What about the other features of ttdpatch regarding snow? I believe instead of doing our own thing, we should try to get the grf features from ttdpatch to work in ottd. (I don't want to use wine for playing ttdpatch, if I could play ottd under linux)
So far, I got tempsnowline (with my little knowledge of C/C++) in latest newhouses branch to work. (I'll post the diff, when I cleaned the code a bit). A little bit drunken from this successfull adventure into the sources of ottd
I thought of going a step further and started to work on the feature for different snowlines for different days which the alpine climate grf is using. Ok, I believe I'll get it working and after I took a look into the diff for the seasons patch, I even have an idea how to do it. Or has somebody already coded it?
Hm, I began writing this posting, because I had another question, but now I can't remember anymore
Here is my diff against sources from newhouses branch rev 8642.
You can toggle tempsnowline feature in patch configuration (economics tab, hadn't got a better idea). Setting snowline and snow_line_height_table from grf's works
(tested it with a modified version of alpine climate). Buildings and trees over snowline are from arctic climate, under snowline from temperate. While switching tempsnowline on/off or changing the actual snowline through a grf (setting it directly or with help of snow_line_height_table) my patch will convert temperate trees over snowline into arctic trees, trees under snowline in temperate ones.
I haven't touched town growth or industries (e.g. forest only over snowline or town over needs food for growing like in original patch), so snow is only eyecandy.