remove Mutex Manager and associated dead code (#44)

this does nothing
This commit is contained in:
majcosta
2022-12-19 17:43:03 -08:00
committed by GitHub
parent 12c778118e
commit 03e5fbbffd
23 changed files with 0 additions and 346 deletions
-4
View File
@@ -1659,8 +1659,6 @@ void DrawMouseText( )
static BOOLEAN fShow = FALSE;
static BOOLEAN fHoldInvalid = TRUE;
//EnterMutex(MOUSE_BUFFER_MUTEX, __LINE__, __FILE__);
if ( gfUIBodyHitLocation )
{
// Set dest for gprintf to be different
@@ -1856,8 +1854,6 @@ void DrawMouseText( )
mprintf( sX, sY, L"%d", gsCurrentActionPoints );
//mprintf( sX, sY, L"%d %d", sX, sY );
//LeaveMutex(MOUSE_BUFFER_MUTEX, __LINE__, __FILE__);
SetFontShadow( DEFAULT_SHADOW );
// reset
-1
View File
@@ -63,7 +63,6 @@
#include "Message.h"
#include <memory.h>
#include "mbstring.h"
#include "Mutex Manager.h"
#include "local.h"
#include "Map Screen Interface Bottom.h"
#include "Soundman.h"
-7
View File
@@ -12,7 +12,6 @@
#include "Timer Control.h"
#include "render dirty.h"
#include "renderworld.h"
#include "Mutex Manager.h"
#include "local.h"
#include "interface.h"
#include "Map Screen Interface Bottom.h"
@@ -806,8 +805,6 @@ void TacticalScreenMsg( UINT16 usColor, UINT8 ubPriority, STR16 pStringA, ... )
// Init display array!
memset( gpDisplayList, 0, sizeof( gpDisplayList ) );
fFirstTimeInMessageSystem = FALSE;
//if(!(InitializeMutex(SCROLL_MESSAGE_MUTEX,"ScrollMessageMutex" )))
// return;
}
@@ -891,7 +888,6 @@ void TacticalScreenMsg( UINT16 usColor, UINT8 ubPriority, STR16 pStringA, ... )
// clear up list of wrapped strings
ClearWrappedStrings( pStringWrapperHead );
//LeaveMutex(SCROLL_MESSAGE_MUTEX, __LINE__, __FILE__);
return;
}
@@ -1010,8 +1006,6 @@ void MapScreenMessage( UINT16 usColor, UINT8 ubPriority, STR16 pStringA, ... )
// Init display array!
memset( gpDisplayList, 0, sizeof( gpDisplayList ) );
fFirstTimeInMessageSystem = FALSE;
//if(!(InitializeMutex(SCROLL_MESSAGE_MUTEX,"ScrollMessageMutex" )))
// return;
}
@@ -1079,7 +1073,6 @@ void MapScreenMessage( UINT16 usColor, UINT8 ubPriority, STR16 pStringA, ... )
MoveToEndOfMapScreenMessageList( );
//LeaveMutex(SCROLL_MESSAGE_MUTEX, __LINE__, __FILE__);
}