26 #ifndef SAGA2_CALENDAR_H 27 #define SAGA2_CALENDAR_H 42 kRealMinutesPerDay = 30,
45 kFramesPerDay = 10 * 60 * kRealMinutesPerDay,
48 kFramesPerHour = (kFramesPerDay / kHoursPerDay),
49 kFramesAtNoon = (kFramesPerDay / 2),
51 kDayBias = kFramesAtNoon / 6,
67 _years = _weeks = _days = _dayInYear = _dayInWeek = _hour = _frameInHour = 0;
68 _calendarPaused =
false;
75 int lightLevel(
int maxLevel);
78 return _hour * kFramesPerHour + _frameInHour;
102 void updateCalendar();
103 void pauseCalendar();
104 void resumeCalendar();
115 const int MAX_LIGHT = 12;
Definition: savefile.h:54
Definition: calendar.h:35
Definition: memstream.h:194
Definition: calendar.h:86