MCPcopy Create free account
hub / github.com/NetHack/NetHack / growl_sound

Function growl_sound

src/sounds.c:350–398  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

348};
349
350const char *
351growl_sound(struct monst *mtmp)
352{
353 const char *ret;
354
355 switch (mtmp->data->msound) {
356 case MS_MEW:
357 case MS_HISS:
358 ret = "hiss";
359 break;
360 case MS_BARK:
361 case MS_GROWL:
362 ret = "growl";
363 break;
364 case MS_ROAR:
365 ret = "roar";
366 break;
367 case MS_BELLOW:
368 ret = "bellow";
369 break;
370 case MS_BUZZ:
371 ret = "buzz";
372 break;
373 case MS_SQEEK:
374 ret = "squeal";
375 break;
376 case MS_SQAWK:
377 ret = "screech";
378 break;
379 case MS_NEIGH:
380 ret = "neigh";
381 break;
382 case MS_WAIL:
383 ret = "wail";
384 break;
385 case MS_GROAN:
386 ret = "groan";
387 break;
388 case MS_MOO:
389 ret = "low";
390 break;
391 case MS_SILENT:
392 ret = "commotion";
393 break;
394 default:
395 ret = "scream";
396 }
397 return ret;
398}
399
400/* the sounds of a seriously abused pet, including player attacking it */
401void

Callers 2

growlFunction · 0.85
summonmuFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected