MCPcopy Create free account
hub / github.com/demoth/jake2 / Execute

Method Execute

qcommon/src/main/java/jake2/qcommon/exec/Cbuf.java:182–193  ·  view source on GitHub ↗

Execute all command is the buffer

()

Source from the content-addressed store, hash-verified

180 * Execute all command is the buffer
181 */
182 public static void Execute() {
183 Globals.alias_count = 0; // don't allow infinite alias loops
184 while (!buffer.isEmpty()) {
185 String command = buffer.pop().trim();
186 if (!command.isEmpty())
187 Cmd.ExecuteString(command.trim());
188 if (Globals.cmd_wait) {
189 Globals.cmd_wait = false;
190 break;
191 }
192 }
193 }
194
195 /**
196 * Puts all remaining commands from main buffer to deferredBuffer.

Callers 14

initMethod · 0.95
runMethod · 0.95
initMethod · 0.95
runMethod · 0.95
initMethod · 0.95
runMethod · 0.95
mainMethod · 0.95
InitMethod · 0.95
SendCommandMethod · 0.95
InitMethod · 0.95
ParseServerMessageMethod · 0.95

Calls 1

ExecuteStringMethod · 0.95

Tested by 6

initMethod · 0.76
runMethod · 0.76
initMethod · 0.76
runMethod · 0.76
initMethod · 0.76
runMethod · 0.76