MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / init

Method init

music/tracklist.cpp:59–68  ·  view source on GitHub ↗

initializes track list system

Source from the content-addressed store, hash-verified

57
58// initializes track list system
59void oms_tracklist::init(int16_t maxtracks) {
60 if (!m_init) {
61 m_maxtracks = maxtracks;
62 m_numtracks = 0;
63
64 m_fnamelist = new char *[m_maxtracks];
65 m_symlist = new char *[m_maxtracks];
66 m_init = true;
67 }
68}
69
70// frees track list system
71void oms_tracklist::free() {

Callers 1

InitMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected