summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_protocol_ftn
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-04-27 12:51:07 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-04-27 12:51:07 +0200
commitf6468961b869dcc46e754bbfe0055e4c7b4fea9d (patch)
treef69d1d061de9b970401746fe70f5bcd6d741b7e3 /ftnoir_protocol_ftn
parent5c957f7e819a776dcf9a2a3790c88a9ab20dab9f (diff)
Remove old way of getting the game name, which had a buffer size cap.
Diffstat (limited to 'ftnoir_protocol_ftn')
-rw-r--r--ftnoir_protocol_ftn/ftnoir_protocol_ftn.cpp9
-rw-r--r--ftnoir_protocol_ftn/ftnoir_protocol_ftn.h1
2 files changed, 0 insertions, 10 deletions
diff --git a/ftnoir_protocol_ftn/ftnoir_protocol_ftn.cpp b/ftnoir_protocol_ftn/ftnoir_protocol_ftn.cpp
index b8cc0703..424dc5aa 100644
--- a/ftnoir_protocol_ftn/ftnoir_protocol_ftn.cpp
+++ b/ftnoir_protocol_ftn/ftnoir_protocol_ftn.cpp
@@ -114,15 +114,6 @@ bool FTNoIR_Protocol::checkServerInstallationOK()
return true;
}
-//
-// Return a name, if present the name from the Game, that is connected...
-//
-void FTNoIR_Protocol::getNameFromGame( char *dest )
-{
- sprintf(dest, "FaceTrackNoIR UDP");
- return;
-}
-
////////////////////////////////////////////////////////////////////////////////
// Factory function that creates instances if the Protocol object.
diff --git a/ftnoir_protocol_ftn/ftnoir_protocol_ftn.h b/ftnoir_protocol_ftn/ftnoir_protocol_ftn.h
index 6b4f3978..d6a30da7 100644
--- a/ftnoir_protocol_ftn/ftnoir_protocol_ftn.h
+++ b/ftnoir_protocol_ftn/ftnoir_protocol_ftn.h
@@ -49,7 +49,6 @@ public:
bool checkServerInstallationOK();
void sendHeadposeToGame( double *headpose, double *rawheadpose );
- void getNameFromGame( char *dest ); // Take care dest can handle up to 100 chars...
QString getGameName() {
return "UDP Tracker";
}