MCPcopy Create free account
hub / github.com/codereader/DarkRadiant / parseLocalSoundStatement

Method parseLocalSoundStatement

plugins/dm.gui/gui/GuiScript.cpp:197–206  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

195}
196
197void GuiScript::parseLocalSoundStatement(parser::DefTokeniser& tokeniser)
198{
199 // Prototype: localSound <sound>
200 StatementPtr st(new Statement(Statement::ST_LOCALSOUND));
201
202 st->args.push_back(_owner.parseString(tokeniser)); // sound
203 tokeniser.assertNextToken(";");
204
205 pushStatement(st);
206}
207
208void GuiScript::parseRunScriptStatement(parser::DefTokeniser& tokeniser)
209{

Callers

nothing calls this directly

Calls 3

parseStringMethod · 0.80
push_backMethod · 0.45
assertNextTokenMethod · 0.45

Tested by

no test coverage detected