summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDennis Peeten <dpeeten@onsneteindhoven.nl>2008-05-27 17:14:14 (GMT)
committerDennis Peeten <dpeeten@onsneteindhoven.nl>2008-05-27 17:14:14 (GMT)
commit4f1e514f389bd1bd0de21bb3daaf477939b0ce33 (patch)
tree710a699795d929dabab442e1eadad6a48c3f606d
parent950aa6929386d478f5a45739c4abd70500f1fef7 (diff)
download2iv55-4f1e514f389bd1bd0de21bb3daaf477939b0ce33.zip
2iv55-4f1e514f389bd1bd0de21bb3daaf477939b0ce33.tar.gz
2iv55-4f1e514f389bd1bd0de21bb3daaf477939b0ce33.tar.bz2
oeps
-rw-r--r--matchblox/main.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/matchblox/main.cpp b/matchblox/main.cpp
index fb84a97..3b92a22 100644
--- a/matchblox/main.cpp
+++ b/matchblox/main.cpp
@@ -87,8 +87,8 @@ void idle_func(void)
struct input_payload_wiimote wiimote_payload;
struct messageq_s message;
- wiimote_payload.posDataValid = false;
- //g_GameState.m_pWiimote[0]->FillWiimoteMsgPayload(wiimote_payload, 205.0); // << should be a sensor bar led distance
+ //wiimote_payload.posDataValid = false;
+ g_GameState.m_pWiimote[0]->FillWiimoteMsgPayload(wiimote_payload, 205.0); // << should be a sensor bar led distance
message.recipient = MESSAGE_MENU | MESSAGE_RENDERER;
message.sender = MESSAGE_INPUT_WIIMOTE;
@@ -111,7 +111,7 @@ void render_scene(void)
input_payload_wiimote l_HTWiimote;
l_HTWiimote.posDataValid = false;
- //g_GameState.m_pWiimote[0]->FillWiimoteMsgPayload(l_HTWiimote, 210.0);
+ g_GameState.m_pWiimote[0]->FillWiimoteMsgPayload(l_HTWiimote, 210.0);
g_pEngine->Render(glutGet(GLUT_ELAPSED_TIME), l_HTWiimote, g_GameState.m_FrustumParms);
//render the menu
@@ -225,7 +225,7 @@ int main(int argc, char **argv)
}
MenuInit(SCREEN_WIDTH, SCREEN_HEIGHT);
- //InitWiiMotes();
+ InitWiiMotes();
// initialise the stereo vision parameters << should be loaded from a textfile
g_GameState.m_FrustumParms.m_dEyeDistMM = 70.0; //7 cm