* Instruct the front-end to make a sound. * @param channel Name of the sound channel, which can effect the * sound (location, volume, spatialization, etc). * Use "city" for city sounds effects, and "interface" * for user interface sounds. * @param sound Name of the sound. * @param x Tile X position of sound, 0 to WORLD_W, or -1 for everywh
| 318 | * @param y Tile Y position of sound, 0 to WORLD_H, or -1 for everywhere. |
| 319 | */ |
| 320 | void Micropolis::makeSound(const char *channel, const char *sound, |
| 321 | int x, int y) |
| 322 | { |
| 323 | if (enableSound) { |
| 324 | callback("makeSound", "ssdd", channel, sound, x, y); |
| 325 | } |
| 326 | } |
| 327 | |
| 328 | |
| 329 | /** |
nothing calls this directly
no outgoing calls
no test coverage detected