Small refactor on climate_update

* Extracted the logic of stepping "weather level" variables.
* Simplified the rain stepping code, as "rain level" is always between 0 and 2.
Merge pull request #220 from adrian17/master

Reworked viewport_render()
Merge pull request #221 from marcotc/rain

Small refactor on climate_update