Remove external control callback

This commit is contained in:
Alexander Bock
2018-09-17 15:13:54 -04:00
parent 9ac41c6586
commit c03ddf76cc
2 changed files with 0 additions and 13 deletions
@@ -79,7 +79,6 @@ public:
void mouseButtonCallback(MouseButton button, MouseAction action);
void mousePositionCallback(double x, double y);
void mouseScrollWheelCallback(double posX, double posY);
void externalControlCallback(const char* receivedChars, int size, int clientId);
void encode();
void decode();
-12
View File
@@ -1239,18 +1239,6 @@ void OpenSpaceEngine::decode() {
global::syncEngine.decodeSyncables();
}
void OpenSpaceEngine::externalControlCallback(const char* receivedChars, int size,
int /*clientId*/)
{
// Not currently used anymore; should be replaced with a non-SGCT relient socket
if (size == 0) {
return;
}
global::networkEngine.handleMessage(std::string(receivedChars, size));
}
void OpenSpaceEngine::toggleShutdownMode() {
if (_shutdown.inShutdown) {
// If we are already in shutdown mode, we want to disable it