* Returns a localizable-string representation of * the current ingame weekday. * @return Weekday string ID. */
| 178 | * @return Weekday string ID. |
| 179 | */ |
| 180 | std::string GameTime::getWeekdayString() const |
| 181 | { |
| 182 | std::string weekdays[] = {"STR_SUNDAY", "STR_MONDAY", "STR_TUESDAY", "STR_WEDNESDAY", "STR_THURSDAY", "STR_FRIDAY", "STR_SATURDAY"}; |
| 183 | return weekdays[_weekday - 1]; |
| 184 | } |
| 185 | |
| 186 | /** |
| 187 | * Returns the current ingame day. |