TEMP_DONT_USE_NEW_TUTORIAL	= true		-- связано с переходом от InteractiveHelp на Tutorial
TEMP_USE_OLD_INVENTORY		= true

LAST_REPLAYED_SCENE		= 'LastReplayedScene'
LAST_VISITED_SCENE		= "LastVisitedScene"
SCENE_VISITED			= "SceneVisited"
SCENE_CLOSED			= "SceneClosed"
MG_COMPLETED			= "MiniGameCompleted"
MG_ROUND_COMPLETED		= "MiniGameRoundCompleted"
HO_FULLY_COMPLETED		= "HOFullyCompleted"
ZOOM_VISITED			= "ZoomZoneVisited"
ZOOM_DISABLED			= "ZoomZoneDisabled"
BLACK_BAR_SHOWN			= "BlackBarShown"
COMICS_SHOWN			= "ComicsShown"
ACTION_COMPLETED		= "ActionCompleted"
---------------------------------------------------------------------------------------------------
SG_PAGE_INDEX_STATE		= 'StrategyGuidePageIndex'
SG_HOME_STATE			= 'StrategyGuideHome'
---------------------------------------------------------------------------------------------------
-- сложность игры
PLAY_MODE = "ChosenPlayMode"
EPlayMode =
{
	CASUAL	 = 'Regular',
	ADVANCED = 'Expert',
	HARD	 = 'Hard',
	CUSTOM	 = 'Custom'
}
PLAY_MODE_PARAMETERS = "PlayModeParameters"
EPlayModeDefaultParameters  =
{
	[EPlayMode.CASUAL]		=	{
									tutorialEnabled				= true,
									sparklesEnabled				= true,
									sparklesHOEnabled			= true,
									blackbarEnabled				= true,
									cursorPunishmentEnabled		= false,
									hintEnabled					= true,
									hintRechargeTime			= 40,
									skipEnabled					= true,
									skipRechargeTime			= 40,
								}, 
	[EPlayMode.ADVANCED]	=	{
									tutorialEnabled				= false,
									sparklesEnabled				= false,
									sparklesHOEnabled			= false,
									blackbarEnabled				= true,
									cursorPunishmentEnabled		= true,
									hintEnabled					= true,
									hintRechargeTime			= 80,
									skipEnabled					= true,
									skipRechargeTime			= 80,
								},
	[EPlayMode.HARD]		=	{
									tutorialEnabled				= false,
									sparklesEnabled				= false,
									sparklesHOEnabled			= false,
									blackbarEnabled				= false,
									cursorPunishmentEnabled		= true,
									hintEnabled					= true,
									hintRechargeTime			= 160,
									skipEnabled					= true,
									skipRechargeTime			= 160,
								},
	min_hintRechargeTime		=	5,
	max_hintRechargeTime		=	200,
	min_skipRechargeTime		=	5,
	max_skipRechargeTime		=	200,
}
if isSurveyMode and isSurveyMode() then
	EPlayModeDefaultParameters[EPlayMode.CASUAL].hintRechargeTime = 10
	EPlayModeDefaultParameters[EPlayMode.CASUAL].skipRechargeTime = 10
end
-- TODO: устаревшее. нужно со временем выкосить
CASUAL_MODE		= EPlayMode.CASUAL
ADVANCED_MODE	= EPlayMode.ADVANCED
HARD_MODE		= EPlayMode.HARD
---------------------------------------------------------------------------------------------------
MAX_PROFILES = 7
---------------------------------------------------------------------------------------------------
_ANIM_FWD		= 0
_ANIM_REV		= 1
_ANIM_PINGPONG	= 2
_ANIM_LOOP		= 4
---------------------------------------------------------------------------------------------------
_TRACK_X	= 1
_TRACK_Y	= 2
_TRACK_A	= 3
_TRACK_O 	= 4
_TRACK_S	= 5
_TRACK_SX	= 6
_TRACK_SY	= 7
---------------------------------------------------------------------------------------------------
_KEYS_XY_LOC = 0
_KEYS_XY_SCR = 1
---------------------------------------------------------------------------------------------------
_EBlendModeDisable				= 0
_EBlendModeDefault				= 1
_EBlendModeColorMul				= 2
_EBlendModeColorAdd				= 3
_EBlendModePremultipliedAlpha	= 4
_EBlendModeOverlay				= 5
---------------------------------------------------------------------------------------------------
_ETextureWrapModeClamp	= 0
_ETextureWrapModeRepeat = 1
---------------------------------------------------------------------------------------------------
M_PI			= 3.14159265358979323846
M_TWO_PI		= 6.28318530717958647692
M_PI_OVER_2		= 1.57079632679489661923
M_PI_OVER_4		= 0.785398163397448309616
M_PI_OVER_180	= M_PI/180
M_1_OVER_PI		= 0.318309886183790671538
M_2_OVER_PI		= 0.636619772367581343076
M_180_OVER_PI	= 180/M_PI
M_E				= 2.718281828459045235360
---------------------------------------------------------------------------------------------------
ETextHorizontalAlignmentLeft	= 0
ETextHorizontalAlignmentCenter	= 1
ETextHorizontalAlignmentRight	= 2 
ETextHorizontalAlignmentJustify	= 3
---------------------------------------------------------------------------------------------------
ETextHotSpotTypeLeftTop		= 0
ETextHotSpotTypeTop			= 1
ETextHotSpotTypeRightTop	= 2
ETextHotSpotTypeLeft		= 3
ETextHotSpotTypeCenter		= 4
ETextHotSpotTypeRight		= 5
ETextHotSpotTypeLeftBottom	= 6
ETextHotSpotTypeBottom		= 7
ETextHotSpotTypeRightBottom	= 8
---------------------------------------------------------------------------------------------------
EPanelMode =
{
	NONE			= -1,
	QUEST			= 0,
	HIDDENOBJECT	= 1,
	COMICS			= 2,
	MINIGAME		= 3,
	CLEAN			= 4,
	HIDDENPICTURE	= 5,
	CUTSCENE		= 6,
}
---------------------------------------------------------------------------------------------------
EBBTAliasOrder =
{
	SIMPLE	= 1,
	RANDOM	= 2,
	LOOP	= 3
}
---------------------------------------------------------------------------------------------------
--[[
 * Перечисление разделов gameState, с которыми можно работать при сохранении/востановлении игрового процесса.
--]]
EGameStateTag =
{
	SE		= 'SE',			-- предназначен для сохранения игрового процесса standard Edition 
	CE		= 'CE',			-- предназначен для сохранения игрового процесса collectors Edition 
	EXTRA	= 'EXTRA',		-- предназначен для сохранения игрового процесса при повторном прохождении локаций, запущеный из Extras.
	GENERAL	= 'GENERAL'		-- предназначен для сохранения информации, являющейся общей для всей игры
}
---------------------------------------------------------------------------------------------------
PRIMARY_GAME_STATE_TAG = nil
-- TODO: устаревшее. нужно со временем выкосить
DEFAULT_TAG_NAME	= EGameStateTag.SE -- "Default"
CE_TAG_NAME			= EGameStateTag.CE -- "CE"
---------------------------------------------------------------------------------------------------
-- Константы, которые задают временные характеристики.
ZOOM_ZONE_APPEARING_TIME	= 0.25
CHANGE_OBJECT_OPACITY		= 0.25
PLAYFIELD_FADE_IN_TIME		= 0.1
PLAYFIELD_FADE_OUT_TIME		= 0.5
SCREEN_SHOW_HIDE			= 0.5
---------------------------------------------------------------------------------------------------
CE_OPENED		= "CollectorsEditionOpened"
CE_COMPLETED	= "CollectorsEditionCompleted"
SE_COMPLETED	= "CompleteMainQuest"
---------------------------------------------------------------------------------------------------
TOOL_FOLDER				= 'Data/Textures/Tools/'
TOOL_FOLDER_EXTRA		= 'Data/ExtraContent/Textures/Tools/'
TOOL_INVENTORY_SUFFIX	= "_inv"
TOOL_SHADOW_SUFFIX		= "_sdw"
TOOL_WINDOW_SUFFIX		= "_wnd"
---------------------------------------------------------------------------------------------------
ZOOM_TYPE_CIRCLE_BIG		= 0
ZOOM_TYPE_SQUARE			= 1
ZOOM_TYPE_RECT_VERTICAL		= 2
ZOOM_TYPE_RECT_HORIZONTAL	= 3
ZOOM_TYPE_FULLSCREEN		= 4
ZOOM_TYPE_INFO_WINDOW		= 5
ZOOM_TYPE_NO_BORDER			= 6
ZOOM_TYPE_MINI_GAME			= 7
ZOOM_TYPE_DISABLED			= 10
---------------------------------------------------------------------------------------------------
IS_COLLECTORS_EDITION = true
---------------------------------------------------------------------------------------------------
OBJECT_CLICKED		= "ObjectClicked"
TOOL_FOUND			= "ToolFound"
TOOL_INFO_SHOWN		= "ToolInfoShown"
TOOL_APPLIED		= "ToolApplied"
TOOL_TARGET_USED	= "ToolTargetUsed"
SCENE_VISITED		= "SceneVisited"
SCENE_CLOSED		= "SceneClosed"
ZOOM_VISITED		= "ZoomZoneVisited"
---------------------------------------------------------------------------------------------------
NOTES_FOLDER		= 'Data/Scripts/Notes/'
NOTES_FOLDER_CE		= 'Data/ExtraContent/Scripts/Notes/'
FLYNOTES_FOLDER		= 'Data/Scripts/FlyNotes/'
FLYNOTES_FOLDER_CE	= 'Data/ExtraContent/Scripts/FlyNotes/'
---------------------------------------------------------------------------------------------------
INVENTORY_LOCK = 'InventoryLocked'
---------------------------------------------------------------------------------------------------
COLLECT_OBJECT_FOUND = 'CollectObjectFound'
COLLECT_OBJECTS_NUM	 = 'CollectObjectsNum'
---------------------------------------------------------------------------------------------------
NAME_MAIN_SOUND = 'MAIN_SOUND'
---------------------------------------------------------------------------------------------------
WORK_W = 1024		-- Рабочая ширина и высота
WORK_H = 768
WSCR_W = 1366
WSCR_H = 768
---------------------------------------------------------------------------------------------------
STRINGS_FILE_PATH_ENG	= "Data/Text/Strings.txt"
STRINGS_FILE_PATH_RU	= "Data/Text/Russian.txt"
---------------------------------------------------------------------------------------------------

MOBILE_DRAGGING_OFFSET = Vector2f(0, -80)
---------------------------------------------------------------------------------------------------