| 68 | } |
| 69 | |
| 70 | unsigned CSongData::GetFreePatternIndex(stChannelID Channel, unsigned Whence) const { // // // |
| 71 | while (++Whence < MAX_PATTERN) |
| 72 | if (!IsPatternInUse(Channel, Whence) && GetPattern(Channel, Whence).IsEmpty()) |
| 73 | return Whence; |
| 74 | |
| 75 | return -1; |
| 76 | } |
| 77 | |
| 78 | stChanNote &CSongData::GetPatternData(stChannelID Channel, unsigned Pattern, unsigned Row) // // // |
| 79 | { |
no test coverage detected