WorldMgr: Difference between revisions
add names for states 2, 3 and 4 |
m specify the transformation from time:float to hh:mm by examples. |
||
| Line 49: | Line 49: | ||
<!--T:8--> | <!--T:8--> | ||
Internally, time of day is stored as a float in the [0.0, 360.0] range. | Internally, time of day is stored as a float in the [0.0, 360.0] range. | ||
0.0 = midnight = 360.0; 90 ≈ morning; 180.0 = noon; and so on. | |||
=== TimeMgr::init === <!--T:9--> | === TimeMgr::init === <!--T:9--> | ||