MCPcopy Create free account
hub / github.com/GarageGames/Torque2D / enable

Method enable

engine/source/platformAndroid/AndroidConsole.cpp:72–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72void AndroidConsole::enable(bool enabled)
73{
74 if (gConsole == NULL) return;
75
76 consoleEnabled = enabled;
77 if(consoleEnabled)
78 {
79 printf("Initializing Console...\n");
80 new Thread((ThreadRunFunction)AndroidConsoleInputLoopThread,0,true);
81 printf("Console Initialized.\n");
82
83 printf("%s", Con::getVariable("Con::Prompt"));
84 }
85 else
86 {
87 printf("Deactivating Console.");
88 }
89}
90
91//%PUAP%
92void AndroidConsole::enableDebugOutput(bool enabled)

Callers 1

AndroidConsole.cppFile · 0.45

Calls 2

printfFunction · 0.85
getVariableFunction · 0.85

Tested by

no test coverage detected