|
|
@@ -18,6 +18,7 @@ from cfg import * |
|
|
|
from cld import * |
|
|
|
from ctx import * |
|
|
|
from fs import * |
|
|
|
from desktop import * |
|
|
|
from desktop_Platform import * |
|
|
|
from desktop_Window import * |
|
|
|
from ht_Context import * |
|
|
@@ -42,18 +43,12 @@ def process(c): |
|
|
|
p.c = c |
|
|
|
# Perform context dependent calls of desktop functions. |
|
|
|
# Similar to context functions, but no platform is returned. |
|
|
|
### desktop_deselectMismatchedTiles(p) |
|
|
|
desktop_applyConfigInit(p) |
|
|
|
ctrl.registerCallback(process) |
|
|
|
|
|
|
|
ctrl.set("cfgPath", CFG) |
|
|
|
ctrl.set("scriptDir", SCRIPT_DIR) |
|
|
|
|
|
|
|
ctrl.set("windowWidth", 900) |
|
|
|
ctrl.set("windowHeight", 600) |
|
|
|
ctrl.set("windowAntialiasing", False) |
|
|
|
ctrl.set("windowBackgroundColor", "#ffffff") |
|
|
|
ctrl.set("windowTitle", "Прототип: Отель") |
|
|
|
|
|
|
|
#desktop_loadTextures(p) |
|
|
|
|
|
|
|
wnd = desktop_Window(p) |
|
|
|