//===========================================================================//
// File:	MemoryDiffKiller.hpp											 //
//---------------------------------------------------------------------------//
//   Date    Who  Modification                                               //
// --------  ---  ---------------------------------------------------------- //
// 10/04/00  JSE  die haxorz die   
//---------------------------------------------------------------------------//
// Copyright (C) 2000, Microsoft Corp										 //
// All Rights reserved worldwide                                             //
// This unpublished sourcecode is PROPRIETARY and CONFIDENTIAL               //
//===========================================================================//

#pragma once

#include "MW4.hpp"


namespace MechWarrior4
{
	class MemoryDiffKiller:
		public Stuff::Plug
	{
	public:


		MemoryDiffKiller();
		~MemoryDiffKiller();


		enum {
			Maximum_Sources=255,
			Maximum_Copies=1000
		};


		void Init();
		void Uninit();
		void MoveItAndShakeIt();

		
		SlotOf<Plug*> m_sourceData[Maximum_Sources];
		int			  m_sourceSize[Maximum_Sources];
		int			  m_sourceCount;
		
		void *m_copyMemory[Maximum_Copies];
		int	  m_copySize[Maximum_Copies];
		BYTE  m_copySourceIndex[Maximum_Copies];




	};
}