You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
64 lines
1.7 KiB
64 lines
1.7 KiB
//----------------------------------------------------------------------------
|
|
// Laser Guard Ltd.
|
|
// Copyright © 2000-2002. All Rights Reserved.
|
|
// Version 1.0 01/01/2000
|
|
// Last modification: 31/07/2001
|
|
// PROJECT:
|
|
// SUBSYSTEM:
|
|
// FILE: MapData.cpp
|
|
// AUTHOR: Sergey Chizhevskiy
|
|
// OVERVIEW
|
|
// ~~~~~~~~
|
|
// Source file of MapData.cpp
|
|
//----------------------------------------------------------------------------
|
|
// MapData.cpp: implementation of the CMapData class.
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
#include "stdafx.h"
|
|
//#include "Chicago.h"
|
|
#include "MapData.h"
|
|
#include "AuxLib.h"
|
|
#include "AfxTempl.h"
|
|
#include "Version.h"
|
|
|
|
#ifdef _DEBUG
|
|
#undef THIS_FILE
|
|
static char THIS_FILE[]=__FILE__;
|
|
#define new DEBUG_NEW
|
|
#endif
|
|
|
|
CMapData::CMapData()
|
|
{
|
|
}
|
|
|
|
CMapData::~CMapData()
|
|
{
|
|
}
|
|
|
|
BOOL CMapData::Load(LPCTSTR pFileName)
|
|
{
|
|
return m_Background.Load( pFileName );
|
|
}
|
|
/*
|
|
void CMapData::Paint( CDC *pDC, CRect& viewRect, SDPOINT& mapShift, double mapScale, BOOL bBigSize )
|
|
{
|
|
CRect rect = CalcDrawRect( viewRect, (CSize&)m_Background.GetSize(), mapShift, mapScale );
|
|
|
|
m_Background.Draw( pDC, &rect );
|
|
|
|
if( m_pSensorArray )
|
|
m_pSensorArray->Paint( pDC, viewRect, (CSize&)m_Background.GetSize(), mapShift, mapScale, FALSE, bBigSize );
|
|
}
|
|
*/
|
|
//DEL BOOL CMapData::PaintMap( CDC *pDC, CRect& viewRect, SDPOINT& mapShift, double mapScale )
|
|
//DEL {
|
|
//DEL CRect rect = CalcDrawRect( viewRect, (CSize&)m_Background.GetSize(), mapShift, mapScale );
|
|
//DEL
|
|
//DEL return m_Background.Draw( pDC, &rect );
|
|
//DEL }
|
|
/*
|
|
void CMapData::SetSensorArray(CSensorArray *pSensorArray)
|
|
{
|
|
m_pSensorArray = pSensorArray;
|
|
}
|
|
*/
|