MCPcopy Create free account
hub / github.com/SimHacker/micropolis / PlayQueue

Method PlayQueue

MicropolisCore/src/CellEngine/src/cellengine.cpp:280–289  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

278 }
279
280 static void PlayQueue()
281 {
282 if (queue.size() > 0) {
283 float vol = (float)0.75 +
284 ((float)0.25 *
285 (float)sqrt((float)1.0 / queue.size()));
286 PlayReverse(vol);
287 ClearQueue();
288 }
289 }
290};
291
292std::vector<SoundEvent> SoundEvent::queue;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected