summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaik Teurlings <mteur@gmx.net>2008-05-20 12:19:46 (GMT)
committerMaik Teurlings <mteur@gmx.net>2008-05-20 12:19:46 (GMT)
commit97de050f8924000194f7ba7224cfeb0b22cf8fec (patch)
treec9c692edff5746573c5d862b8799247b58780c82
parent484123add56ac236a9bfb361ab475bf8f3bead6f (diff)
download2iv55-97de050f8924000194f7ba7224cfeb0b22cf8fec.zip
2iv55-97de050f8924000194f7ba7224cfeb0b22cf8fec.tar.gz
2iv55-97de050f8924000194f7ba7224cfeb0b22cf8fec.tar.bz2
C_MatchBloxEngine.cpp goed gemaakt
-rw-r--r--matchblox/engine/C_MatchBloxEngine.cpp38
-rw-r--r--matchblox/engine/C_MatchBloxEngine.h4
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);