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

void SaveStateDescriptor::setPlayTime ( int  hours,
int  minutes 
)

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

Definition at line 151 of file game.cpp.

                                                            {
      char buffer[32];
      snprintf(buffer, 32, "%.2d:%.2d", hours, minutes);
      setVal("play_time", buffer);
}


Generated by  Doxygen 1.6.0   Back to index