2019-04-01 12:48:11 +02:00
|
|
|
import sys, random
|
2019-04-01 10:33:32 +02:00
|
|
|
|
|
|
|
CELL_SIZE = 64
|
|
|
|
FPS = 60
|
|
|
|
|
2019-04-01 12:48:11 +02:00
|
|
|
map = open( sys.argv[1], 'r' )
|
2019-04-01 13:32:08 +02:00
|
|
|
GRID_WIDTH, GRID_HEIGHT, GC_X, GC_Y = [int(x) for x in map.readline(2).split()]
|
2019-04-01 10:33:32 +02:00
|
|
|
|
|
|
|
WINDOW_HEIGHT = GRID_HEIGHT * CELL_SIZE
|
2019-04-01 12:48:11 +02:00
|
|
|
WINDOW_WIDTH = GRID_WIDTH * CELL_SIZE
|
|
|
|
|
|
|
|
HOUSE_CAPACITY = random.randint(1, 11)
|