diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2014-10-19 13:39:50 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2014-10-19 13:39:50 +0200 |
commit | a8ffbb76f3e3bbca547fccf5135323e06cae9d2a (patch) | |
tree | cd77a5302cb4ead5995a2a86d5b5b6324ebf43ff /ftnoir_protocol_fsuipc/ftnoir_protocol_fsuipc.cpp | |
parent | 0f0d663c6263a59e2cb14f555a00b39b19c134e7 (diff) |
update modules to refactored API
Diffstat (limited to 'ftnoir_protocol_fsuipc/ftnoir_protocol_fsuipc.cpp')
-rw-r--r-- | ftnoir_protocol_fsuipc/ftnoir_protocol_fsuipc.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ftnoir_protocol_fsuipc/ftnoir_protocol_fsuipc.cpp b/ftnoir_protocol_fsuipc/ftnoir_protocol_fsuipc.cpp index 822cdb4d..16f116f6 100644 --- a/ftnoir_protocol_fsuipc/ftnoir_protocol_fsuipc.cpp +++ b/ftnoir_protocol_fsuipc/ftnoir_protocol_fsuipc.cpp @@ -58,7 +58,7 @@ double local_x; return (int) y; } -void FTNoIR_Protocol::sendHeadposeToGame(const double *headpose ) { +void FTNoIR_Protocol::pose(const double *headpose ) { DWORD result; TFSState pitch; TFSState yaw; @@ -139,20 +139,20 @@ void FTNoIR_Protocol::sendHeadposeToGame(const double *headpose ) { prevRotZ = virtRotZ; } -bool FTNoIR_Protocol::checkServerInstallationOK() +bool FTNoIR_Protocol::correct() { - qDebug() << "checkServerInstallationOK says: Starting Function"; + qDebug() << "correct says: Starting Function"; // // Load the DLL. // FSUIPCLib.setFileName( s.LocationOfDLL ); if (FSUIPCLib.load() != true) { - qDebug() << "checkServerInstallationOK says: Error loading FSUIPC DLL"; + qDebug() << "correct says: Error loading FSUIPC DLL"; return false; } else { - qDebug() << "checkServerInstallationOK says: FSUIPC DLL loaded."; + qDebug() << "correct says: FSUIPC DLL loaded."; } return true; |