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

Method Play

MicropolisCore/src/CellEngine/src/cellengine.cpp:241–259  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

239 }
240
241 void Play(float vol)
242 {
243 float speed =
244 (float)0.2 +
245 (((float)2.0 *
246 (float)(h - y) /
247 (float)h));
248 float pan = ((float)2.0 *
249 (float)x /
250 (float)w) - (float)1.0;
251#ifdef TODO
252 PlayWave(
253 s, // wave#
254 0, // looping
255 speed,
256 vol,
257 pan);
258#endif
259 }
260
261 static void PlayReverse(float vol)
262 {

Callers 1

PlayReverseMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected