ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/include/tod.h
(Generate patch)

Comparing deliantra/server/include/tod.h (file contents):
Revision 1.8 by root, Sat Mar 17 22:11:23 2007 UTC vs.
Revision 1.9 by root, Tue Apr 17 10:06:33 2007 UTC

23 * The authors can be reached via e-mail at crossfire@schmorp.de 23 * The authors can be reached via e-mail at crossfire@schmorp.de
24 */ 24 */
25 25
26#ifndef TOD_H_ 26#ifndef TOD_H_
27#define TOD_H_ 27#define TOD_H_
28
29#define TICK (MAX_TIME * 1e-6)
28 30
29#define RUNTIME_PER_HOUR 180. 31#define RUNTIME_PER_HOUR 180.
30#define TICKS_PER_HOUR int (RUNTIME_PER_HOUR / MAX_TIME * 1e6) 32#define TICKS_PER_HOUR int (RUNTIME_PER_HOUR / MAX_TIME * 1e6)
31 33
32/* game time */ 34/* game time */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines