MCPcopy Create free account
hub / github.com/TheForceEngine/TheForceEngine / loopStart

Function loopStart

TheForceEngine/TFE_Asset/vocAsset.cpp:210–215  ·  view source on GitHub ↗

Dark Forces VOC files only have zero or one looping section.

Source from the content-addressed store, hash-verified

208
209 // Dark Forces VOC files only have zero or one looping section.
210 void loopStart(SoundBuffer* voc, u16 repeatCount)
211 {
212 voc->loopStart = voc->size;
213 voc->flags |= SBUFFER_FLAG_LOOPING;
214 // repeatCount is ignored in Dark Forces.
215 }
216
217 void loopEnd(SoundBuffer* voc)
218 {

Callers 1

parseVocFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected