MCPcopy Create free account
hub / github.com/dhewm/dhewm3 / BufferCommandText

Method BufferCommandText

neo/framework/CmdSystem.cpp:580–598  ·  view source on GitHub ↗

============ idCmdSystemLocal::BufferCommandText ============ */

Source from the content-addressed store, hash-verified

578============
579*/
580void idCmdSystemLocal::BufferCommandText( cmdExecution_t exec, const char *text ) {
581 switch( exec ) {
582 case CMD_EXEC_NOW: {
583 ExecuteCommandText( text );
584 break;
585 }
586 case CMD_EXEC_INSERT: {
587 InsertCommandText( text );
588 break;
589 }
590 case CMD_EXEC_APPEND: {
591 AppendCommandText( text );
592 break;
593 }
594 default: {
595 common->FatalError( "idCmdSystemLocal::BufferCommandText: bad exec type" );
596 }
597 }
598}
599
600/*
601============

Callers 15

MapRestartMethod · 0.80
MapRestart_fMethod · 0.80
SetCameraMethod · 0.80
SkipCinematicMethod · 0.80
ServerAllowClientMethod · 0.80
ClientReadSnapshotMethod · 0.80
ExecuteVoteMethod · 0.80
RunMethod · 0.80
HandleGuiCommandsMethod · 0.80
MapRestartMethod · 0.80
Event_SayMethod · 0.80
CallFrameCommandsMethod · 0.80

Calls 1

FatalErrorMethod · 0.45

Tested by 2

TestSaveGame_fFunction · 0.64
TestSaveGame_fFunction · 0.64