mirror of
https://github.com/enzet/map-machine.git
synced 2025-06-06 04:41:54 +02:00
Add --roofs argument; rename argument.
Rename --show-tooltips to --tooltips.
This commit is contained in:
parent
d5847a8cf7
commit
fca08ab279
3 changed files with 17 additions and 5 deletions
|
@ -34,6 +34,7 @@ class BuildingMode(Enum):
|
|||
Building drawing mode.
|
||||
"""
|
||||
|
||||
NO: str = "no"
|
||||
FLAT: str = "flat"
|
||||
ISOMETRIC: str = "isometric"
|
||||
ISOMETRIC_NO_PARTS: str = "isometric-no-parts"
|
||||
|
@ -55,6 +56,7 @@ class MapConfiguration:
|
|||
show_tooltips: bool = False
|
||||
country: str = "world"
|
||||
ignore_level_matching: bool = False
|
||||
draw_roofs: bool = True
|
||||
|
||||
@classmethod
|
||||
def from_options(
|
||||
|
@ -72,6 +74,7 @@ class MapConfiguration:
|
|||
options.show_tooltips,
|
||||
options.country,
|
||||
options.ignore_level_matching,
|
||||
options.draw_roofs,
|
||||
)
|
||||
|
||||
def is_wireframe(self) -> bool:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue