Logo Search packages:      
Sourcecode: scummvm version File versions  Download package

void SaveStateDescriptor::setSaveDate ( int  year,
int  month,
int  day 
)

Sets the 'save_date' key properly, based on the given values.

Definition at line 139 of file game.cpp.

                                                                  {
      char buffer[32];
      snprintf(buffer, 32, "%.2d.%.2d.%.4d", day, month, year);
      setVal("save_date", buffer);
}


Generated by  Doxygen 1.6.0   Back to index