From 97de050f8924000194f7ba7224cfeb0b22cf8fec Mon Sep 17 00:00:00 2001 From: Maik Teurlings Date: Tue, 20 May 2008 12:19:46 +0000 Subject: C_MatchBloxEngine.cpp goed gemaakt --- matchblox/engine/C_MatchBloxEngine.cpp | 38 +++++++++++++++++----------------- matchblox/engine/C_MatchBloxEngine.h | 4 ++-- 2 files changed, 21 insertions(+), 21 deletions(-) diff --git a/matchblox/engine/C_MatchBloxEngine.cpp b/matchblox/engine/C_MatchBloxEngine.cpp index dafa6a5..29b787e 100644 --- a/matchblox/engine/C_MatchBloxEngine.cpp +++ b/matchblox/engine/C_MatchBloxEngine.cpp @@ -53,27 +53,27 @@ C_MatchBloxEngine::~C_MatchBloxEngine() DeleteModels(); } -GameResult C_MatchBloxEngine::ProcessMsgs(msgQueue &f_Queue) +GameResult C_MatchBloxEngine::ProcessMsgs(void) { - msgStruct l_msg; + //msgStruct l_msg; - //process message queue - while (!f_Queue.empty()) - { - //get the first msg - l_msg = f_Queue.front(); - f_Queue.pop(); - - switch (l_msg.m_MessageType) - { - case WII_CURSOR_MOVE: - - break; - - case WII_BUTTON_PRESS: - break; - } - } + ////process message queue + //while (!f_Queue.empty()) + //{ + // //get the first msg + // l_msg = f_Queue.front(); + // f_Queue.pop(); + + // switch (l_msg.m_MessageType) + // { + // case WII_CURSOR_MOVE: + // + // break; + + // case WII_BUTTON_PRESS: + // break; + // } + //} return GR_BUSY; } diff --git a/matchblox/engine/C_MatchBloxEngine.h b/matchblox/engine/C_MatchBloxEngine.h index 48a17b7..19e0630 100644 --- a/matchblox/engine/C_MatchBloxEngine.h +++ b/matchblox/engine/C_MatchBloxEngine.h @@ -2,7 +2,7 @@ #define C_MATCHBLOXENGINE_HEADER_FILE -#include "MessageQueue.h" +#include "message_queue.h" #include "typedefs.h" class C_3DObject; @@ -137,7 +137,7 @@ public: GameSettings f_GameSettings); ~C_MatchBloxEngine(); - GameResult ProcessMsgs(msgQueue &f_Queue); + GameResult ProcessMsgs(void); void Render(unsigned int f_uiElapsedTime); bool NewGame(int f_iUserID, int f_iGameId, BoxSize f_BS); -- cgit v0.12