Preliminary changes
authorCameron Ball <c.ball1729@gmail.com>
Thu, 5 Dec 2013 16:28:44 +0000 (00:28 +0800)
committerCameron Ball <c.ball1729@gmail.com>
Thu, 5 Dec 2013 16:28:44 +0000 (00:28 +0800)
Themes/GrooveNights/Scripts/GrooveNights.lua

index 71a9cd9..cbc3220 100644 (file)
@@ -1255,6 +1255,46 @@ function GetRateMods()
        return { "1.0x", "1.1x", "1.2x", "1.3x", "1.4x", "1.5x", "1.6x", "1.7x", "2.0x"}
 end
 
+function GetBaseSpeeds()
+    if GetSpeedModType() == "pro" then
+        return { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16" }
+    end
+        
+    if GetSpeedModType() == "advanced" then
+        if OPENITG then baseSpeed = { "0.25x", "0.5x", "0.75x", "1x", "1.25x", "1.5x", "1.75x", "2x", "2.25x", "2.5x", "2.75x", "3x", "3.25x", "3.5x", "3.75x", "4x", "4.25x", "4.5x", "4.75x", "5x", "5.25x", "5.5x", "5.75x", "6x", "6.25x", "6.5x", "6.75x", "7x", "c400", "c425", "c450", "c475", "c500", "c525", "c550", "c575", "c600", "c625", "c650", "c675", "c700", "c725", "c750", "c775", "c800", "c825", "c850", "c875", "c900", "c925", "c950", "c975", "c1000", "m400", "m425", "m450", "m475", "m500", "m525", "m550", "m575", "m600", "m625", "m650", "m675", "m700", "m725", "m750", "m775", "m800", "m825", "m850", "m875", "m900", "m925", "m950", "m975", "m1000" }
+        else baseSpeed = { "0.25x", "0.5x", "0.75x", "1x", "1.25x", "1.5x", "1.75x", "2x", "2.25x", "2.5x", "2.75x", "3x", "3.25x", "3.5x", "3.75x", "4x", "4.25x", "4.5x", "4.75x", "5x", "5.25x", "5.5x", "5.75x", "6x", "6.25x", "6.5x", "6.75x", "7x", "c400", "c425", "c450", "c475", "c500", "c525", "c550", "c575", "c600", "c625", "c650", "c675", "c700", "c725", "c750", "c775", "c800", "c825", "c850", "c875", "c900", "c925", "c950", "c975", "c1000" }
+        end
+    end
+
+    if GetSpeedModType() == "basic" then
+        if OPENITG then baseSpeed = { "1x", "1.5x", "2x", "2.5x", "3x", "3.5x", "4x", "4.5x", "5x", "6x", "c450", "m450" }
+        else baseSpeed = { "1x", "1.5x", "2x", "2.5x", "3x", "3.5x", "4x", "4.5x", "5x", "5.5x", "6x", "c450" }
+        end
+    end
+end   
+
+function GetExtraSpeeds() {
+       if GetSpeedModType() == "pro" then 
+               return { "0", "+0.25", "+0.5", "+0.75", "+0.1", "+0.2", "+0.3", "+0.4", "+0.6", "+0.7", "+0.8", "+0.9" }
+       end
+       
+       if GetSpeedModType() == "advanced" then
+               return { "0" }
+       end
+       
+       if GetSpeedModType() == "basic" then
+               return { "0" }
+       end
+}
+
+function GetSpeedModTypes() {
+    if OPENITG then
+        return { "x-mod", "c-mod", "m-mod" }
+    else
+        return { "x-mod", "c-mod" }
+    end
+end
+
 function RateMods()
        local modList = GetRateMods();