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

Method parseShowCursorStatement

plugins/dm.gui/gui/GuiScript.cpp:177–186  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

175}
176
177void GuiScript::parseShowCursorStatement(parser::DefTokeniser& tokeniser)
178{
179 // Prototype: showCursor <bool>
180 StatementPtr st(new Statement(Statement::ST_SHOW_CURSOR));
181
182 st->args.push_back(_owner.parseString(tokeniser)); // boolean
183 tokeniser.assertNextToken(";");
184
185 pushStatement(st);
186}
187
188void GuiScript::parseResetCinematicStatement(parser::DefTokeniser& tokeniser)
189{

Callers

nothing calls this directly

Calls 3

parseStringMethod · 0.80
push_backMethod · 0.45
assertNextTokenMethod · 0.45

Tested by

no test coverage detected