| 199 | void CEnvironment::ChangeGameTime(float game_time) { fGameTime = NormalizeTime(fGameTime + game_time); }; |
| 200 | |
| 201 | void CEnvironment::SetGameTime(float game_time, float time_factor) |
| 202 | { |
| 203 | if (b_wfx) |
| 204 | wfx_time -= TimeDiff(fGameTime, game_time); |
| 205 | |
| 206 | fGameTime = game_time; |
| 207 | fTimeFactor = time_factor; |
| 208 | } |
| 209 | |
| 210 | float CEnvironment::NormalizeTime(float tm) |
| 211 | { |
no outgoing calls
no test coverage detected