equal
deleted
inserted
replaced
27 |
27 |
28 HWMap::~HWMap() |
28 HWMap::~HWMap() |
29 { |
29 { |
30 } |
30 } |
31 |
31 |
|
32 bool HWMap::couldBeRemoved() |
|
33 { |
|
34 return !m_hasStarted; |
|
35 } |
|
36 |
32 void HWMap::getImage(const QString & seed, int filter, MapGenerator mapgen, int maze_size, const QByteArray & drawMapData) |
37 void HWMap::getImage(const QString & seed, int filter, MapGenerator mapgen, int maze_size, const QByteArray & drawMapData) |
33 { |
38 { |
34 m_seed = seed; |
39 m_seed = seed; |
35 templateFilter = filter; |
40 templateFilter = filter; |
36 m_mapgen = mapgen; |
41 m_mapgen = mapgen; |
37 m_maze_size = maze_size; |
42 m_maze_size = maze_size; |
38 if(mapgen == MAPGEN_DRAWN) m_drawMapData = drawMapData; |
43 if(mapgen == MAPGEN_DRAWN) m_drawMapData = drawMapData; |
39 Start(); |
44 Start(true); |
40 } |
45 } |
41 |
46 |
42 QStringList HWMap::getArguments() |
47 QStringList HWMap::getArguments() |
43 { |
48 { |
44 QStringList arguments; |
49 QStringList arguments; |