| 453 | } |
| 454 | |
| 455 | bool Note::hidden() const |
| 456 | { |
| 457 | // Hide skill gains that are not enabled by options. |
| 458 | if (type == NOTE_GAIN_SKILL || type == NOTE_LOSE_SKILL) |
| 459 | { |
| 460 | return !(Options.note_all_skill_levels |
| 461 | || second <= 27 && Options.note_skill_levels[second] |
| 462 | || Options.note_skill_max && _is_highest_skill(first)); |
| 463 | } |
| 464 | // Hide gems being shattered by default. |
| 465 | if (type == NOTE_GEM_LOST) |
| 466 | return !Options.more_gem_info; |
| 467 | return false; |
| 468 | } |
| 469 | |
| 470 | void Note::check_milestone() const |
| 471 | { |
no test coverage detected