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

Function SpewInit

Descent3/spew.cpp:155–164  ·  view source on GitHub ↗

Initializes the Spew system

Source from the content-addressed store, hash-verified

153
154// Initializes the Spew system
155void SpewInit() {
156 mprintf(0, "Initializing Spew System\n");
157 int count;
158 spew_count = 0;
159
160 for (count = 0; count < MAX_SPEW_EFFECTS; count++) {
161 SpewClearEvent(count, true);
162 }
163 mprintf(0, "Done Initializing Spew System\n");
164}
165
166// Creates a Spew effect
167// spew -> Pointer to spewinfo structure (that is filled out)...may be deleted after function call

Callers 1

ClearAllEventsFunction · 0.85

Calls 1

SpewClearEventFunction · 0.85

Tested by

no test coverage detected