| 19 | } |
| 20 | |
| 21 | sp<BattleMapSector::LineOfSightBlock> BattleMapSector::LineOfSightBlock::clone(Vec3<int> shift) |
| 22 | { |
| 23 | auto b = mksp<BattleMapSector::LineOfSightBlock>(); |
| 24 | |
| 25 | b->start = start + shift; |
| 26 | b->end = end + shift; |
| 27 | |
| 28 | b->ai_patrol_priority = ai_patrol_priority; |
| 29 | b->ai_target_priority = ai_target_priority; |
| 30 | |
| 31 | b->also_allow_civilians = also_allow_civilians; |
| 32 | b->low_priority = low_priority; |
| 33 | b->spawn_type = spawn_type; |
| 34 | b->spawn_priority = spawn_priority; |
| 35 | b->spawn_large_units = spawn_large_units; |
| 36 | b->spawn_walking_units = spawn_walking_units; |
| 37 | |
| 38 | return b; |
| 39 | } |
| 40 | |
| 41 | UString BattleMapSectorTiles::getMapSectorPath() { return fw().getDataDir() + "/maps"; } |
| 42 | } // namespace OpenApoc |