# Embedded file name: scripts/client/gui/__init__.py import logging from collections import defaultdict import nations from constants import IS_DEVELOPMENT, HAS_DEV_RESOURCES from gui import promo from gui.GuiSettings import GuiSettings as _GuiSettings from helpers.html.templates import XMLCollection from gui.active_vehicle import ActiveVehicleSeasonType _logger = logging.getLogger(__name__) g_guiResetters = set() g_repeatKeyHandlers = set() g_keyEventHandlers = set() g_mouseEventHandlers = set() g_tankActiveCamouflage = ActiveVehicleSeasonType() GUI_SETTINGS = _GuiSettings() DEPTH_OF_BotsMenu = 0.05 DEPTH_OF_Battle = 0.1 DEPTH_OF_Statistic = 0.1 DEPTH_OF_PlayerBonusesPanel = 0.2 DEPTH_OF_Aim = 0.6 DEPTH_OF_GunMarker = 0.56 DEPTH_OF_VehicleMarker = 0.9 CLIENT_ENCODING = '1251' TANKMEN_ROLES_ORDER_DICT = { 'plain': ('commander', 'gunner', 'driver', 'radioman', 'loader'), 'enum': ('commander', 'gunner1', 'gunner2', 'driver', 'radioman1', 'radioman2', 'loader1', 'loader2') }
# 2016.05.01 15:20:05 Støední Evropa (letní èas) # Embedded file name: scripts/client/gui/__init__.py import nations from collections import defaultdict from constants import IS_DEVELOPMENT from gui.GuiSettings import GuiSettings as _GuiSettings from debug_utils import LOG_ERROR, LOG_CURRENT_EXCEPTION from helpers.html.templates import XMLCollection g_guiResetters = set() g_repeatKeyHandlers = set() g_keyEventHandlers = set() g_mouseEventHandlers = set() g_tankActiveCamouflage = {'historical': {}} GUI_SETTINGS = _GuiSettings() DEPTH_OF_BotsMenu = 0.05 DEPTH_OF_PhysicChart = 0.7 DEPTH_OF_Battle = 0.1 DEPTH_OF_Statistic = 0.1 DEPTH_OF_PlayerBonusesPanel = 0.2 DEPTH_OF_Aim = 0.6 DEPTH_OF_GunMarker = 0.56 DEPTH_OF_VehicleMarker = 0.9 CLIENT_ENCODING = '1251' TANKMEN_ROLES_ORDER_DICT = {'plain': ('commander', 'gunner', 'driver', 'radioman', 'loader'), 'enum': ('commander', 'gunner1', 'gunner2', 'driver', 'radioman1', 'radioman2', 'loader1', 'loader2')} def onRepeatKeyEvent(event): safeCopy = frozenset(g_repeatKeyHandlers) processed = False for handler in safeCopy: try: