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.
45 lines
546 B
45 lines
546 B
#include "map.h"
|
|
#include "define.h"
|
|
|
|
Map::Map()
|
|
{
|
|
loadimage(&img, _T("default_map.png"), MAP_POINT_SIZE, MAP_POINT_SIZE, true);
|
|
for (int i = 0; i < MAP_WIDTH; i++)
|
|
{
|
|
for (int j = 0; j < MAP_HEIGHT; j++)
|
|
{
|
|
map[i * MAP_HEIGHT + j] = false;
|
|
}
|
|
}
|
|
}
|
|
|
|
bool Map::GetOnePoint(int x, int y)
|
|
{
|
|
return false;
|
|
}
|
|
|
|
void Map::SetOnePoint(int x, int y)
|
|
{
|
|
}
|
|
|
|
void Map::SetImage(IMAGE _img)
|
|
{
|
|
}
|
|
|
|
void Map::ClearOnePoint(int x, int y)
|
|
{
|
|
}
|
|
|
|
bool Map::IsEmpty()
|
|
{
|
|
return false;
|
|
}
|
|
|
|
void Map::DrawOnePoint(int x, int y)
|
|
{
|
|
}
|
|
|
|
void Map::DrawAllPoint()
|
|
{
|
|
}
|