Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKester Maddock <Christopher.Maddock.1@uni.massey.ac.nz>2005-03-25 13:33:39 +0300
committerKester Maddock <Christopher.Maddock.1@uni.massey.ac.nz>2005-03-25 13:33:39 +0300
commitc844aa265ad4eb50ad0e18661470fa6092052728 (patch)
treec4a778ab1227e4266022fd076e8a0cb709badd13 /source/gameengine/Network/LoopBackNetwork
parent3dd17cec3bcaa3885e14630e6a71a8486e9b2697 (diff)
Big patches:
Erwin Coumans: Abstract the physics engine Charlie C: Joystick fixes Me: Moved the ray cast (shadows, mouse sensor & ray sensor)
Diffstat (limited to 'source/gameengine/Network/LoopBackNetwork')
-rw-r--r--source/gameengine/Network/LoopBackNetwork/NG_LoopBackNetworkDeviceInterface.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/source/gameengine/Network/LoopBackNetwork/NG_LoopBackNetworkDeviceInterface.cpp b/source/gameengine/Network/LoopBackNetwork/NG_LoopBackNetworkDeviceInterface.cpp
index ec86e510c49..e36aa4750af 100644
--- a/source/gameengine/Network/LoopBackNetwork/NG_LoopBackNetworkDeviceInterface.cpp
+++ b/source/gameengine/Network/LoopBackNetwork/NG_LoopBackNetworkDeviceInterface.cpp
@@ -58,6 +58,9 @@ void NG_LoopBackNetworkDeviceInterface::NextFrame()
{
// Release reference to the messages while emptying the queue
while (m_messages[m_currentQueue].size() > 0) {
+#ifdef NAN_NET_DEBUG
+ printf("NG_LBNDI::NextFrame %d '%s'\n", m_currentQueue, m_messages[m_currentQueue][0]->GetSubject().ReadPtr());
+#endif
// Should do assert(m_events[0]);
m_messages[m_currentQueue][0]->Release();
m_messages[m_currentQueue].pop_front();
@@ -75,7 +78,8 @@ STR_String NG_LoopBackNetworkDeviceInterface::GetNetworkVersion()
void NG_LoopBackNetworkDeviceInterface::SendNetworkMessage(NG_NetworkMessage* nwmsg)
{
#ifdef NAN_NET_DEBUG
- printf("NG_LBNDI::SendNetworkMessage '%s'->'%s' '%s' '%s'\n",
+ printf("NG_LBNDI::SendNetworkMessage %d, '%s'->'%s' '%s' '%s'\n",
+ 1-m_currentQueue,
nwmsg->GetDestinationName().ReadPtr(),
nwmsg->GetSenderName().ReadPtr(),
nwmsg->GetSubject().ReadPtr(),
@@ -102,7 +106,8 @@ vector<NG_NetworkMessage*> NG_LoopBackNetworkDeviceInterface::RetrieveNetworkMes
messages.push_back(*mesit);
#ifdef NAN_NET_DEBUG
- printf("NG_LBNDI::RetrieveNetworkMessages '%s'->'%s' '%s' '%s'\n",
+ printf("NG_LBNDI::RetrieveNetworkMessages %d '%s'->'%s' '%s' '%s'\n",
+ m_currentQueue,
(*mesit)->GetDestinationName().ReadPtr(),
(*mesit)->GetSenderName().ReadPtr(),
(*mesit)->GetSubject().ReadPtr(),