| 2064 | } |
| 2065 | |
| 2066 | void cFodder::Music_Increase_Channel_Volume() { |
| 2067 | |
| 2068 | if (word_82176) { |
| 2069 | int16 d0 = mInterruptTick & 3; |
| 2070 | if (!d0) { |
| 2071 | for (int i = 0; i < 4; ++i) { |
| 2072 | int16 v = mSound->Music_GetVolume(i); |
| 2073 | if (v < 0x40) { |
| 2074 | mSound->Music_SetVolume(i, ++v); |
| 2075 | } |
| 2076 | } |
| 2077 | } |
| 2078 | } |
| 2079 | |
| 2080 | if (word_82178) { |
| 2081 | Music_Decrease_Channel_Volume(); |
| 2082 | } |
| 2083 | |
| 2084 | if (mMusic_SlowVolumeDecrease) { |
| 2085 | int16 d0 = mInterruptTick & 0x3F; |
| 2086 | if (!d0) { |
| 2087 | Music_Decrease_Channel_Volume(); |
| 2088 | } |
| 2089 | } |
| 2090 | } |
| 2091 | |
| 2092 | bool cFodder::Music_Decrease_Channel_Volume() { |
| 2093 | bool ret = false; |
nothing calls this directly
no test coverage detected