Browse Source

Changed timing of building fade-in to match H3

Ivan Savenko 2 years ago
parent
commit
09413c61b8
1 changed files with 3 additions and 3 deletions
  1. 3 3
      client/windows/CCastleInterface.h

+ 3 - 3
client/windows/CCastleInterface.h

@@ -45,9 +45,9 @@ public:
 	enum EBuildingCreationAnimationPhases : uint32_t
 	{
 		BUILDING_APPEAR_TIMEPOINT = 500, //500 msec building appears: 0->100% transparency
-		BUILDING_WHITE_BORDER_TIMEPOINT = 1000, //500 msec border glows from white to yellow
-		BUILDING_YELLOW_BORDER_TIMEPOINT = 1500, //500 msec border glows from yellow to normal
-		BUILD_ANIMATION_FINISHED_TIMEPOINT = 2500, //1000 msec delay, nothing happens
+		BUILDING_WHITE_BORDER_TIMEPOINT = 900, //400 msec border glows from white to yellow
+		BUILDING_YELLOW_BORDER_TIMEPOINT = 1100, //200 msec border glows from yellow to normal (dark orange)
+		BUILD_ANIMATION_FINISHED_TIMEPOINT = 1200, //once border is back to yellow nothing happens
 
 		BUILDING_FRAME_TIME = 150 // confirmed H3 timing: 150 ms for each building animation frame
 	};