]> icculus.org git repositories - divverent/nexuiz.git/blob - data/menuqc/base/timer.qc
Prepare the renaming of timer.* to time.*
[divverent/nexuiz.git] / data / menuqc / base / timer.qc
1 // xMenu
2 // * NG-Menu
3 // base/time.qc
4 // * base/timer.qc
5
6 float _Time_Last;
7
8 void() Time_Init =
9 {
10         Time_Current = gettime();
11         Time_Delta = 0.0;
12 };
13
14 void() Time_Update =
15 {
16         _Time_Last = Time_Current;
17         Time_Time = gettime();
18         Time_Delta = Time_Current - _Time_Last;
19 };
20
21 void() Time_Quit =
22 {
23 };
24