diff Arcomage.cpp @ 1038:39f42990698f

Cleanings
author Nomad
date Thu, 23 May 2013 03:29:29 +0200
parents 3a5c8df8381d
children 39eaa6b00141 6b34a45a3983
line wrap: on
line diff
--- a/Arcomage.cpp	Wed May 22 14:12:51 2013 +0200
+++ b/Arcomage.cpp	Thu May 23 03:29:29 2013 +0200
@@ -267,7 +267,7 @@
     TranslateMessage(&pArcomageGame->msg);
     DispatchMessageA(&pArcomageGame->msg);
   }
-  if (pAsyncMouse)
+  /*if (pAsyncMouse)
   {
     EnterCriticalSection(&pGame->pThreadWardInstance->csAsyncMouse);
     v4 = *((unsigned int *)pAsyncMouse + 7);
@@ -297,7 +297,7 @@
     if ( !*((unsigned char *)pAsyncMouse + 90) )
       pArcomageGame->field_F6 = 1;
     LeaveCriticalSection(&pGame->pThreadWardInstance->csAsyncMouse);
-  }
+  }*/
   memcpy(v2, &pArcomageGame->stru1, 0xCu);
   return pArcomageGame->stru1.field_0 != 0;
 }
@@ -1423,11 +1423,7 @@
     ++v3;
   }
   while ( (signed int)v3 < (signed int)&unk_5052C8 );
-  if (pAsyncMouse)
-  {
-    pAsyncMouse->_409E3D(*((unsigned char *)pAsyncMouse + 103));
-    pAsyncMouse->_46B944();
-  }
+
   pArcomageGame->pGameBackground.Release();
   pArcomageGame->pSprites.Release();
   pArcomageGame->bGameInProgress = 0;
@@ -5754,8 +5750,6 @@
   int pXY[2]; // [sp+18h] [bp-Ch]@5
   int v10; // [sp+20h] [bp-4h]@3
 
-  if (pAsyncMouse)
-    pAsyncMouse->_409E3D(1);
   pAudioPlayer->StopChannels(-1, -1);
   strcpy(pArcomageGame->pPlayer1Name, pArcomagePlayer1Name);
   strcpy(pArcomageGame->pPlayer2Name, pArcomagePlayer2Name);