forked from oerkki/voxelands
add glass sounds
This commit is contained in:
parent
ac04c22a15
commit
4d653d04f5
Binary file not shown.
Binary file not shown.
|
@ -2351,6 +2351,9 @@ void Client::playStepSound()
|
|||
case CMT_WOOD:
|
||||
m_sound->playSound("wood-walk",false,volume);
|
||||
break;
|
||||
case CMT_GLASS:
|
||||
m_sound->playSound("glass-walk",false,volume);
|
||||
break;
|
||||
default:;
|
||||
}
|
||||
}
|
||||
|
@ -2390,6 +2393,9 @@ void Client::playDigSound(content_t c)
|
|||
case CMT_WOOD:
|
||||
m_sound->playSound("wood-dig",false,volume);
|
||||
break;
|
||||
case CMT_GLASS:
|
||||
m_sound->playSound("glass-dig",false,volume);
|
||||
break;
|
||||
default:
|
||||
m_sound->playSound("miss-dig",false,volume);
|
||||
}
|
||||
|
|
|
@ -56,6 +56,8 @@ void init_sounds(ISoundManager *sound)
|
|||
sound->loadSound("wood-walk","wood_footstep.2.ogg");
|
||||
sound->loadSound("wood-walk","wood_footstep.3.ogg");
|
||||
sound->loadSound("wood-walk","wood_footstep.4.ogg");
|
||||
// CMT_GLASS
|
||||
sound->loadSound("glass-walk","glass_footstep.1.ogg");
|
||||
|
||||
// digging
|
||||
// CMT_DIRT
|
||||
|
@ -68,6 +70,8 @@ void init_sounds(ISoundManager *sound)
|
|||
sound->loadSound("liquid-dig","dig_liquid.1.ogg");
|
||||
// CMT_WOOD
|
||||
sound->loadSound("wood-dig","dig_wood.1.ogg");
|
||||
// CMT_GLASS
|
||||
sound->loadSound("glass-dig","dig_glass.1.ogg");
|
||||
// mobs
|
||||
sound->loadSound("mob-dig","dig_mob.ogg");
|
||||
// miss
|
||||
|
@ -82,6 +86,7 @@ void init_sounds(ISoundManager *sound)
|
|||
// CMT_PLANT
|
||||
// CMT_LIQUID
|
||||
// CMT_WOOD
|
||||
// CMT_GLASS
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue