(svn r13551) -Codechange: store offsets to different zoom levels in a distinguished struct instead in the data stream for 8bpp-optimized
This commit is contained in:
@@ -167,7 +167,7 @@ static void StartSound(uint sound, int panning, uint volume)
|
||||
|
||||
|
||||
static const byte _vol_factor_by_zoom[] = {255, 190, 134, 87};
|
||||
assert_compile(lengthof(_vol_factor_by_zoom) == ZOOM_LVL_END - ZOOM_LVL_BEGIN);
|
||||
assert_compile(lengthof(_vol_factor_by_zoom) == ZOOM_LVL_COUNT);
|
||||
|
||||
static const byte _sound_base_vol[] = {
|
||||
128, 90, 128, 128, 128, 128, 128, 128,
|
||||
|
Reference in New Issue
Block a user