* Returns a localizable-string representation of * the current ingame month. * @return Month string ID. */
| 237 | * @return Month string ID. |
| 238 | */ |
| 239 | std::string GameTime::getMonthString() const |
| 240 | { |
| 241 | std::string months[] = {"STR_JAN", "STR_FEB", "STR_MAR", "STR_APR", "STR_MAY", "STR_JUN", "STR_JUL", "STR_AUG", "STR_SEP", "STR_OCT", "STR_NOV", "STR_DEC"}; |
| 242 | return months[_month - 1]; |
| 243 | } |
| 244 | |
| 245 | /** |
| 246 | * Returns the current ingame year. |
no outgoing calls
no test coverage detected