ScummVM API documentation
Saga2::CalendarTime Class Reference

Public Types

enum  {
  kDaysPerWeek = 7, kDaysPerYear = 365, kHoursPerDay = 24, kRealMinutesPerDay = 30,
  kFramesPerDay = 10 * 60 * kRealMinutesPerDay, kFramesPerHour = (kFramesPerDay / kHoursPerDay), kFramesAtNoon = (kFramesPerDay / 2), kDayBias = kFramesAtNoon / 6,
  kGameStartHour = 5
}
 

Public Member Functions

void read (Common::InSaveFile *in)
 
void write (Common::MemoryWriteStreamDynamic *out)
 
void update ()
 
int lightLevel (int maxLevel)
 
uint16 frameInDay ()
 

Public Attributes

uint16 _years
 
uint16 _weeks
 
uint16 _days
 
uint16 _dayInYear
 
uint16 _dayInWeek
 
uint16 _hour
 
uint16 _frameInHour
 
bool _calendarPaused
 

The documentation for this class was generated from the following file: