From c50f6bae57e4b275cc2445d793cd380be0c7d37d Mon Sep 17 00:00:00 2001 From: Ion Agorria Date: Tue, 23 Apr 2024 20:03:12 +0200 Subject: [PATCH] UI/d3d: Remove compressed texture --- Source/Game/PerimeterDataChannel.cpp | 1 - .../Game/Scripts/InterfaceScriptExport.cppi | 305 +++++++----------- Source/Render/D3D/D3DRenderTexture.cpp | 20 +- Source/Render/inc/StdAfxRD.h | 1 - Source/Render/src/TexLibrary.cpp | 55 +--- Source/Render/src/VisGeneric.cpp | 7 - Source/Render/src/VisGeneric.h | 1 - Source/Scripts/InterfaceScriptExport.prm | 36 +-- Source/Scripts/SquadShellEnums.inl | 4 +- Source/UserInterface/GraphicsOptions.cpp | 6 - Source/UserInterface/GraphicsOptions.h | 3 - Source/UserInterface/OptionsMenu.cpp | 15 - Source/UserInterface/PerimeterShellDisp.cpp | 1 - Source/UserInterface/PerimeterShellUI.h | 1 - 14 files changed, 127 insertions(+), 329 deletions(-) diff --git a/Source/Game/PerimeterDataChannel.cpp b/Source/Game/PerimeterDataChannel.cpp index e6ba3d4d1..7fdb911dc 100644 --- a/Source/Game/PerimeterDataChannel.cpp +++ b/Source/Game/PerimeterDataChannel.cpp @@ -67,7 +67,6 @@ void PerimeterDataChannelLoad() terDrawMeshShadow = ini.getInt("Graphics","DrawMeshShadow"); terShadowType = ini.getInt("Graphics","ShadowType"); terEnableBumpChaos = ini.getInt("Graphics","EnableBumpChaos"); - gb_VisGeneric->SetFavoriteLoadDDS(ini.getInt("Graphics","FavoriteLoadDDS")); terNearDistanceLOD = ini.getInt("Graphics","NearDistanceLOD"); terFarDistanceLOD = ini.getInt("Graphics","FarDistanceLOD"); diff --git a/Source/Game/Scripts/InterfaceScriptExport.cppi b/Source/Game/Scripts/InterfaceScriptExport.cppi index f5ae9f955..92fd85802 100644 --- a/Source/Game/Scripts/InterfaceScriptExport.cppi +++ b/Source/Game/Scripts/InterfaceScriptExport.cppi @@ -454,7 +454,7 @@ static sqshControl _controls_57[] = { { SQSH_MOVE_BUTTON_TYPE, SQSH_MM_RAMKA , 1, 255, 0, 0, 255, 255, 0, 0, 255, 900.f, 0, 255, 0, 64, 6, { { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" } }, 0, 0, 1, HITTEST_DEFAULT - , 0 }, { SQSH_SCALE_BUTTON_TYPE, SQSH_MM_RAMKA, 3, 3, 0.16699219f, 0.1171875f, 0.6640625f + , 0 }, { SQSH_SCALE_BUTTON_TYPE, SQSH_MM_RAMKA, 3, 3, 0.16699219f, 0.13020833f, 0.6640625f , 0.08333333f, 0.f, 0.08333333f, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f , 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f , 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f @@ -466,7 +466,7 @@ static sqshControl _controls_57[] = { { SQSH_MOVE_BUTTON_TYPE, SQSH_MM_RAMKA , 255, 0, 64, 6, { { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "" , EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" } }, 0, 0, 1, HITTEST_NONE, 0 }, { SQSH_PUSH_BUTTON_TYPE - , SQSH_MM_GRAPHICS_LOD, 2, 3, 0.18359375f, 0.1171875f, 0.39648438f, 0.08333333f, 0.f + , SQSH_MM_GRAPHICS_LOD, 2, 3, 0.18359375f, 0.13020833f, 0.39648438f, 0.08333333f, 0.f , 0.f, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f , 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f , 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 @@ -478,7 +478,7 @@ static sqshControl _controls_57[] = { { SQSH_MOVE_BUTTON_TYPE, SQSH_MM_RAMKA , EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED , 0, "" } }, 0, 0, 1, HITTEST_DEFAULT, 0 }, { SQSH_COMBO_TYPE, SQSH_MM_GRAPHICS_LOD_COMBO - , 3, 3, 0.62011719f, 0.140625f, 0.27050781f, 0.04166667f, 0.f, 0.f, { "", 0.f, 0.f + , 3, 3, 0.62011719f, 0.15364583f, 0.27050781f, 0.04166667f, 0.f, 0.f, { "", 0.f, 0.f , 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f , 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f @@ -489,7 +489,7 @@ static sqshControl _controls_57[] = { { SQSH_MOVE_BUTTON_TYPE, SQSH_MM_RAMKA , 0, 0, 255, 255, 0, 0, 255, 900.f, 0, 255, 0, 64, 6, { { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" } }, 0, 0, 1, HITTEST_DEFAULT - , 0 }, { SQSH_SCALE_BUTTON_TYPE, SQSH_MM_RAMKA, 3, 3, 0.16699219f, 0.17708333f, 0.6640625f + , 0 }, { SQSH_SCALE_BUTTON_TYPE, SQSH_MM_RAMKA, 3, 3, 0.16699219f, 0.1953125f, 0.6640625f , 0.08333333f, 0.f, 0.08333333f, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f , 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f , 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f @@ -501,7 +501,7 @@ static sqshControl _controls_57[] = { { SQSH_MOVE_BUTTON_TYPE, SQSH_MM_RAMKA , 255, 0, 64, 6, { { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "" , EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" } }, 0, 0, 1, HITTEST_NONE, 0 }, { SQSH_PUSH_BUTTON_TYPE - , SQSH_MM_GRAPHICS_REFLECTION, 2, 3, 0.18359375f, 0.17708333f, 0.39648438f, 0.08333333f + , SQSH_MM_GRAPHICS_REFLECTION, 2, 3, 0.18359375f, 0.1953125f, 0.39648438f, 0.08333333f , 0.f, 0.f, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f , 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f , 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1 @@ -513,7 +513,7 @@ static sqshControl _controls_57[] = { { SQSH_MOVE_BUTTON_TYPE, SQSH_MM_RAMKA , 900.f, 0, 255, 0, 64, 6, { { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0 , "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" } }, 0, 0, 1, HITTEST_DEFAULT, 0 }, { SQSH_COMBO_TYPE - , SQSH_MM_GRAPHICS_REFLECTION_COMBO, 3, 3, 0.62011719f, 0.20052083f, 0.27050781f, 0.04166667f + , SQSH_MM_GRAPHICS_REFLECTION_COMBO, 3, 3, 0.62011719f, 0.21875f, 0.27050781f, 0.04166667f , 0.f, 0.f, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f , 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f , 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1 @@ -525,7 +525,7 @@ static sqshControl _controls_57[] = { { SQSH_MOVE_BUTTON_TYPE, SQSH_MM_RAMKA , EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED , 0, "" } }, 0, 0, 1, HITTEST_DEFAULT, 0 }, { SQSH_SCALE_BUTTON_TYPE, SQSH_MM_RAMKA - , 3, 3, 0.16699219f, 0.23697917f, 0.6640625f, 0.08333333f, 0.f, 0.08333333f, { "" + , 3, 3, 0.16699219f, 0.26041667f, 0.6640625f, 0.08333333f, 0.f, 0.08333333f, { "" , 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f , 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1 , 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f @@ -536,7 +536,7 @@ static sqshControl _controls_57[] = { { SQSH_MOVE_BUTTON_TYPE, SQSH_MM_RAMKA , 1, 255, 0, 0, 255, 255, 0, 0, 255, 900.f, 0, 255, 0, 64, 6, { { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" } }, 0, 0, 1, HITTEST_NONE - , 0 }, { SQSH_PUSH_BUTTON_TYPE, SQSH_MM_GRAPHICS_OCCLUSION, 2, 3, 0.18359375f, 0.23697917f + , 0 }, { SQSH_PUSH_BUTTON_TYPE, SQSH_MM_GRAPHICS_OCCLUSION, 2, 3, 0.18359375f, 0.26041667f , 0.39648438f, 0.08333333f, 0.f, 0.f, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f , 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f , 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f @@ -548,7 +548,7 @@ static sqshControl _controls_57[] = { { SQSH_MOVE_BUTTON_TYPE, SQSH_MM_RAMKA , 255, 255, 0, 0, 255, 900.f, 0, 255, 0, 64, 6, { { "", EVENT_PRESSED, 0, "" }, { "" , EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" } }, 0, 0, 1, HITTEST_DEFAULT - , 0 }, { SQSH_COMBO_TYPE, SQSH_MM_GRAPHICS_OCCLUSION_COMBO, 3, 3, 0.62011719f, 0.26041667f + , 0 }, { SQSH_COMBO_TYPE, SQSH_MM_GRAPHICS_OCCLUSION_COMBO, 3, 3, 0.62011719f, 0.28385417f , 0.27050781f, 0.04166667f, 0.f, 0.f, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f , 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f , 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f @@ -560,7 +560,7 @@ static sqshControl _controls_57[] = { { SQSH_MOVE_BUTTON_TYPE, SQSH_MM_RAMKA , 900.f, 0, 255, 0, 64, 6, { { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0 , "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" } }, 0, 0, 1, HITTEST_DEFAULT, 0 }, { SQSH_SCALE_BUTTON_TYPE - , SQSH_MM_RAMKA, 3, 3, 0.16699219f, 0.296875f, 0.6640625f, 0.08333333f, 0.f, 0.08333333f + , SQSH_MM_RAMKA, 3, 3, 0.16699219f, 0.32552083f, 0.6640625f, 0.08333333f, 0.f, 0.08333333f , { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f , 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f , 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f @@ -571,7 +571,7 @@ static sqshControl _controls_57[] = { { SQSH_MOVE_BUTTON_TYPE, SQSH_MM_RAMKA , 1, 255, 0, 0, 255, 255, 0, 0, 255, 900.f, 0, 255, 0, 64, 6, { { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" } }, 0, 0, 1, HITTEST_NONE - , 0 }, { SQSH_PUSH_BUTTON_TYPE, SQSH_MM_GRAPHICS_POINT_LIGHT, 2, 3, 0.18359375f, 0.296875f + , 0 }, { SQSH_PUSH_BUTTON_TYPE, SQSH_MM_GRAPHICS_POINT_LIGHT, 2, 3, 0.18359375f, 0.32552083f , 0.39648438f, 0.08333333f, 0.f, 0.f, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f , 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f , 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f @@ -583,7 +583,7 @@ static sqshControl _controls_57[] = { { SQSH_MOVE_BUTTON_TYPE, SQSH_MM_RAMKA , 0, 255, 255, 0, 0, 255, 900.f, 0, 255, 0, 64, 6, { { "", EVENT_PRESSED, 0, "" } , { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" } }, 0, 0, 1, HITTEST_DEFAULT - , 0 }, { SQSH_COMBO_TYPE, SQSH_MM_GRAPHICS_POINT_LIGHT_COMBO, 3, 3, 0.62011719f, 0.3203125f + , 0 }, { SQSH_COMBO_TYPE, SQSH_MM_GRAPHICS_POINT_LIGHT_COMBO, 3, 3, 0.62011719f, 0.34895833f , 0.27050781f, 0.04166667f, 0.f, 0.f, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f , 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f , 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f @@ -595,7 +595,7 @@ static sqshControl _controls_57[] = { { SQSH_MOVE_BUTTON_TYPE, SQSH_MM_RAMKA , 900.f, 0, 255, 0, 64, 6, { { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0 , "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" } }, 0, 0, 1, HITTEST_DEFAULT, 0 }, { SQSH_SCALE_BUTTON_TYPE - , SQSH_MM_RAMKA, 3, 3, 0.16699219f, 0.35677083f, 0.6640625f, 0.08333333f, 0.f, 0.08333333f + , SQSH_MM_RAMKA, 3, 3, 0.16699219f, 0.390625f, 0.6640625f, 0.08333333f, 0.f, 0.08333333f , { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f , 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f , 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f @@ -606,7 +606,7 @@ static sqshControl _controls_57[] = { { SQSH_MOVE_BUTTON_TYPE, SQSH_MM_RAMKA , 1, 255, 0, 0, 255, 255, 0, 0, 255, 900.f, 0, 255, 0, 64, 6, { { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" } }, 0, 0, 1, HITTEST_NONE - , 0 }, { SQSH_PUSH_BUTTON_TYPE, SQSH_MM_GRAPHICS_FURROWS, 2, 3, 0.18359375f, 0.35677083f + , 0 }, { SQSH_PUSH_BUTTON_TYPE, SQSH_MM_GRAPHICS_FURROWS, 2, 3, 0.18359375f, 0.390625f , 0.39648438f, 0.08333333f, 0.f, 0.f, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f , 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f , 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f @@ -618,7 +618,7 @@ static sqshControl _controls_57[] = { { SQSH_MOVE_BUTTON_TYPE, SQSH_MM_RAMKA , 0, 255, 255, 0, 0, 255, 900.f, 0, 255, 0, 64, 6, { { "", EVENT_PRESSED, 0, "" } , { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" } }, 0, 0, 1, HITTEST_DEFAULT - , 0 }, { SQSH_COMBO_TYPE, SQSH_MM_GRAPHICS_FURROWS_COMBO, 3, 3, 0.62011719f, 0.38020833f + , 0 }, { SQSH_COMBO_TYPE, SQSH_MM_GRAPHICS_FURROWS_COMBO, 3, 3, 0.62011719f, 0.4140625f , 0.27050781f, 0.04166667f, 0.f, 0.f, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f , 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f , 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f @@ -630,7 +630,7 @@ static sqshControl _controls_57[] = { { SQSH_MOVE_BUTTON_TYPE, SQSH_MM_RAMKA , 900.f, 0, 255, 0, 64, 6, { { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0 , "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" } }, 0, 0, 1, HITTEST_DEFAULT, 0 }, { SQSH_SCALE_BUTTON_TYPE - , SQSH_MM_RAMKA, 3, 3, 0.16699219f, 0.41666667f, 0.6640625f, 0.08333333f, 0.f, 0.08333333f + , SQSH_MM_RAMKA, 3, 3, 0.16699219f, 0.45572917f, 0.6640625f, 0.08333333f, 0.f, 0.08333333f , { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f , 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f , 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f @@ -641,7 +641,7 @@ static sqshControl _controls_57[] = { { SQSH_MOVE_BUTTON_TYPE, SQSH_MM_RAMKA , 1, 255, 0, 0, 255, 255, 0, 0, 255, 900.f, 0, 255, 0, 64, 6, { { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" } }, 0, 0, 1, HITTEST_NONE - , 0 }, { SQSH_PUSH_BUTTON_TYPE, SQSH_MM_GRAPHICS_SHADOWS, 2, 3, 0.18359375f, 0.41666667f + , 0 }, { SQSH_PUSH_BUTTON_TYPE, SQSH_MM_GRAPHICS_SHADOWS, 2, 3, 0.18359375f, 0.45572917f , 0.39648438f, 0.08333333f, 0.f, 0.f, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f , 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f , 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f @@ -653,7 +653,7 @@ static sqshControl _controls_57[] = { { SQSH_MOVE_BUTTON_TYPE, SQSH_MM_RAMKA , 0, 0, 255, 255, 0, 0, 255, 900.f, 0, 255, 0, 64, 6, { { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" } }, 0, 0, 1, HITTEST_DEFAULT - , 0 }, { SQSH_COMBO_TYPE, SQSH_MM_GRAPHICS_SHADOWS_COMBO, 3, 3, 0.62011719f, 0.44010417f + , 0 }, { SQSH_COMBO_TYPE, SQSH_MM_GRAPHICS_SHADOWS_COMBO, 3, 3, 0.62011719f, 0.47916667f , 0.27050781f, 0.04166667f, 0.f, 0.f, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f , 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f , 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f @@ -665,7 +665,7 @@ static sqshControl _controls_57[] = { { SQSH_MOVE_BUTTON_TYPE, SQSH_MM_RAMKA , 900.f, 0, 255, 0, 64, 6, { { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0 , "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" } }, 0, 0, 1, HITTEST_DEFAULT, 0 }, { SQSH_SCALE_BUTTON_TYPE - , SQSH_MM_RAMKA, 3, 3, 0.16699219f, 0.4765625f, 0.6640625f, 0.08333333f, 0.f, 0.08333333f + , SQSH_MM_RAMKA, 3, 3, 0.16699219f, 0.52083333f, 0.6640625f, 0.08333333f, 0.f, 0.08333333f , { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f , 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f , 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f @@ -677,30 +677,30 @@ static sqshControl _controls_57[] = { { SQSH_MOVE_BUTTON_TYPE, SQSH_MM_RAMKA , 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" } }, 0, 0, 1, HITTEST_NONE , 0 }, { SQSH_PUSH_BUTTON_TYPE, SQSH_MM_GRAPHICS_SHADOWS_SAMPLES, 2, 3, 0.18359375f - , 0.4765625f, 0.39648438f, 0.08333333f, 0.f, 0.f, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f + , 0.52083333f, 0.39648438f, 0.08333333f, 0.f, 0.f, { "", 0.f, 0.f, 1024.f, 1024.f + , 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1 + , 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f + , 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f , 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f - , 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f - , 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f - , 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f - , 0.f, 0.f, 0.f, 0.f, 1, 0 }, "mainmenu_button", "", "", 409, -1, 0, 0, 0, 0, { "" - , "" }, "SHADOW SAMPLES", 0.f, 0.02083333f, SHELL_ALIGN_LEFT, SHELL_ALIGN_LEFT, 2 - , 255, 0, 0, 255, 255, 0, 0, 255, 900.f, 0, 255, 0, 64, 6, { { "", EVENT_PRESSED, 0 - , "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED + , 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, "mainmenu_button", "", "", 409, -1, 0, 0, 0 + , 0, { "", "" }, "SHADOW SAMPLES", 0.f, 0.02083333f, SHELL_ALIGN_LEFT, SHELL_ALIGN_LEFT + , 2, 255, 0, 0, 255, 255, 0, 0, 255, 900.f, 0, 255, 0, 64, 6, { { "", EVENT_PRESSED + , 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" } }, 0, 0, 1, HITTEST_DEFAULT , 0 }, { SQSH_COMBO_TYPE, SQSH_MM_GRAPHICS_SHADOWS_SAMPLES_COMBO, 3, 3, 0.62011719f - , 0.5f, 0.27050781f, 0.04166667f, 0.f, 0.f, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f - , 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "" - , 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f + , 0.54427083f, 0.27050781f, 0.04166667f, 0.f, 0.f, { "", 0.f, 0.f, 1024.f, 1024.f , 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1 , 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f , 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f - , 0.f, 0.f, 0.f, 1, 0 }, "button_press", "", "", 408, -1, 0, 0, 0, 0, { "", "" }, "" - , 0.f, 0.f, SHELL_ALIGN_CENTER, SHELL_ALIGN_LEFT, 1, 255, 0, 0, 255, 255, 0, 0, 255 - , 900.f, 0, 255, 0, 64, 6, { { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0 - , "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED + , 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 + }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f + , 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, "button_press", "", "", 408, -1, 0, 0, 0, 0 + , { "", "" }, "", 0.f, 0.f, SHELL_ALIGN_CENTER, SHELL_ALIGN_LEFT, 1, 255, 0, 0, 255 + , 255, 0, 0, 255, 900.f, 0, 255, 0, 64, 6, { { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED + , 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" } }, 0, 0, 1, HITTEST_DEFAULT, 0 }, { SQSH_SCALE_BUTTON_TYPE - , SQSH_MM_RAMKA, 3, 3, 0.16699219f, 0.53645833f, 0.6640625f, 0.08333333f, 0.f, 0.08333333f + , SQSH_MM_RAMKA, 3, 3, 0.16699219f, 0.5859375f, 0.6640625f, 0.08333333f, 0.f, 0.08333333f , { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f , 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f , 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f @@ -711,7 +711,7 @@ static sqshControl _controls_57[] = { { SQSH_MOVE_BUTTON_TYPE, SQSH_MM_RAMKA , 1, 255, 0, 0, 255, 255, 0, 0, 255, 900.f, 0, 255, 0, 64, 6, { { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" } }, 0, 0, 1, HITTEST_NONE - , 0 }, { SQSH_PUSH_BUTTON_TYPE, SQSH_MM_GRAPHICS_BUMP, 2, 3, 0.18359375f, 0.53645833f + , 0 }, { SQSH_PUSH_BUTTON_TYPE, SQSH_MM_GRAPHICS_BUMP, 2, 3, 0.18359375f, 0.5859375f , 0.39648438f, 0.08333333f, 0.f, 0.f, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f , 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f , 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f @@ -723,7 +723,7 @@ static sqshControl _controls_57[] = { { SQSH_MOVE_BUTTON_TYPE, SQSH_MM_RAMKA , 0, 255, 255, 0, 0, 255, 900.f, 0, 255, 0, 64, 6, { { "", EVENT_PRESSED, 0, "" } , { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" } }, 0, 0, 1, HITTEST_DEFAULT - , 0 }, { SQSH_COMBO_TYPE, SQSH_MM_GRAPHICS_BUMP_COMBO, 3, 3, 0.62011719f, 0.55989583f + , 0 }, { SQSH_COMBO_TYPE, SQSH_MM_GRAPHICS_BUMP_COMBO, 3, 3, 0.62011719f, 0.609375f , 0.27050781f, 0.04166667f, 0.f, 0.f, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f , 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f , 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f @@ -735,7 +735,7 @@ static sqshControl _controls_57[] = { { SQSH_MOVE_BUTTON_TYPE, SQSH_MM_RAMKA , 900.f, 0, 255, 0, 64, 6, { { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0 , "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" } }, 0, 0, 1, HITTEST_DEFAULT, 0 }, { SQSH_SCALE_BUTTON_TYPE - , SQSH_MM_RAMKA, 3, 3, 0.16699219f, 0.59635417f, 0.6640625f, 0.08333333f, 0.f, 0.08333333f + , SQSH_MM_RAMKA, 3, 3, 0.16699219f, 0.65104167f, 0.6640625f, 0.08333333f, 0.f, 0.08333333f , { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f , 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f , 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f @@ -746,7 +746,7 @@ static sqshControl _controls_57[] = { { SQSH_MOVE_BUTTON_TYPE, SQSH_MM_RAMKA , 1, 255, 0, 0, 255, 255, 0, 0, 255, 900.f, 0, 255, 0, 64, 6, { { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" } }, 0, 0, 1, HITTEST_NONE - , 0 }, { SQSH_PUSH_BUTTON_TYPE, SQSH_MM_GRAPHICS_BUMP_CHAOS, 2, 3, 0.18359375f, 0.59635417f + , 0 }, { SQSH_PUSH_BUTTON_TYPE, SQSH_MM_GRAPHICS_BUMP_CHAOS, 2, 3, 0.18359375f, 0.65104167f , 0.39648438f, 0.08333333f, 0.f, 0.f, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f , 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f , 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f @@ -758,7 +758,7 @@ static sqshControl _controls_57[] = { { SQSH_MOVE_BUTTON_TYPE, SQSH_MM_RAMKA , 0, 255, 255, 0, 0, 255, 900.f, 0, 255, 0, 64, 6, { { "", EVENT_PRESSED, 0, "" } , { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" } }, 0, 0, 1, HITTEST_DEFAULT - , 0 }, { SQSH_COMBO_TYPE, SQSH_MM_GRAPHICS_BUMP_CHAOS_COMBO, 3, 3, 0.62011719f, 0.61979167f + , 0 }, { SQSH_COMBO_TYPE, SQSH_MM_GRAPHICS_BUMP_CHAOS_COMBO, 3, 3, 0.62011719f, 0.67447917f , 0.27050781f, 0.04166667f, 0.f, 0.f, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f , 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f , 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f @@ -770,7 +770,7 @@ static sqshControl _controls_57[] = { { SQSH_MOVE_BUTTON_TYPE, SQSH_MM_RAMKA , 900.f, 0, 255, 0, 64, 6, { { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0 , "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" } }, 0, 0, 1, HITTEST_DEFAULT, 0 }, { SQSH_SCALE_BUTTON_TYPE - , SQSH_MM_RAMKA, 3, 3, 0.16699219f, 0.65625f, 0.6640625f, 0.08333333f, 0.f, 0.08333333f + , SQSH_MM_RAMKA, 3, 3, 0.16699219f, 0.71614583f, 0.6640625f, 0.08333333f, 0.f, 0.08333333f , { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f , 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f , 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f @@ -781,7 +781,7 @@ static sqshControl _controls_57[] = { { SQSH_MOVE_BUTTON_TYPE, SQSH_MM_RAMKA , 1, 255, 0, 0, 255, 255, 0, 0, 255, 900.f, 0, 255, 0, 64, 6, { { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" } }, 0, 0, 1, HITTEST_NONE - , 0 }, { SQSH_PUSH_BUTTON_TYPE, SQSH_MM_PARTICLE_RATE, 2, 3, 0.18359375f, 0.65625f + , 0 }, { SQSH_PUSH_BUTTON_TYPE, SQSH_MM_PARTICLE_RATE, 2, 3, 0.18359375f, 0.71614583f , 0.39648438f, 0.08333333f, 0.f, 0.f, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f , 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f , 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f @@ -793,7 +793,7 @@ static sqshControl _controls_57[] = { { SQSH_MOVE_BUTTON_TYPE, SQSH_MM_RAMKA , 0, 255, 255, 0, 0, 255, 900.f, 0, 255, 0, 64, 6, { { "", EVENT_PRESSED, 0, "" } , { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" } }, 0, 0, 1, HITTEST_DEFAULT - , 0 }, { SQSH_SLIDER_TYPE, SQSH_MM_PARTICLE_RATE_SLIDER, 3, 3, 0.67871094f, 0.6796875f + , 0 }, { SQSH_SLIDER_TYPE, SQSH_MM_PARTICLE_RATE_SLIDER, 3, 3, 0.67871094f, 0.73958333f , 0.14648438f, 0.03515625f, 0.02441406f, 0.015625f, { "resource\\icons\\MainMenu\\Main_menu.tga" , 328.f, 489.f, 150.f, 27.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 303.f, 493.f, 25.f , 23.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 478.f, 493.f, 25.f, 23.f, 0.f, 0.f, 0.f @@ -805,52 +805,17 @@ static sqshControl _controls_57[] = { { SQSH_MOVE_BUTTON_TYPE, SQSH_MM_RAMKA , 1, 255, 0, 0, 255, 255, 0, 0, 255, 900.f, 0, 255, 0, 64, 6, { { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" } }, 0, 0, 1, HITTEST_DEFAULT - , 0 }, { SQSH_SCALE_BUTTON_TYPE, SQSH_MM_RAMKA, 3, 3, 0.16699219f, 0.71614583f, 0.6640625f - , 0.08333333f, 0.f, 0.08333333f, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f - , 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f - , 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f + , 0 }, { SQSH_SCALE_BUTTON_TYPE, SQSH_MM_RAMKA, 3, 3, 0.09472656f, 0.80598958f, 0.14160156f + , 0.05859375f, 0.f, 0.05859375f, { "resource\\icons\\MainMenu\\new_menu.tga", 340.f + , 291.f, 145.f, 45.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f , 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f , 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f - , 0.f, 1, 0 }, "button_press", "", "", -1, -1, 0, 0, 0, 0, { "", "" }, "", 0.f, 0.f - , SHELL_ALIGN_CENTER, SHELL_ALIGN_LEFT, 1, 255, 0, 0, 255, 255, 0, 0, 255, 900.f, 0 - , 255, 0, 64, 6, { { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "" - , EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" - }, { "", EVENT_PRESSED, 0, "" } }, 0, 0, 1, HITTEST_NONE, 0 }, { SQSH_PUSH_BUTTON_TYPE - , SQSH_MM_GRAPHICS_COMPRESS, 2, 3, 0.18359375f, 0.71614583f, 0.39648438f, 0.08333333f - , 0.f, 0.f, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f - , 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f - , 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1 - , 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f - , 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f - , 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 - }, "mainmenu_button", "", "", 415, -1, 0, 0, 0, 0, { "", "" }, "COMPRESS TEXTURES" - , 0.f, 0.02083333f, SHELL_ALIGN_LEFT, SHELL_ALIGN_LEFT, 2, 255, 0, 0, 255, 255, 0 - , 0, 255, 900.f, 0, 255, 0, 64, 6, { { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED - , 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED - , 0, "" }, { "", EVENT_PRESSED, 0, "" } }, 0, 0, 1, HITTEST_DEFAULT, 0 }, { SQSH_COMBO_TYPE - , SQSH_MM_GRAPHICS_COMPRESS_COMBO, 3, 3, 0.62011719f, 0.73958333f, 0.27050781f, 0.04166667f - , 0.f, 0.f, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f - , 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f - , 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1 - , 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f - , 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f - , 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 - }, "button_press", "", "", 414, -1, 0, 0, 0, 0, { "", "" }, "", 0.f, 0.f, SHELL_ALIGN_CENTER - , SHELL_ALIGN_LEFT, 1, 255, 0, 0, 255, 255, 0, 0, 255, 900.f, 0, 255, 0, 64, 6, { { "" - , EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" + , 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f + , 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, "button_press", "", "", -1, -1 + , 0, 0, 0, 0, { "", "" }, "", 0.f, 0.f, SHELL_ALIGN_CENTER, SHELL_ALIGN_LEFT, 1, 255 + , 0, 0, 255, 255, 0, 0, 255, 900.f, 0, 255, 0, 64, 6, { { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED - , 0, "" } }, 0, 0, 1, HITTEST_DEFAULT, 0 }, { SQSH_SCALE_BUTTON_TYPE, SQSH_MM_RAMKA - , 3, 3, 0.09472656f, 0.80598958f, 0.14160156f, 0.05859375f, 0.f, 0.05859375f, { "resource\\icons\\MainMenu\\new_menu.tga" - , 340.f, 291.f, 145.f, 45.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f - , 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1 - , 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f - , 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f - , 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 - }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, "button_press", "" - , "", -1, -1, 0, 0, 0, 0, { "", "" }, "", 0.f, 0.f, SHELL_ALIGN_CENTER, SHELL_ALIGN_LEFT - , 1, 255, 0, 0, 255, 255, 0, 0, 255, 900.f, 0, 255, 0, 64, 6, { { "", EVENT_PRESSED - , 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" } }, 0, 0, 1, HITTEST_NONE , 0 }, { SQSH_PUSH_BUTTON_TYPE, SQSH_MM_BACK_FROM_INGAME_CUSTOM, 2, 3, 0.1015625f , 0.80859375f, 0.12792969f, 0.05338542f, 0.f, 0.f, { "", 0.f, 0.f, 1024.f, 1024.f @@ -2241,7 +2206,7 @@ static sqshControl _controls_45[] = { { SQSH_GENERAL_WND_TYPE, SQSH_MM_RAMKA, 2 static BGObj _bgObjects_44[] = { { "group battle", "battle" }, { "group back2" , "back2" }, { "group background", "background off" } }; static sqshControl _controls_43[] = { { SQSH_GENERAL_WND_TYPE - , SQSH_MM_RAMKA, 2, 3, 0.24414062f, 0.17317708f, 0.48828125f, 0.00390625f, 0.f, 0.f + , SQSH_MM_RAMKA, 2, 3, 0.24414062f, 0.18619792f, 0.48828125f, 0.00390625f, 0.f, 0.f , { "resource\\icons\\MainMenu\\Main_menu.tga", 2.f, 987.f, 500.f, 3.f, 0.f, 0.f, 0.f , 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f , 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f @@ -2253,7 +2218,7 @@ static sqshControl _controls_43[] = { { SQSH_GENERAL_WND_TYPE , 900.f, 0, 255, 0, 64, 6, { { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0 , "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" } }, 0, 0, 1, HITTEST_DEFAULT, 0 }, { SQSH_GENERAL_WND_TYPE - , SQSH_MM_RAMKA, 2, 3, 0.24414062f, 0.23828125f, 0.48828125f, 0.00390625f, 0.f, 0.f + , SQSH_MM_RAMKA, 2, 3, 0.24414062f, 0.25130208f, 0.48828125f, 0.00390625f, 0.f, 0.f , { "resource\\icons\\MainMenu\\Main_menu.tga", 2.f, 987.f, 500.f, 3.f, 0.f, 0.f, 0.f , 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f , 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f @@ -2265,7 +2230,7 @@ static sqshControl _controls_43[] = { { SQSH_GENERAL_WND_TYPE , 900.f, 0, 255, 0, 64, 6, { { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0 , "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" } }, 0, 0, 1, HITTEST_DEFAULT, 0 }, { SQSH_GENERAL_WND_TYPE - , SQSH_MM_RAMKA, 2, 3, 0.24414062f, 0.30338542f, 0.48828125f, 0.00390625f, 0.f, 0.f + , SQSH_MM_RAMKA, 2, 3, 0.24414062f, 0.31640625f, 0.48828125f, 0.00390625f, 0.f, 0.f , { "resource\\icons\\MainMenu\\Main_menu.tga", 2.f, 987.f, 500.f, 3.f, 0.f, 0.f, 0.f , 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f , 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f @@ -2277,7 +2242,7 @@ static sqshControl _controls_43[] = { { SQSH_GENERAL_WND_TYPE , 900.f, 0, 255, 0, 64, 6, { { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0 , "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" } }, 0, 0, 1, HITTEST_DEFAULT, 0 }, { SQSH_GENERAL_WND_TYPE - , SQSH_MM_RAMKA, 2, 3, 0.24414062f, 0.36848958f, 0.48828125f, 0.00390625f, 0.f, 0.f + , SQSH_MM_RAMKA, 2, 3, 0.24414062f, 0.38151042f, 0.48828125f, 0.00390625f, 0.f, 0.f , { "resource\\icons\\MainMenu\\Main_menu.tga", 2.f, 987.f, 500.f, 3.f, 0.f, 0.f, 0.f , 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f , 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f @@ -2289,7 +2254,7 @@ static sqshControl _controls_43[] = { { SQSH_GENERAL_WND_TYPE , 900.f, 0, 255, 0, 64, 6, { { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0 , "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" } }, 0, 0, 1, HITTEST_DEFAULT, 0 }, { SQSH_GENERAL_WND_TYPE - , SQSH_MM_RAMKA, 2, 3, 0.24414062f, 0.43359375f, 0.48828125f, 0.00390625f, 0.f, 0.f + , SQSH_MM_RAMKA, 2, 3, 0.24414062f, 0.44661458f, 0.48828125f, 0.00390625f, 0.f, 0.f , { "resource\\icons\\MainMenu\\Main_menu.tga", 2.f, 987.f, 500.f, 3.f, 0.f, 0.f, 0.f , 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f , 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f @@ -2301,19 +2266,7 @@ static sqshControl _controls_43[] = { { SQSH_GENERAL_WND_TYPE , 900.f, 0, 255, 0, 64, 6, { { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0 , "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" } }, 0, 0, 1, HITTEST_DEFAULT, 0 }, { SQSH_GENERAL_WND_TYPE - , SQSH_MM_RAMKA, 2, 3, 0.24414062f, 0.49869792f, 0.48828125f, 0.00390625f, 0.f, 0.f - , { "resource\\icons\\MainMenu\\Main_menu.tga", 2.f, 987.f, 500.f, 3.f, 0.f, 0.f, 0.f - , 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f - , 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f - , 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1 - , 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f - , 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f - , 0.f, 0.f, 0.f, 1, 0 }, "button_press", "", "", -1, -1, 0, 0, 0, 0, { "", "" }, "" - , 0.3f, 0.f, SHELL_ALIGN_CENTER, SHELL_ALIGN_LEFT, 1, 255, 0, 0, 255, 255, 0, 0, 255 - , 900.f, 0, 255, 0, 64, 6, { { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0 - , "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED - , 0, "" }, { "", EVENT_PRESSED, 0, "" } }, 0, 0, 1, HITTEST_DEFAULT, 0 }, { SQSH_GENERAL_WND_TYPE - , SQSH_MM_RAMKA, 2, 3, 0.24414062f, 0.56380208f, 0.48828125f, 0.00390625f, 0.f, 0.f + , SQSH_MM_RAMKA, 2, 3, 0.24414062f, 0.51171875f, 0.48828125f, 0.00390625f, 0.f, 0.f , { "resource\\icons\\MainMenu\\Main_menu.tga", 2.f, 987.f, 500.f, 3.f, 0.f, 0.f, 0.f , 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f , 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f @@ -2325,7 +2278,7 @@ static sqshControl _controls_43[] = { { SQSH_GENERAL_WND_TYPE , 900.f, 0, 255, 0, 64, 6, { { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0 , "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" } }, 0, 0, 1, HITTEST_DEFAULT, 0 }, { SQSH_GENERAL_WND_TYPE - , SQSH_MM_RAMKA, 2, 3, 0.24414062f, 0.62890625f, 0.48828125f, 0.00390625f, 0.f, 0.f + , SQSH_MM_RAMKA, 2, 3, 0.24414062f, 0.57682292f, 0.48828125f, 0.00390625f, 0.f, 0.f , { "resource\\icons\\MainMenu\\Main_menu.tga", 2.f, 987.f, 500.f, 3.f, 0.f, 0.f, 0.f , 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f , 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f @@ -2337,7 +2290,7 @@ static sqshControl _controls_43[] = { { SQSH_GENERAL_WND_TYPE , 900.f, 0, 255, 0, 64, 6, { { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0 , "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" } }, 0, 0, 1, HITTEST_DEFAULT, 0 }, { SQSH_GENERAL_WND_TYPE - , SQSH_MM_RAMKA, 2, 3, 0.24414062f, 0.69401042f, 0.48828125f, 0.00390625f, 0.f, 0.f + , SQSH_MM_RAMKA, 2, 3, 0.24414062f, 0.64192708f, 0.48828125f, 0.00390625f, 0.f, 0.f , { "resource\\icons\\MainMenu\\Main_menu.tga", 2.f, 987.f, 500.f, 3.f, 0.f, 0.f, 0.f , 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f , 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f @@ -2349,7 +2302,7 @@ static sqshControl _controls_43[] = { { SQSH_GENERAL_WND_TYPE , 900.f, 0, 255, 0, 64, 6, { { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0 , "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" } }, 0, 0, 1, HITTEST_DEFAULT, 0 }, { SQSH_GENERAL_WND_TYPE - , SQSH_MM_RAMKA, 2, 3, 0.24414062f, 0.75911458f, 0.48828125f, 0.00390625f, 0.f, 0.f + , SQSH_MM_RAMKA, 2, 3, 0.24414062f, 0.70703125f, 0.48828125f, 0.00390625f, 0.f, 0.f , { "resource\\icons\\MainMenu\\Main_menu.tga", 2.f, 987.f, 500.f, 3.f, 0.f, 0.f, 0.f , 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f , 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f @@ -2361,7 +2314,7 @@ static sqshControl _controls_43[] = { { SQSH_GENERAL_WND_TYPE , 900.f, 0, 255, 0, 64, 6, { { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0 , "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" } }, 0, 0, 1, HITTEST_DEFAULT, 0 }, { SQSH_SCALE_BUTTON_TYPE - , SQSH_MM_RAMKA, 3, 3, 0.16699219f, 0.10416667f, 0.6640625f, 0.08333333f, 0.f, 0.08333333f + , SQSH_MM_RAMKA, 3, 3, 0.16699219f, 0.1171875f, 0.6640625f, 0.08333333f, 0.f, 0.08333333f , { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f , 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f , 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f @@ -2372,7 +2325,7 @@ static sqshControl _controls_43[] = { { SQSH_GENERAL_WND_TYPE , 1, 255, 0, 0, 255, 255, 0, 0, 255, 900.f, 0, 255, 0, 64, 6, { { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" } }, 0, 0, 1, HITTEST_NONE - , 0 }, { SQSH_PUSH_BUTTON_TYPE, SQSH_MM_GRAPHICS_LOD, 2, 3, 0.18359375f, 0.10416667f + , 0 }, { SQSH_PUSH_BUTTON_TYPE, SQSH_MM_GRAPHICS_LOD, 2, 3, 0.18359375f, 0.1171875f , 0.40234375f, 0.08333333f, 0.f, 0.f, { "resource\\icons\\MainMenu\\tv.avi", 0.f, 0.f , 1024.f, 1024.f, 0.33105469f, 0.20442708f, 0.125f, 0.16666667f, 0, 0 }, { "", 0.f , 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f @@ -2385,7 +2338,7 @@ static sqshControl _controls_43[] = { { SQSH_GENERAL_WND_TYPE , 0, 255, 900.f, 0, 255, 0, 64, 6, { { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" } }, 0, 0, 1, HITTEST_DEFAULT, 0 }, { SQSH_COMBO_TYPE - , SQSH_MM_GRAPHICS_LOD_COMBO, 3, 3, 0.62011719f, 0.12760417f, 0.17285156f, 0.04166667f + , SQSH_MM_GRAPHICS_LOD_COMBO, 3, 3, 0.62011719f, 0.140625f, 0.17285156f, 0.04166667f , 0.f, 0.f, { "resource\\icons\\MainMenu\\tv.avi", 0.f, 0.f, 1024.f, 1024.f, 0.33105469f , 0.20442708f, 0.125f, 0.16666667f, 0, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f , 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "" @@ -2397,7 +2350,7 @@ static sqshControl _controls_43[] = { { SQSH_GENERAL_WND_TYPE , 0, 255, 255, 0, 0, 255, 900.f, 0, 255, 0, 64, 6, { { "", EVENT_PRESSED, 0, "" } , { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" } }, 0, 0, 1, HITTEST_DEFAULT - , 0 }, { SQSH_SCALE_BUTTON_TYPE, SQSH_MM_RAMKA, 3, 3, 0.16699219f, 0.16927083f, 0.6640625f + , 0 }, { SQSH_SCALE_BUTTON_TYPE, SQSH_MM_RAMKA, 3, 3, 0.16699219f, 0.18229167f, 0.6640625f , 0.08333333f, 0.f, 0.08333333f, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f , 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f , 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f @@ -2409,7 +2362,7 @@ static sqshControl _controls_43[] = { { SQSH_GENERAL_WND_TYPE , 255, 0, 64, 6, { { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "" , EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" } }, 0, 0, 1, HITTEST_NONE, 0 }, { SQSH_PUSH_BUTTON_TYPE - , SQSH_MM_GRAPHICS_REFLECTION, 2, 3, 0.18359375f, 0.16927083f, 0.40234375f, 0.08333333f + , SQSH_MM_GRAPHICS_REFLECTION, 2, 3, 0.18359375f, 0.18229167f, 0.40234375f, 0.08333333f , 0.f, 0.f, { "resource\\icons\\MainMenu\\tv.avi", 0.f, 0.f, 1024.f, 1024.f, 0.33105469f , 0.20442708f, 0.125f, 0.16666667f, 0, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f , 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "" @@ -2421,7 +2374,7 @@ static sqshControl _controls_43[] = { { SQSH_GENERAL_WND_TYPE , 2, 255, 0, 0, 255, 255, 0, 0, 255, 900.f, 0, 255, 0, 64, 6, { { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" } }, 0, 0, 1, HITTEST_DEFAULT - , 0 }, { SQSH_COMBO_TYPE, SQSH_MM_GRAPHICS_REFLECTION_COMBO, 3, 3, 0.62011719f, 0.19270833f + , 0 }, { SQSH_COMBO_TYPE, SQSH_MM_GRAPHICS_REFLECTION_COMBO, 3, 3, 0.62011719f, 0.20572917f , 0.17285156f, 0.04166667f, 0.f, 0.f, { "resource\\icons\\MainMenu\\tv.avi", 0.f, 0.f , 1024.f, 1024.f, 0.33105469f, 0.20442708f, 0.125f, 0.16666667f, 0, 0 }, { "", 0.f , 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f @@ -2434,8 +2387,8 @@ static sqshControl _controls_43[] = { { SQSH_GENERAL_WND_TYPE , EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED , 0, "" } }, 0, 0, 1, HITTEST_DEFAULT, 0 }, { SQSH_SCALE_BUTTON_TYPE, SQSH_MM_RAMKA - , 3, 3, 0.16699219f, 0.234375f, 0.6640625f, 0.08333333f, 0.f, 0.08333333f, { "", 0.f - , 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f + , 3, 3, 0.16699219f, 0.24739583f, 0.6640625f, 0.08333333f, 0.f, 0.08333333f, { "" + , 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f , 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1 , 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f , 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f @@ -2445,7 +2398,7 @@ static sqshControl _controls_43[] = { { SQSH_GENERAL_WND_TYPE , 1, 255, 0, 0, 255, 255, 0, 0, 255, 900.f, 0, 255, 0, 64, 6, { { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" } }, 0, 0, 1, HITTEST_NONE - , 0 }, { SQSH_PUSH_BUTTON_TYPE, SQSH_MM_GRAPHICS_OCCLUSION, 2, 3, 0.18359375f, 0.234375f + , 0 }, { SQSH_PUSH_BUTTON_TYPE, SQSH_MM_GRAPHICS_OCCLUSION, 2, 3, 0.18359375f, 0.24739583f , 0.40234375f, 0.08333333f, 0.f, 0.f, { "resource\\icons\\MainMenu\\tv.avi", 0.f, 0.f , 1024.f, 1024.f, 0.33105469f, 0.20442708f, 0.125f, 0.16666667f, 0, 0 }, { "", 0.f , 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f @@ -2458,7 +2411,7 @@ static sqshControl _controls_43[] = { { SQSH_GENERAL_WND_TYPE , 255, 0, 64, 6, { { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "" , EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" } }, 0, 0, 1, HITTEST_DEFAULT, 0 }, { SQSH_COMBO_TYPE - , SQSH_MM_GRAPHICS_OCCLUSION_COMBO, 3, 3, 0.62011719f, 0.2578125f, 0.17285156f, 0.04166667f + , SQSH_MM_GRAPHICS_OCCLUSION_COMBO, 3, 3, 0.62011719f, 0.27083333f, 0.17285156f, 0.04166667f , 0.f, 0.f, { "resource\\icons\\MainMenu\\tv.avi", 0.f, 0.f, 1024.f, 1024.f, 0.33105469f , 0.20442708f, 0.125f, 0.16666667f, 0, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f , 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "" @@ -2470,7 +2423,7 @@ static sqshControl _controls_43[] = { { SQSH_GENERAL_WND_TYPE , 0, 255, 255, 0, 0, 255, 900.f, 0, 255, 0, 64, 6, { { "", EVENT_PRESSED, 0, "" } , { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" } }, 0, 0, 1, HITTEST_DEFAULT - , 0 }, { SQSH_SCALE_BUTTON_TYPE, SQSH_MM_RAMKA, 3, 3, 0.16699219f, 0.29947917f, 0.6640625f + , 0 }, { SQSH_SCALE_BUTTON_TYPE, SQSH_MM_RAMKA, 3, 3, 0.16699219f, 0.3125f, 0.6640625f , 0.08333333f, 0.f, 0.08333333f, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f , 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f , 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f @@ -2482,7 +2435,7 @@ static sqshControl _controls_43[] = { { SQSH_GENERAL_WND_TYPE , 255, 0, 64, 6, { { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "" , EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" } }, 0, 0, 1, HITTEST_NONE, 0 }, { SQSH_PUSH_BUTTON_TYPE - , SQSH_MM_GRAPHICS_POINT_LIGHT, 2, 3, 0.18359375f, 0.29947917f, 0.40234375f, 0.08333333f + , SQSH_MM_GRAPHICS_POINT_LIGHT, 2, 3, 0.18359375f, 0.3125f, 0.40234375f, 0.08333333f , 0.f, 0.f, { "resource\\icons\\MainMenu\\tv.avi", 0.f, 0.f, 1024.f, 1024.f, 0.33105469f , 0.20442708f, 0.125f, 0.16666667f, 0, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f , 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "" @@ -2494,7 +2447,7 @@ static sqshControl _controls_43[] = { { SQSH_GENERAL_WND_TYPE , 2, 255, 0, 0, 255, 255, 0, 0, 255, 900.f, 0, 255, 0, 64, 6, { { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" } }, 0, 0, 1, HITTEST_DEFAULT - , 0 }, { SQSH_COMBO_TYPE, SQSH_MM_GRAPHICS_POINT_LIGHT_COMBO, 3, 3, 0.62011719f, 0.32291667f + , 0 }, { SQSH_COMBO_TYPE, SQSH_MM_GRAPHICS_POINT_LIGHT_COMBO, 3, 3, 0.62011719f, 0.3359375f , 0.17285156f, 0.04166667f, 0.f, 0.f, { "resource\\icons\\MainMenu\\tv.avi", 0.f, 0.f , 1024.f, 1024.f, 0.33105469f, 0.20442708f, 0.125f, 0.16666667f, 0, 0 }, { "", 0.f , 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f @@ -2507,7 +2460,7 @@ static sqshControl _controls_43[] = { { SQSH_GENERAL_WND_TYPE , EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED , 0, "" } }, 0, 0, 1, HITTEST_DEFAULT, 0 }, { SQSH_SCALE_BUTTON_TYPE, SQSH_MM_RAMKA - , 3, 3, 0.16699219f, 0.36458333f, 0.6640625f, 0.08333333f, 0.f, 0.08333333f, { "" + , 3, 3, 0.16699219f, 0.37760417f, 0.6640625f, 0.08333333f, 0.f, 0.08333333f, { "" , 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f , 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1 , 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f @@ -2518,7 +2471,7 @@ static sqshControl _controls_43[] = { { SQSH_GENERAL_WND_TYPE , 1, 255, 0, 0, 255, 255, 0, 0, 255, 900.f, 0, 255, 0, 64, 6, { { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" } }, 0, 0, 1, HITTEST_NONE - , 0 }, { SQSH_PUSH_BUTTON_TYPE, SQSH_MM_GRAPHICS_FURROWS, 2, 3, 0.18359375f, 0.36458333f + , 0 }, { SQSH_PUSH_BUTTON_TYPE, SQSH_MM_GRAPHICS_FURROWS, 2, 3, 0.18359375f, 0.37760417f , 0.40234375f, 0.08333333f, 0.f, 0.f, { "resource\\icons\\MainMenu\\tv.avi", 0.f, 0.f , 1024.f, 1024.f, 0.33105469f, 0.20442708f, 0.125f, 0.16666667f, 0, 0 }, { "", 0.f , 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f @@ -2531,7 +2484,7 @@ static sqshControl _controls_43[] = { { SQSH_GENERAL_WND_TYPE , 900.f, 0, 255, 0, 64, 6, { { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0 , "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" } }, 0, 0, 1, HITTEST_DEFAULT, 0 }, { SQSH_COMBO_TYPE - , SQSH_MM_GRAPHICS_FURROWS_COMBO, 3, 3, 0.62011719f, 0.38802083f, 0.17285156f, 0.04166667f + , SQSH_MM_GRAPHICS_FURROWS_COMBO, 3, 3, 0.62011719f, 0.40104167f, 0.17285156f, 0.04166667f , 0.f, 0.f, { "resource\\icons\\MainMenu\\tv.avi", 0.f, 0.f, 1024.f, 1024.f, 0.33105469f , 0.20442708f, 0.125f, 0.16666667f, 0, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f , 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "" @@ -2543,7 +2496,7 @@ static sqshControl _controls_43[] = { { SQSH_GENERAL_WND_TYPE , 0, 255, 255, 0, 0, 255, 900.f, 0, 255, 0, 64, 6, { { "", EVENT_PRESSED, 0, "" } , { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" } }, 0, 0, 1, HITTEST_DEFAULT - , 0 }, { SQSH_SCALE_BUTTON_TYPE, SQSH_MM_RAMKA, 3, 3, 0.16699219f, 0.4296875f, 0.6640625f + , 0 }, { SQSH_SCALE_BUTTON_TYPE, SQSH_MM_RAMKA, 3, 3, 0.16699219f, 0.44270833f, 0.6640625f , 0.08333333f, 0.f, 0.08333333f, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f , 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f , 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f @@ -2555,7 +2508,7 @@ static sqshControl _controls_43[] = { { SQSH_GENERAL_WND_TYPE , 255, 0, 64, 6, { { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "" , EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" } }, 0, 0, 1, HITTEST_NONE, 0 }, { SQSH_PUSH_BUTTON_TYPE - , SQSH_MM_GRAPHICS_SHADOWS, 2, 3, 0.18359375f, 0.4296875f, 0.40234375f, 0.08333333f + , SQSH_MM_GRAPHICS_SHADOWS, 2, 3, 0.18359375f, 0.44270833f, 0.40234375f, 0.08333333f , 0.f, 0.f, { "resource\\icons\\MainMenu\\tv.avi", 0.f, 0.f, 1024.f, 1024.f, 0.33105469f , 0.20442708f, 0.125f, 0.16666667f, 0, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f , 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "" @@ -2567,7 +2520,7 @@ static sqshControl _controls_43[] = { { SQSH_GENERAL_WND_TYPE , 2, 255, 0, 0, 255, 255, 0, 0, 255, 900.f, 0, 255, 0, 64, 6, { { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" } }, 0, 0, 1, HITTEST_DEFAULT - , 0 }, { SQSH_COMBO_TYPE, SQSH_MM_GRAPHICS_SHADOWS_COMBO, 3, 3, 0.62011719f, 0.453125f + , 0 }, { SQSH_COMBO_TYPE, SQSH_MM_GRAPHICS_SHADOWS_COMBO, 3, 3, 0.62011719f, 0.46614583f , 0.17285156f, 0.04166667f, 0.f, 0.f, { "resource\\icons\\MainMenu\\tv.avi", 0.f, 0.f , 1024.f, 1024.f, 0.33105469f, 0.20442708f, 0.125f, 0.16666667f, 0, 0 }, { "", 0.f , 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f @@ -2580,8 +2533,8 @@ static sqshControl _controls_43[] = { { SQSH_GENERAL_WND_TYPE , EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED , 0, "" } }, 0, 0, 1, HITTEST_DEFAULT, 0 }, { SQSH_SCALE_BUTTON_TYPE, SQSH_MM_RAMKA - , 3, 3, 0.16699219f, 0.49479167f, 0.6640625f, 0.08333333f, 0.f, 0.08333333f, { "" - , 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f + , 3, 3, 0.16699219f, 0.5078125f, 0.6640625f, 0.08333333f, 0.f, 0.08333333f, { "", 0.f + , 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f , 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1 , 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f , 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f @@ -2592,7 +2545,7 @@ static sqshControl _controls_43[] = { { SQSH_GENERAL_WND_TYPE , 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" } }, 0, 0, 1, HITTEST_NONE , 0 }, { SQSH_PUSH_BUTTON_TYPE, SQSH_MM_GRAPHICS_SHADOWS_SAMPLES, 2, 3, 0.18359375f - , 0.49479167f, 0.40234375f, 0.08333333f, 0.f, 0.f, { "resource\\icons\\MainMenu\\tv.avi" + , 0.5078125f, 0.40234375f, 0.08333333f, 0.f, 0.f, { "resource\\icons\\MainMenu\\tv.avi" , 0.f, 0.f, 1024.f, 1024.f, 0.33105469f, 0.20442708f, 0.125f, 0.16666667f, 0, 0 } , { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f , 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f @@ -2604,7 +2557,7 @@ static sqshControl _controls_43[] = { { SQSH_GENERAL_WND_TYPE , 0, 255, 900.f, 0, 255, 0, 64, 6, { { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" } }, 0, 0, 1, HITTEST_DEFAULT, 0 }, { SQSH_COMBO_TYPE - , SQSH_MM_GRAPHICS_SHADOWS_SAMPLES_COMBO, 3, 3, 0.62011719f, 0.51822917f, 0.17285156f + , SQSH_MM_GRAPHICS_SHADOWS_SAMPLES_COMBO, 3, 3, 0.62011719f, 0.53125f, 0.17285156f , 0.04166667f, 0.f, 0.f, { "resource\\icons\\MainMenu\\tv.avi", 0.f, 0.f, 1024.f, 1024.f , 0.33105469f, 0.20442708f, 0.125f, 0.16666667f, 0, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f , 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1 @@ -2616,7 +2569,7 @@ static sqshControl _controls_43[] = { { SQSH_GENERAL_WND_TYPE , 1, 255, 0, 0, 255, 255, 0, 0, 255, 900.f, 0, 255, 0, 64, 6, { { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" } }, 0, 0, 1, HITTEST_DEFAULT - , 0 }, { SQSH_SCALE_BUTTON_TYPE, SQSH_MM_RAMKA, 3, 3, 0.16699219f, 0.55989583f, 0.6640625f + , 0 }, { SQSH_SCALE_BUTTON_TYPE, SQSH_MM_RAMKA, 3, 3, 0.16699219f, 0.57291667f, 0.6640625f , 0.08333333f, 0.f, 0.08333333f, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f , 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f , 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f @@ -2628,7 +2581,7 @@ static sqshControl _controls_43[] = { { SQSH_GENERAL_WND_TYPE , 255, 0, 64, 6, { { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "" , EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" } }, 0, 0, 1, HITTEST_NONE, 0 }, { SQSH_PUSH_BUTTON_TYPE - , SQSH_MM_GRAPHICS_BUMP, 2, 3, 0.18359375f, 0.55989583f, 0.40234375f, 0.08333333f + , SQSH_MM_GRAPHICS_BUMP, 2, 3, 0.18359375f, 0.57291667f, 0.40234375f, 0.08333333f , 0.f, 0.f, { "resource\\icons\\MainMenu\\tv.avi", 0.f, 0.f, 1024.f, 1024.f, 0.33105469f , 0.20442708f, 0.125f, 0.16666667f, 0, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f , 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "" @@ -2640,7 +2593,7 @@ static sqshControl _controls_43[] = { { SQSH_GENERAL_WND_TYPE , 2, 255, 0, 0, 255, 255, 0, 0, 255, 900.f, 0, 255, 0, 64, 6, { { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" } }, 0, 0, 1, HITTEST_DEFAULT - , 0 }, { SQSH_COMBO_TYPE, SQSH_MM_GRAPHICS_BUMP_COMBO, 3, 3, 0.62011719f, 0.58333333f + , 0 }, { SQSH_COMBO_TYPE, SQSH_MM_GRAPHICS_BUMP_COMBO, 3, 3, 0.62011719f, 0.59635417f , 0.17285156f, 0.04166667f, 0.f, 0.f, { "resource\\icons\\MainMenu\\tv.avi", 0.f, 0.f , 1024.f, 1024.f, 0.33105469f, 0.20442708f, 0.125f, 0.16666667f, 0, 0 }, { "", 0.f , 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f @@ -2653,8 +2606,8 @@ static sqshControl _controls_43[] = { { SQSH_GENERAL_WND_TYPE , EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED , 0, "" } }, 0, 0, 1, HITTEST_DEFAULT, 0 }, { SQSH_SCALE_BUTTON_TYPE, SQSH_MM_RAMKA - , 3, 3, 0.16699219f, 0.625f, 0.6640625f, 0.08333333f, 0.f, 0.08333333f, { "", 0.f - , 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f + , 3, 3, 0.16699219f, 0.63802083f, 0.6640625f, 0.08333333f, 0.f, 0.08333333f, { "" + , 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f , 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1 , 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f , 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f @@ -2664,7 +2617,7 @@ static sqshControl _controls_43[] = { { SQSH_GENERAL_WND_TYPE , 1, 255, 0, 0, 255, 255, 0, 0, 255, 900.f, 0, 255, 0, 64, 6, { { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" } }, 0, 0, 1, HITTEST_NONE - , 0 }, { SQSH_PUSH_BUTTON_TYPE, SQSH_MM_GRAPHICS_BUMP_CHAOS, 2, 3, 0.18359375f, 0.625f + , 0 }, { SQSH_PUSH_BUTTON_TYPE, SQSH_MM_GRAPHICS_BUMP_CHAOS, 2, 3, 0.18359375f, 0.63802083f , 0.40234375f, 0.08333333f, 0.f, 0.f, { "resource\\icons\\MainMenu\\tv.avi", 0.f, 0.f , 1024.f, 1024.f, 0.33105469f, 0.20442708f, 0.125f, 0.16666667f, 0, 0 }, { "", 0.f , 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f @@ -2677,7 +2630,7 @@ static sqshControl _controls_43[] = { { SQSH_GENERAL_WND_TYPE , 900.f, 0, 255, 0, 64, 6, { { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0 , "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" } }, 0, 0, 1, HITTEST_DEFAULT, 0 }, { SQSH_COMBO_TYPE - , SQSH_MM_GRAPHICS_BUMP_CHAOS_COMBO, 3, 3, 0.62011719f, 0.6484375f, 0.17285156f, 0.04166667f + , SQSH_MM_GRAPHICS_BUMP_CHAOS_COMBO, 3, 3, 0.62011719f, 0.66145833f, 0.17285156f, 0.04166667f , 0.f, 0.f, { "resource\\icons\\MainMenu\\tv.avi", 0.f, 0.f, 1024.f, 1024.f, 0.33105469f , 0.20442708f, 0.125f, 0.16666667f, 0, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f , 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "" @@ -2689,7 +2642,7 @@ static sqshControl _controls_43[] = { { SQSH_GENERAL_WND_TYPE , 0, 255, 255, 0, 0, 255, 900.f, 0, 255, 0, 64, 6, { { "", EVENT_PRESSED, 0, "" } , { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" } }, 0, 0, 1, HITTEST_DEFAULT - , 0 }, { SQSH_SCALE_BUTTON_TYPE, SQSH_MM_RAMKA, 3, 3, 0.16699219f, 0.69010417f, 0.6640625f + , 0 }, { SQSH_SCALE_BUTTON_TYPE, SQSH_MM_RAMKA, 3, 3, 0.16699219f, 0.703125f, 0.6640625f , 0.08333333f, 0.f, 0.08333333f, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f , 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f , 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f @@ -2701,8 +2654,8 @@ static sqshControl _controls_43[] = { { SQSH_GENERAL_WND_TYPE , 255, 0, 64, 6, { { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "" , EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" } }, 0, 0, 1, HITTEST_NONE, 0 }, { SQSH_PUSH_BUTTON_TYPE - , SQSH_MM_PARTICLE_RATE, 2, 3, 0.18359375f, 0.69010417f, 0.40234375f, 0.08333333f - , 0.f, 0.f, { "resource\\icons\\MainMenu\\tv.avi", 0.f, 0.f, 1024.f, 1024.f, 0.33105469f + , SQSH_MM_PARTICLE_RATE, 2, 3, 0.18359375f, 0.703125f, 0.40234375f, 0.08333333f, 0.f + , 0.f, { "resource\\icons\\MainMenu\\tv.avi", 0.f, 0.f, 1024.f, 1024.f, 0.33105469f , 0.20442708f, 0.125f, 0.16666667f, 0, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f , 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "" , 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f @@ -2713,7 +2666,7 @@ static sqshControl _controls_43[] = { { SQSH_GENERAL_WND_TYPE , 2, 255, 0, 0, 255, 255, 0, 0, 255, 900.f, 0, 255, 0, 64, 6, { { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" } }, 0, 0, 1, HITTEST_DEFAULT - , 0 }, { SQSH_SLIDER_TYPE, SQSH_MM_PARTICLE_RATE_SLIDER, 3, 3, 0.62988281f, 0.71354167f + , 0 }, { SQSH_SLIDER_TYPE, SQSH_MM_PARTICLE_RATE_SLIDER, 3, 3, 0.62988281f, 0.7265625f , 0.14648438f, 0.03515625f, 0.02441406f, 0.015625f, { "resource\\icons\\MainMenu\\Main_menu.tga" , 328.f, 489.f, 150.f, 27.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 303.f, 493.f, 25.f , 23.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 478.f, 493.f, 25.f, 23.f, 0.f, 0.f, 0.f @@ -2725,8 +2678,8 @@ static sqshControl _controls_43[] = { { SQSH_GENERAL_WND_TYPE , 1, 255, 0, 0, 255, 255, 0, 0, 255, 900.f, 0, 255, 0, 64, 6, { { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" } }, 0, 0, 1, HITTEST_DEFAULT - , 0 }, { SQSH_SCALE_BUTTON_TYPE, SQSH_MM_RAMKA, 3, 3, 0.16699219f, 0.75520833f, 0.6640625f - , 0.08333333f, 0.f, 0.08333333f, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f + , 0 }, { SQSH_SCALE_BUTTON_TYPE, SQSH_MM_RAMKA, 3, 3, 0.09179688f, 0.93619792f, 0.11425781f + , 0.04817708f, 0.f, 0.0546875f, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f , 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f , 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f , 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 @@ -2737,58 +2690,22 @@ static sqshControl _controls_43[] = { { SQSH_GENERAL_WND_TYPE , 255, 0, 64, 6, { { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "" , EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" } }, 0, 0, 1, HITTEST_NONE, 0 }, { SQSH_PUSH_BUTTON_TYPE - , SQSH_MM_GRAPHICS_COMPRESS, 2, 3, 0.18359375f, 0.75520833f, 0.40234375f, 0.08333333f + , SQSH_MM_BACK_FROM_CUSTOM_BTN, 2, 3, 0.09179688f, 0.93619792f, 0.11425781f, 0.04817708f , 0.f, 0.f, { "resource\\icons\\MainMenu\\tv.avi", 0.f, 0.f, 1024.f, 1024.f, 0.33105469f , 0.20442708f, 0.125f, 0.16666667f, 0, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f , 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "" , 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f , 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1 , 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f - , 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, "mainmenu_button", "", "", 415, -1, 0 - , 0, 0, 0, { "", "" }, "COMPRESS TEXTURES", 0.f, 0.02083333f, SHELL_ALIGN_LEFT, SHELL_ALIGN_LEFT + , 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, "mainmenu_button", "", "", -1, -1, 0 + , 0, 0, 0, { "", "" }, "BACK", 0.f, 0.01171875f, SHELL_ALIGN_CENTER, SHELL_ALIGN_LEFT , 2, 255, 0, 0, 255, 255, 0, 0, 255, 900.f, 0, 255, 0, 64, 6, { { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED , 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" } }, 0, 0, 1, HITTEST_DEFAULT - , 0 }, { SQSH_COMBO_TYPE, SQSH_MM_GRAPHICS_COMPRESS_COMBO, 3, 3, 0.62011719f, 0.77864583f - , 0.17285156f, 0.04166667f, 0.f, 0.f, { "resource\\icons\\MainMenu\\tv.avi", 0.f, 0.f - , 1024.f, 1024.f, 0.33105469f, 0.20442708f, 0.125f, 0.16666667f, 0, 0 }, { "", 0.f - , 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f - , 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1 - , 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f - , 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f - , 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 - }, "button_press", "", "", 414, -1, 0, 0, 0, 0, { "", "" }, "", 0.f, 0.f, SHELL_ALIGN_CENTER - , SHELL_ALIGN_LEFT, 1, 255, 0, 0, 255, 255, 0, 0, 255, 900.f, 0, 255, 0, 64, 6, { { "" - , EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" - }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED - , 0, "" } }, 0, 0, 1, HITTEST_DEFAULT, 0 }, { SQSH_SCALE_BUTTON_TYPE, SQSH_MM_RAMKA - , 3, 3, 0.09179688f, 0.93619792f, 0.11425781f, 0.04817708f, 0.f, 0.0546875f, { "" - , 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f - , 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1 - , 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f - , 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f - , 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 - }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, "button_press", "" - , "", -1, -1, 0, 0, 0, 0, { "", "" }, "", 0.f, 0.f, SHELL_ALIGN_CENTER, SHELL_ALIGN_LEFT - , 1, 255, 0, 0, 255, 255, 0, 0, 255, 900.f, 0, 255, 0, 64, 6, { { "", EVENT_PRESSED - , 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED - , 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" } }, 0, 0, 1, HITTEST_NONE - , 0 }, { SQSH_PUSH_BUTTON_TYPE, SQSH_MM_BACK_FROM_CUSTOM_BTN, 2, 3, 0.09179688f, 0.93619792f - , 0.11425781f, 0.04817708f, 0.f, 0.f, { "resource\\icons\\MainMenu\\tv.avi", 0.f, 0.f - , 1024.f, 1024.f, 0.33105469f, 0.20442708f, 0.125f, 0.16666667f, 0, 0 }, { "", 0.f - , 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f - , 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1 - , 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f - , 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f - , 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 - }, "mainmenu_button", "", "", -1, -1, 0, 0, 0, 0, { "", "" }, "BACK", 0.f, 0.01171875f - , SHELL_ALIGN_CENTER, SHELL_ALIGN_LEFT, 2, 255, 0, 0, 255, 255, 0, 0, 255, 900.f, 0 - , 255, 0, 64, 6, { { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "" - , EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" - }, { "", EVENT_PRESSED, 0, "" } }, 0, 0, 1, HITTEST_DEFAULT, 0 } }; -static BGObj _bgObjects_42[] = { { "group battle" - , "battle" }, { "group back2", "back2" }, { "group skip", "skip" }, { "group next2" - , "next2" }, { "group background", "background off" } }; + , 0 } }; +static BGObj _bgObjects_42[] = { { "group battle", "battle" }, { "group back2" + , "back2" }, { "group skip", "skip" }, { "group next2", "next2" }, { "group background" + , "background off" } }; static sqshControl _controls_41[] = { { SQSH_GENERAL_WND_TYPE , SQSH_MM_RAMKA, 2, 3, 0.24414062f, 0.25260417f, 0.48828125f, 0.00390625f, 0.f, 0.f , { "resource\\icons\\MainMenu\\Main_menu.tga", 2.f, 987.f, 500.f, 3.f, 0.f, 0.f, 0.f @@ -10126,7 +10043,7 @@ SqshBorder rightSeparateBottomBtn = { 0.76464844f, 0.93619792f , 0.11425781f, 0.04817708f }; SqshBorder mainMenuMap = { 0.61132812f, 0.40755208f , 0.29296875f, 0.19140625f }; -int customUp = 80; +int customUp = 90; int customStep = 50; int optionsGameUp = 120; int optionsGameStep = 80; @@ -10134,8 +10051,8 @@ int ingameGameUp = 160; int ingameGameStep = 80; int ingameGraphUp = 160; int ingameGraphStep = 80; -int ingameCustomUp = 90; -int ingameCustomStep = 46; +int ingameCustomUp = 100; +int ingameCustomStep = 50; int battleUp = 405; int battleStep = 40; int startUp = 283; @@ -10231,7 +10148,7 @@ sqshControlContainer _sqsh_controls[] = { { SQSH_GENERAL_TYPE , 0 }, 33, _controls_41, 5, _bgObjects_42, SQSH_MM_APPLY_BTN, SQSH_MM_CUSTOM_GRAPHICS_BTN , SQSH_MM_BACK_FROM_GRAPHICS_BTN }, { SQSH_MULTITEX_WINDOW, 151, 0, 2, 0, 0, 1024 , 768, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f - , 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, 45, _controls_43, 3, _bgObjects_44, SQSH_STATIC_ID + , 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, 41, _controls_43, 3, _bgObjects_44, SQSH_STATIC_ID , SQSH_STATIC_ID, SQSH_MM_BACK_FROM_CUSTOM_BTN }, { SQSH_MULTITEX_WINDOW, 154, 0, 2 , 0, 0, 1024, 768, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "" , 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, 17, _controls_45, 3, _bgObjects_46 @@ -10262,7 +10179,7 @@ sqshControlContainer _sqsh_controls[] = { { SQSH_GENERAL_TYPE , SQSH_MM_CUSTOM_INGAME_GRAPHICS_BTN, SQSH_MM_BACK_FROM_INGAME_GRAPHICS_BTN }, { SQSH_MULTITEX_WINDOW , 152, 0, 1, 0, 0, 1024, 768, { "resource\\icons\\MainMenu\\t.avi", 0.f, 0.f, 1024.f , 1024.f, 0.f, 0.f, 0.f, 0.f, 0, 0 }, { "resource\\icons\\MainMenu\\il.tga", 0.f, 0.f - , 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, 36, _controls_57, 0, 0, SQSH_STATIC_ID + , 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, 33, _controls_57, 0, 0, SQSH_STATIC_ID , SQSH_STATIC_ID, SQSH_MM_BACK_FROM_INGAME_CUSTOM }, { SQSH_MULTITEX_WINDOW, 169, 0 , 1, 0, 0, 1024, 768, { "resource\\icons\\MainMenu\\t.avi", 0.f, 0.f, 1024.f, 1024.f , 0.f, 0.f, 0.f, 0.f, 0, 0 }, { "resource\\icons\\MainMenu\\il.tga", 0.f, 0.f, 1024.f @@ -10540,12 +10457,12 @@ struct InterfaceScriptExportPrm_ParameterSection : ParameterSection add_dependency(".\\Scripts\\InterfaceScriptExport.prm"); add_dependency(".\\Scripts\\SquadShellEnums.inl"); add_dependency(".\\Scripts\\UnitAttribute.inl"); - description = 1536049420; + description = 3939911536; reserve(37); add(&_bgObjects_60, "_bgObjects_60", 1433555463); add(&_controls_59, "_controls_59", 1063622840); add(&_controls_58, "_controls_58", 1000986699); - add(&_controls_57, "_controls_57", 3798587468); + add(&_controls_57, "_controls_57", 1457883893); add(&_controls_56, "_controls_56", 3397507259); add(&_controls_55, "_controls_55", 1187844454); add(&_controls_54, "_controls_54", 1713738140); @@ -10559,7 +10476,7 @@ struct InterfaceScriptExportPrm_ParameterSection : ParameterSection add(&_bgObjects_46, "_bgObjects_46", 3878495230); add(&_controls_45, "_controls_45", 3425505979); add(&_bgObjects_44, "_bgObjects_44", 3350146046); - add(&_controls_43, "_controls_43", 2242740980); + add(&_controls_43, "_controls_43", 3450700532); add(&_bgObjects_42, "_bgObjects_42", 3266524872); add(&_controls_41, "_controls_41", 3979186365); add(&_bgObjects_40, "_bgObjects_40", 2259368958); @@ -10633,7 +10550,7 @@ struct InterfaceScriptExportPrm_ParameterSection : ParameterSection add(&optionsUp, "optionsUp", 1199352564); add(&optionsStep, "optionsStep", 2147965020); add(&_sqsh_control_count, "_sqsh_control_count", 1611044955); - add(&_sqsh_controls, "_sqsh_controls", 3687346756); + add(&_sqsh_controls, "_sqsh_controls", 2128188864); add(&_sqsh_sheet_count, "_sqsh_sheet_count", 878183638); add(&_sqsh_sheets, "_sqsh_sheets", 4086170788); add(&squad_icon_count, "squad_icon_count", 3142965791); diff --git a/Source/Render/D3D/D3DRenderTexture.cpp b/Source/Render/D3D/D3DRenderTexture.cpp index d6499cd1a..9bf4eb1af 100644 --- a/Source/Render/D3D/D3DRenderTexture.cpp +++ b/Source/Render/D3D/D3DRenderTexture.cpp @@ -9,28 +9,10 @@ IDirect3DTexture9* cD3DRender::CreateSurface(int x, int y, eSurfaceFormat Textur { IDirect3DTexture9* lpTexture = nullptr; -#ifndef PERIMETER_EXODUS //We don't support DXT textures in our D3DXLoadSurfaceFromMemory - if((TextureFormat==SURFMT_COLOR || TextureFormat==SURFMT_COLORALPHA || TextureFormat==SURFMT_GRAYALPHA) && Option_FavoriteLoadDDS) - { - if(TextureFormat==SURFMT_GRAYALPHA) - { - RDCALL(lpD3DDevice->CreateTexture(x,y,MipMap,0, - D3DFMT_DXT3, - D3DPOOL_MANAGED,&lpTexture,NULL)); - }else - { - RDCALL(lpD3DDevice->CreateTexture(x,y,MipMap,0, - (TextureFormat==SURFMT_COLOR)?D3DFMT_DXT1:D3DFMT_DXT5, - D3DPOOL_MANAGED,&lpTexture,NULL)); - } - VISASSERT(lpTexture); - return lpTexture; - } -#endif - VISASSERT(x&&y&&TextureFormat>=0&&TextureFormat Option_MapLevel; extern DebugType Option_ShowRenderTextureDBG; extern DebugType Option_DebugShowShadowVolume; extern DebugType Option_ShadowType; -extern DebugType Option_FavoriteLoadDDS; extern DebugType Option_EnableBump; extern DebugType Option_EnableLinkEffectToModel; extern DebugType Option_EnableOcclusion; diff --git a/Source/Render/src/TexLibrary.cpp b/Source/Render/src/TexLibrary.cpp index 41b052ae5..56775c325 100644 --- a/Source/Render/src/TexLibrary.cpp +++ b/Source/Render/src/TexLibrary.cpp @@ -306,60 +306,7 @@ bool cTexLibrary::ReLoadTexture(cTexture* Texture) #endif return true; } -/* - if(Option_FavoriteLoadDDS && !bump) - { - char drive[_MAX_DRIVE]; - char dir[_MAX_DIR]; - char fname[_MAX_FNAME]; - char ext[_MAX_EXT]; - _splitpath( Texture->GetName(), drive, dir, fname, ext ); - - char path_buffer[MAX_PATH]; - _makepath(path_buffer, drive, dir, fname, "dds" ); - - void* buf; - int size; - //0 - alpha_none, 1- alpha_test, 2 - alpha_blend - int ret=ResourceFileRead(path_buffer,buf,size);///Утечка памяти - if(!ret) - { - BYTE alpha_type=((BYTE*)buf)[size-1]; - switch(alpha_type) - { - case 0: - break; - case 1: - Texture->SetAttribute(TEXTURE_ALPHA_TEST); - break; - case 2: - Texture->SetAttribute(TEXTURE_ALPHA_BLEND); - break; - default: - //Неправильный dds файл. В конце должен быть байт с alpha. - Error(Texture); - Texture->Release(); - return false; - } - - IDirect3DTexture9* pTexture=gb_RenderDevice->CreateTextureFromMemory(buf,size-1); - if(!pTexture) - { - Error(Texture); - Texture->Release(); - return false; - } - - D3DSURFACE_DESC desc; - RDCALL(pTexture->GetLevelDesc(0,&desc)); - Texture->SetWidth(desc.Width); - Texture->SetHeight(desc.Height); - - Texture->BitMap.push_back(pTexture); - return true; - } - } -*/ + //Get path for file and open it std::string path = Texture->GetName(); if (get_content_entry(path)) { diff --git a/Source/Render/src/VisGeneric.cpp b/Source/Render/src/VisGeneric.cpp index ea18935f1..8255ece4b 100644 --- a/Source/Render/src/VisGeneric.cpp +++ b/Source/Render/src/VisGeneric.cpp @@ -51,7 +51,6 @@ DebugType Option_MapLevel(0.8f); DebugType Option_ShowRenderTextureDBG(0); DebugType Option_DebugShowShadowVolume(0); DebugType Option_ShadowType(false); -DebugType Option_FavoriteLoadDDS(false); bool Option_IsShadowMap=false; DebugType Option_EnableBump(true); DebugType Option_EnableLinkEffectToModel(true); @@ -141,7 +140,6 @@ cVisGeneric::cVisGeneric() : cUnknownClass(KIND_UI_VISGENERIC)//: SceneArray(KIN RDI(ShowRenderTextureDBG); RDI(DebugShowShadowVolume); RDI(ShadowType); - RDI(FavoriteLoadDDS); RDI(EnableOcclusion); RDI(EnablePointLight); RDI(ShadowMapSelf4x4); @@ -236,11 +234,6 @@ void cVisGeneric::SetDebugShowShadowVolume(int p) Option_DebugShowShadowVolume=p; } -void cVisGeneric::SetFavoriteLoadDDS(bool p) -{ - Option_FavoriteLoadDDS=p; -} - void cVisGeneric::SetShadowType(eShadowType p,int shadow_size) { Option_ShadowType=p; diff --git a/Source/Render/src/VisGeneric.h b/Source/Render/src/VisGeneric.h index d73432fd2..a411b864c 100644 --- a/Source/Render/src/VisGeneric.h +++ b/Source/Render/src/VisGeneric.h @@ -81,7 +81,6 @@ class cVisGeneric : public cUnknownClass void SetDrawMeshScreen(bool); void SetMapLevel(float); void SetShowRenderTextureDBG(bool); - void SetFavoriteLoadDDS(bool); void SetAnisotropic(bool); bool GetAnisotropic(); diff --git a/Source/Scripts/InterfaceScriptExport.prm b/Source/Scripts/InterfaceScriptExport.prm index 7648b6753..6722d9db5 100644 --- a/Source/Scripts/InterfaceScriptExport.prm +++ b/Source/Scripts/InterfaceScriptExport.prm @@ -222,7 +222,7 @@ SqshBorder rightSeparateBottomBtn = { x = 783 / 1024; y = littleBtnHeight; sx = SqshBorder mainMenuMap = { x = 626 / 1024; y = (55 + 256 + 2) / 768; sx = 300 / 1024; sy = 147 / 768; }; //////////////////////////////////////////////////////////////////////////////////////////////////////////////// -int customUp = 80; +int customUp = 90; int customStep = 50; int optionsGameUp = 120; int optionsGameStep = 80; @@ -230,8 +230,8 @@ int ingameGameUp = 160; int ingameGameStep = 80; int ingameGraphUp = 160; int ingameGraphStep = 80; -int ingameCustomUp = 90; -int ingameCustomStep = 46; +int ingameCustomUp = 100; +int ingameCustomStep = 50; int battleUp = 405; int battleStep = 40; int startUp = 174 + 109; @@ -5234,16 +5234,15 @@ sqshControlContainer _sqsh_controls[int _sqsh_control_count] = { // image2 = {texture="resource\\icons\\MainMenu\\il.tga";}; controls = new sqshControl[] { - {type = SQSH_GENERAL_WND_TYPE; id = SQSH_MM_RAMKA; x=(500 - 250)/1024; y=(133 + customStep * 0)/768; sx=500/1024; sy=3/768; image={texture="resource\\icons\\MainMenu\\Main_menu.tga";_ix = 2; _iy = 987; ix = 500; iy = 3;}; state = SQSH_ENABLED; txt_dx =0.3f; }, - {type = SQSH_GENERAL_WND_TYPE; id = SQSH_MM_RAMKA; x=(500 - 250)/1024; y=(133 + customStep * 1)/768; sx=500/1024; sy=3/768; image={texture="resource\\icons\\MainMenu\\Main_menu.tga";_ix = 2; _iy = 987; ix = 500; iy = 3;}; state = SQSH_ENABLED; txt_dx =0.3f; }, - {type = SQSH_GENERAL_WND_TYPE; id = SQSH_MM_RAMKA; x=(500 - 250)/1024; y=(133 + customStep * 2)/768; sx=500/1024; sy=3/768; image={texture="resource\\icons\\MainMenu\\Main_menu.tga";_ix = 2; _iy = 987; ix = 500; iy = 3;}; state = SQSH_ENABLED; txt_dx =0.3f; }, - {type = SQSH_GENERAL_WND_TYPE; id = SQSH_MM_RAMKA; x=(500 - 250)/1024; y=(133 + customStep * 3)/768; sx=500/1024; sy=3/768; image={texture="resource\\icons\\MainMenu\\Main_menu.tga";_ix = 2; _iy = 987; ix = 500; iy = 3;}; state = SQSH_ENABLED; txt_dx =0.3f; }, - {type = SQSH_GENERAL_WND_TYPE; id = SQSH_MM_RAMKA; x=(500 - 250)/1024; y=(133 + customStep * 4)/768; sx=500/1024; sy=3/768; image={texture="resource\\icons\\MainMenu\\Main_menu.tga";_ix = 2; _iy = 987; ix = 500; iy = 3;}; state = SQSH_ENABLED; txt_dx =0.3f; }, - {type = SQSH_GENERAL_WND_TYPE; id = SQSH_MM_RAMKA; x=(500 - 250)/1024; y=(133 + customStep * 5)/768; sx=500/1024; sy=3/768; image={texture="resource\\icons\\MainMenu\\Main_menu.tga";_ix = 2; _iy = 987; ix = 500; iy = 3;}; state = SQSH_ENABLED; txt_dx =0.3f; }, - {type = SQSH_GENERAL_WND_TYPE; id = SQSH_MM_RAMKA; x=(500 - 250)/1024; y=(133 + customStep * 6)/768; sx=500/1024; sy=3/768; image={texture="resource\\icons\\MainMenu\\Main_menu.tga";_ix = 2; _iy = 987; ix = 500; iy = 3;}; state = SQSH_ENABLED; txt_dx =0.3f; }, - {type = SQSH_GENERAL_WND_TYPE; id = SQSH_MM_RAMKA; x=(500 - 250)/1024; y=(133 + customStep * 7)/768; sx=500/1024; sy=3/768; image={texture="resource\\icons\\MainMenu\\Main_menu.tga";_ix = 2; _iy = 987; ix = 500; iy = 3;}; state = SQSH_ENABLED; txt_dx =0.3f; }, - {type = SQSH_GENERAL_WND_TYPE; id = SQSH_MM_RAMKA; x=(500 - 250)/1024; y=(133 + customStep * 8)/768; sx=500/1024; sy=3/768; image={texture="resource\\icons\\MainMenu\\Main_menu.tga";_ix = 2; _iy = 987; ix = 500; iy = 3;}; state = SQSH_ENABLED; txt_dx =0.3f; }, - {type = SQSH_GENERAL_WND_TYPE; id = SQSH_MM_RAMKA; x=(500 - 250)/1024; y=(133 + customStep * 9)/768; sx=500/1024; sy=3/768; image={texture="resource\\icons\\MainMenu\\Main_menu.tga";_ix = 2; _iy = 987; ix = 500; iy = 3;}; state = SQSH_ENABLED; txt_dx =0.3f; }, + {type = SQSH_GENERAL_WND_TYPE; id = SQSH_MM_RAMKA; x=(500 - 250)/1024; y=(customUp + 53 + customStep * 0)/768; sx=500/1024; sy=3/768; image={texture="resource\\icons\\MainMenu\\Main_menu.tga";_ix = 2; _iy = 987; ix = 500; iy = 3;}; state = SQSH_ENABLED; txt_dx =0.3f; }, + {type = SQSH_GENERAL_WND_TYPE; id = SQSH_MM_RAMKA; x=(500 - 250)/1024; y=(customUp + 53 + customStep * 1)/768; sx=500/1024; sy=3/768; image={texture="resource\\icons\\MainMenu\\Main_menu.tga";_ix = 2; _iy = 987; ix = 500; iy = 3;}; state = SQSH_ENABLED; txt_dx =0.3f; }, + {type = SQSH_GENERAL_WND_TYPE; id = SQSH_MM_RAMKA; x=(500 - 250)/1024; y=(customUp + 53 + customStep * 2)/768; sx=500/1024; sy=3/768; image={texture="resource\\icons\\MainMenu\\Main_menu.tga";_ix = 2; _iy = 987; ix = 500; iy = 3;}; state = SQSH_ENABLED; txt_dx =0.3f; }, + {type = SQSH_GENERAL_WND_TYPE; id = SQSH_MM_RAMKA; x=(500 - 250)/1024; y=(customUp + 53 + customStep * 3)/768; sx=500/1024; sy=3/768; image={texture="resource\\icons\\MainMenu\\Main_menu.tga";_ix = 2; _iy = 987; ix = 500; iy = 3;}; state = SQSH_ENABLED; txt_dx =0.3f; }, + {type = SQSH_GENERAL_WND_TYPE; id = SQSH_MM_RAMKA; x=(500 - 250)/1024; y=(customUp + 53 + customStep * 4)/768; sx=500/1024; sy=3/768; image={texture="resource\\icons\\MainMenu\\Main_menu.tga";_ix = 2; _iy = 987; ix = 500; iy = 3;}; state = SQSH_ENABLED; txt_dx =0.3f; }, + {type = SQSH_GENERAL_WND_TYPE; id = SQSH_MM_RAMKA; x=(500 - 250)/1024; y=(customUp + 53 + customStep * 5)/768; sx=500/1024; sy=3/768; image={texture="resource\\icons\\MainMenu\\Main_menu.tga";_ix = 2; _iy = 987; ix = 500; iy = 3;}; state = SQSH_ENABLED; txt_dx =0.3f; }, + {type = SQSH_GENERAL_WND_TYPE; id = SQSH_MM_RAMKA; x=(500 - 250)/1024; y=(customUp + 53 + customStep * 6)/768; sx=500/1024; sy=3/768; image={texture="resource\\icons\\MainMenu\\Main_menu.tga";_ix = 2; _iy = 987; ix = 500; iy = 3;}; state = SQSH_ENABLED; txt_dx =0.3f; }, + {type = SQSH_GENERAL_WND_TYPE; id = SQSH_MM_RAMKA; x=(500 - 250)/1024; y=(customUp + 53 + customStep * 7)/768; sx=500/1024; sy=3/768; image={texture="resource\\icons\\MainMenu\\Main_menu.tga";_ix = 2; _iy = 987; ix = 500; iy = 3;}; state = SQSH_ENABLED; txt_dx =0.3f; }, + {type = SQSH_GENERAL_WND_TYPE; id = SQSH_MM_RAMKA; x=(500 - 250)/1024; y=(customUp + 53 + customStep * 8)/768; sx=500/1024; sy=3/768; image={texture="resource\\icons\\MainMenu\\Main_menu.tga";_ix = 2; _iy = 987; ix = 500; iy = 3;}; state = SQSH_ENABLED; txt_dx =0.3f; }, sqshControl_ScaleButton { x=171/1024; y=(customUp + customStep*0)/768; sx=680/1024; sy=64/768; ystart=64/768; }, // {type = SQSH_SCALE_BUTTON_TYPE; id = SQSH_MM_RAMKA; x=171/1024; y=(customUp + customStep*0)/768; sx=680/1024; sy=64/768; ystart=64/768; hitTestMode = HITTEST_NONE; }, @@ -5292,14 +5291,8 @@ sqshControlContainer _sqsh_controls[int _sqsh_control_count] = { image_check={texture="";_ix = 478;_iy = 493; ix = 25; iy = 23;}; target = SQSH_MM_PARTICLE_RATE; }, - - {type = SQSH_SCALE_BUTTON_TYPE; id = SQSH_MM_RAMKA; x=171/1024; y=(customUp + customStep*10)/768; sx=680/1024; sy=64/768; ystart=64/768; hitTestMode = HITTEST_NONE; }, - {type = SQSH_PUSH_BUTTON_TYPE; id = SQSH_MM_GRAPHICS_COMPRESS; x=188/1024; y=(customUp + customStep*10)/768; sx=412/1024; sy=64/768; text="COMPRESS TEXTURES"; font_group=2; txt_dy = 16/768; txt_align = SHELL_ALIGN_LEFT; state = SQSH_ENABLED; sound = "mainmenu_button"; target = SQSH_MM_GRAPHICS_COMPRESS_COMBO;image={texture="resource\\icons\\MainMenu\\tv.avi";dx=339/1024;dy=157/768;dsx=128/1024;dsy=128/768;hasResolutionVersion=0;};}, - {type = SQSH_COMBO_TYPE; id = SQSH_MM_GRAPHICS_COMPRESS_COMBO; x=635/1024; y=(customUp + customStep*10 + 18)/768; sx=(149+2*14)/1024; sy=32/768; target=SQSH_MM_GRAPHICS_COMPRESS; image={texture="resource\\icons\\MainMenu\\tv.avi";dx=339/1024;dy=157/768;dsx=128/1024;dsy=128/768;hasResolutionVersion=0;};}, - {type = SQSH_SCALE_BUTTON_TYPE; id = SQSH_MM_RAMKA; x=leftSeparateBottomBtn.x; y=leftSeparateBottomBtn.y; sx=leftSeparateBottomBtn.sx; sy=leftSeparateBottomBtn.sy; ystart=42/768; hitTestMode = HITTEST_NONE; }, {type = SQSH_PUSH_BUTTON_TYPE; id = SQSH_MM_BACK_FROM_CUSTOM_BTN; x=leftSeparateBottomBtn.x; y=leftSeparateBottomBtn.y; sx=leftSeparateBottomBtn.sx; sy=leftSeparateBottomBtn.sy; text="BACK"; font_group=2; txt_dy = 9/768; state = SQSH_ENABLED; sound = "mainmenu_button";image={texture="resource\\icons\\MainMenu\\tv.avi";dx=339/1024;dy=157/768;dsx=128/1024;dsy=128/768;hasResolutionVersion=0;};} - }; bgObjects = new BGObj[] { @@ -5759,11 +5752,6 @@ sqshControlContainer _sqsh_controls[int _sqsh_control_count] = { image_check={texture="";_ix = 478;_iy = 493; ix = 25; iy = 23;}; target = SQSH_MM_PARTICLE_RATE; }, - - {type = SQSH_SCALE_BUTTON_TYPE; id = SQSH_MM_RAMKA; x=171/1024; y=(ingameCustomUp + ingameCustomStep*10)/768; sx=680/1024; sy=64/768; ystart=64/768; hitTestMode = HITTEST_NONE; }, - {type = SQSH_PUSH_BUTTON_TYPE; id = SQSH_MM_GRAPHICS_COMPRESS; x=188/1024; y=(ingameCustomUp + ingameCustomStep*10)/768; sx=406/1024; sy=64/768; text="COMPRESS TEXTURES"; font_group=2; txt_dy = 16/768; txt_align = SHELL_ALIGN_LEFT; state = SQSH_ENABLED; sound = "mainmenu_button"; target = SQSH_MM_GRAPHICS_COMPRESS_COMBO;}, - {type = SQSH_COMBO_TYPE; id = SQSH_MM_GRAPHICS_COMPRESS_COMBO; x=635/1024; y=(ingameCustomUp + ingameCustomStep*10 + 18)/768; sx=(249+2*14)/1024; sy=32/768; target=SQSH_MM_GRAPHICS_COMPRESS;}, - {type = SQSH_SCALE_BUTTON_TYPE; id = SQSH_MM_RAMKA; x=97/1024; y=619/768; sx=145/1024; sy=45/768; image={texture="resource\\icons\\MainMenu\\new_menu.tga";_ix = 340; _iy = 291; ix = 145; iy = 45;}; ystart=45/768; hitTestMode = HITTEST_NONE; }, {type = SQSH_PUSH_BUTTON_TYPE; id = SQSH_MM_BACK_FROM_INGAME_CUSTOM; x=104/1024; y=621/768; sx=131/1024; sy=41/768; text="BACK"; font_group=2; txt_dy = 11/768; sound = "mainmenu_button"; state = SQSH_ENABLED; } diff --git a/Source/Scripts/SquadShellEnums.inl b/Source/Scripts/SquadShellEnums.inl index 6e48e9eda..7afd2ae25 100644 --- a/Source/Scripts/SquadShellEnums.inl +++ b/Source/Scripts/SquadShellEnums.inl @@ -539,8 +539,8 @@ enum ShellControlID SQSH_MM_GRAPHICS_BUMP_COMBO, SQSH_MM_GRAPHICS_BUMP_CHAOS, SQSH_MM_GRAPHICS_BUMP_CHAOS_COMBO, - SQSH_MM_GRAPHICS_COMPRESS, - SQSH_MM_GRAPHICS_COMPRESS_COMBO, + SQSH_MM_GRAPHICS_COMPRESS, // Unused + SQSH_MM_GRAPHICS_COMPRESS_COMBO, // Unused SQSH_MM_BACK_FROM_CUSTOM_BTN, //game diff --git a/Source/UserInterface/GraphicsOptions.cpp b/Source/UserInterface/GraphicsOptions.cpp index 85d066c8e..4a9cff737 100644 --- a/Source/UserInterface/GraphicsOptions.cpp +++ b/Source/UserInterface/GraphicsOptions.cpp @@ -49,8 +49,6 @@ void CustomGraphOptions::load(const char* sectionName, const char* iniFileName) bumpMapping = terVisGeneric->PossibilityBump() ? iniManager.getInt(sectionName, "EnableBump") : 0; bumpChaos = terVisGeneric->PossibilityBumpChaos() ? iniManager.getInt(sectionName, "EnableBumpChaos") : 0; particleRate = iniManager.getFloat(sectionName, "ParticleRate"); - - compressedTextures = iniManager.getFloat(sectionName, "FavoriteLoadDDS"); } void CustomGraphOptions::save(const char* iniFileName) { @@ -72,8 +70,6 @@ void CustomGraphOptions::save(const char* iniFileName) { iniManager.putInt("Graphics", "EnableBump", bumpMapping); iniManager.putInt("Graphics", "EnableBumpChaos", bumpChaos); iniManager.putFloat("Graphics", "ParticleRate", particleRate); - - iniManager.putInt("Graphics", "FavoriteLoadDDS", compressedTextures); } void CustomGraphOptions::apply() { @@ -108,8 +104,6 @@ void CustomGraphOptions::apply() { } terVisGeneric->SetGlobalParticleRate(particleRate); - - gb_VisGeneric->SetFavoriteLoadDDS(compressedTextures); } void GraphOptions::load(const char* sectionName, const char* iniFileName) { diff --git a/Source/UserInterface/GraphicsOptions.h b/Source/UserInterface/GraphicsOptions.h index 9bdee2d44..733dcfc34 100644 --- a/Source/UserInterface/GraphicsOptions.h +++ b/Source/UserInterface/GraphicsOptions.h @@ -82,8 +82,6 @@ class CustomGraphOptions : public Options { bool bumpChaos; float particleRate; - bool compressedTextures; - bool operator == (const CustomGraphOptions &cgo) const { return ( landscapeDetails == cgo.landscapeDetails @@ -97,7 +95,6 @@ class CustomGraphOptions : public Options { && bumpMapping == cgo.bumpMapping && bumpChaos == cgo.bumpChaos && particleRate == cgo.particleRate - && compressedTextures == cgo.compressedTextures ); }; bool operator != (const CustomGraphOptions &cgo) const { diff --git a/Source/UserInterface/OptionsMenu.cpp b/Source/UserInterface/OptionsMenu.cpp index f37378c52..02143eb95 100644 --- a/Source/UserInterface/OptionsMenu.cpp +++ b/Source/UserInterface/OptionsMenu.cpp @@ -41,7 +41,6 @@ void OnIngameGraphicsCustomBtn(CShellWindow* pWnd, InterfaceEventCode code, int onSamplesCombo(_shellIconManager.GetWnd(SQSH_MM_GRAPHICS_SHADOWS_SAMPLES_COMBO), EVENT_CREATEWND, -1); onBumpCombo(_shellIconManager.GetWnd(SQSH_MM_GRAPHICS_BUMP_COMBO), EVENT_CREATEWND, -1); onBumpChaosCombo(_shellIconManager.GetWnd(SQSH_MM_GRAPHICS_BUMP_CHAOS_COMBO), EVENT_CREATEWND, -1); - onCompressCombo(_shellIconManager.GetWnd(SQSH_MM_GRAPHICS_COMPRESS_COMBO), EVENT_CREATEWND, -1); OnComboGraphicsFurrows(_shellIconManager.GetWnd(SQSH_MM_GRAPHICS_FURROWS_COMBO), EVENT_CREATEWND, -1); OnComboGraphicsShadows(_shellIconManager.GetWnd(SQSH_MM_GRAPHICS_SHADOWS_COMBO), EVENT_CREATEWND, -1); OnComboGraphicsReflection(_shellIconManager.GetWnd(SQSH_MM_GRAPHICS_REFLECTION_COMBO), EVENT_CREATEWND, -1); @@ -189,7 +188,6 @@ void OnGraphicsCustomBtn(CShellWindow* pWnd, InterfaceEventCode code, int param) onSamplesCombo(_shellIconManager.GetWnd(SQSH_MM_GRAPHICS_SHADOWS_SAMPLES_COMBO), EVENT_CREATEWND, -1); onBumpCombo(_shellIconManager.GetWnd(SQSH_MM_GRAPHICS_BUMP_COMBO), EVENT_CREATEWND, -1); onBumpChaosCombo(_shellIconManager.GetWnd(SQSH_MM_GRAPHICS_BUMP_CHAOS_COMBO), EVENT_CREATEWND, -1); - onCompressCombo(_shellIconManager.GetWnd(SQSH_MM_GRAPHICS_COMPRESS_COMBO), EVENT_CREATEWND, -1); OnComboGraphicsFurrows(_shellIconManager.GetWnd(SQSH_MM_GRAPHICS_FURROWS_COMBO), EVENT_CREATEWND, -1); OnComboGraphicsShadows(_shellIconManager.GetWnd(SQSH_MM_GRAPHICS_SHADOWS_COMBO), EVENT_CREATEWND, -1); OnComboGraphicsReflection(_shellIconManager.GetWnd(SQSH_MM_GRAPHICS_REFLECTION_COMBO), EVENT_CREATEWND, -1); @@ -362,19 +360,6 @@ void onBumpChaosCombo(CShellWindow* pWnd, InterfaceEventCode code, int param) { GraphOptionsManager::getInstance().getGraphicsOptions().customOptions.bumpChaos = pCombo->pos; } } -void onCompressCombo(CShellWindow* pWnd, InterfaceEventCode code, int param) { - CComboWindow *pCombo = (CComboWindow*) pWnd; - if ( code == EVENT_CREATEWND ) { - if (param != -1) { - pCombo->Array.push_back( getItemTextFromBase("Off").c_str() ); - pCombo->Array.push_back( getItemTextFromBase("On").c_str() ); - pCombo->size = 2; - } - pCombo->pos = GraphOptionsManager::getInstance().getGraphicsOptions().customOptions.compressedTextures; - } else if ( code == EVENT_UNPRESSED || code == EVENT_RUNPRESSED ) { - GraphOptionsManager::getInstance().getGraphicsOptions().customOptions.compressedTextures = pCombo->pos; - } -} void OnComboGraphicsFurrows(CShellWindow* pWnd, InterfaceEventCode code, int param) { diff --git a/Source/UserInterface/PerimeterShellDisp.cpp b/Source/UserInterface/PerimeterShellDisp.cpp index 74510cf98..e517bad35 100644 --- a/Source/UserInterface/PerimeterShellDisp.cpp +++ b/Source/UserInterface/PerimeterShellDisp.cpp @@ -315,7 +315,6 @@ _handlertbl[] = { {SQSH_MM_GRAPHICS_SHADOWS_SAMPLES_COMBO, onSamplesCombo}, {SQSH_MM_GRAPHICS_BUMP_COMBO, onBumpCombo}, {SQSH_MM_GRAPHICS_BUMP_CHAOS_COMBO, onBumpChaosCombo}, - {SQSH_MM_GRAPHICS_COMPRESS_COMBO, onCompressCombo}, {SQSH_MM_BACK_FROM_CUSTOM_BTN, onMMBackButton}, //sound diff --git a/Source/UserInterface/PerimeterShellUI.h b/Source/UserInterface/PerimeterShellUI.h index 9c280f162..a43775f80 100644 --- a/Source/UserInterface/PerimeterShellUI.h +++ b/Source/UserInterface/PerimeterShellUI.h @@ -2109,7 +2109,6 @@ void onPointLightCombo(CShellWindow* pWnd, InterfaceEventCode code, int param); void onSamplesCombo(CShellWindow* pWnd, InterfaceEventCode code, int param); void onBumpCombo(CShellWindow* pWnd, InterfaceEventCode code, int param); void onBumpChaosCombo(CShellWindow* pWnd, InterfaceEventCode code, int param); -void onCompressCombo(CShellWindow* pWnd, InterfaceEventCode code, int param); void OnComboGraphicsFurrows(CShellWindow* pWnd, InterfaceEventCode code, int param); void OnComboGraphicsShadows(CShellWindow* pWnd, InterfaceEventCode code, int param); void OnComboGraphicsReflection(CShellWindow* pWnd, InterfaceEventCode code, int param);