Specify map size of 80x24
This commit is contained in:
parent
368f780fcd
commit
84e51a17ff
1 changed files with 3 additions and 1 deletions
|
@ -6,8 +6,9 @@ import argparse
|
||||||
import sys
|
import sys
|
||||||
import tcod
|
import tcod
|
||||||
from . import log
|
from . import log
|
||||||
from .configuration import Configuration, FontConfiguration, FontConfigurationError, MAP_SIZE, CONSOLE_SIZE
|
from .configuration import Configuration, FontConfiguration, FontConfigurationError
|
||||||
from .engine import Engine
|
from .engine import Engine
|
||||||
|
from .geometry import Size
|
||||||
|
|
||||||
|
|
||||||
def parse_args(argv, *a, **kw):
|
def parse_args(argv, *a, **kw):
|
||||||
|
@ -44,6 +45,7 @@ def main(argv):
|
||||||
|
|
||||||
configuration = Configuration(
|
configuration = Configuration(
|
||||||
console_font_configuration=font_config,
|
console_font_configuration=font_config,
|
||||||
|
map_size=Size(80, 24),
|
||||||
sandbox=args.sandbox)
|
sandbox=args.sandbox)
|
||||||
|
|
||||||
engine = Engine(configuration)
|
engine = Engine(configuration)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue