diff --git a/Docs/Luadoc/Lua.xsl b/Docs/Luadoc/Lua.xsl index bf0562f25c..2861185f63 100644 --- a/Docs/Luadoc/Lua.xsl +++ b/Docs/Luadoc/Lua.xsl @@ -78,13 +78,13 @@ margin: 1px 2px 1px 2px; border: 1px solid #777; } - ._fallbackTheme{ + .fallbackTheme{ text-align: justify; vertical-align: text-top; background: #DDFFEE url(./bgline.png) repeat-x scroll 0 0; padding: 1px; } - fieldset div._fallbackTheme{ + fieldset div.fallbackTheme{ margin: 1px 2px 1px 2px; border: 1px solid #777; } @@ -235,7 +235,7 @@ Function Colors
Available in sm-ssc and StepMania 5
Renamed or changed from StepMania 4 alphas
-
Defined in the _fallback theme
+
Defined in the _fallback theme
Defined in the default theme
@@ -476,21 +476,13 @@ renamed - _fallbackTheme + fallbackTheme defaultTheme descriptionCell - - - - - - - - + ( @@ -511,9 +503,7 @@ - - descriptionCell - + descriptionCell diff --git a/Installer/custom-ssc.bmp b/Installer/custom-sm5.bmp similarity index 100% rename from Installer/custom-ssc.bmp rename to Installer/custom-sm5.bmp diff --git a/Installer/header-ssc.bmp b/Installer/header-sm5.bmp similarity index 100% rename from Installer/header-ssc.bmp rename to Installer/header-sm5.bmp diff --git a/Installer/welcome-ssc.bmp b/Installer/welcome-sm5.bmp similarity index 100% rename from Installer/welcome-ssc.bmp rename to Installer/welcome-sm5.bmp diff --git a/Themes/default/Graphics/Common window icon.png b/Themes/default/Graphics/Common window icon.png index 23750444ac..4a68593c5d 100644 Binary files a/Themes/default/Graphics/Common window icon.png and b/Themes/default/Graphics/Common window icon.png differ diff --git a/Themes/default/Graphics/ScreenGameplay BPMDisplay.lua b/Themes/default/Graphics/ScreenGameplay BPMDisplay.lua index 2b242dd9fb..bb61014df0 100644 --- a/Themes/default/Graphics/ScreenGameplay BPMDisplay.lua +++ b/Themes/default/Graphics/ScreenGameplay BPMDisplay.lua @@ -1,15 +1,36 @@ -- check if players are playing steps with different timingdata. local numPlayers = GAMESTATE:GetNumPlayersEnabled() -local displaySingle = Def.SongBPMDisplay { - File=THEME:GetPathF("BPMDisplay", "bpm"); - Name="BPMDisplay"; - InitCommand=cmd(zoom,0.675;shadowlength,1); - SetCommand=function(self) self:SetFromGameState() end; - CurrentSongChangedMessageCommand=cmd(playcommand,"Set"); - CurrentCourseChangedMessageCommand=cmd(playcommand,"Set"); +local function UpdateSingleBPM(self) + local bpmDisplay = self:GetChild("BPMDisplay") + local pn = GAMESTATE:GetMasterPlayerNumber() + local pState = GAMESTATE:GetPlayerState(pn); + local songPosition = pState:GetSongPosition() + local bpm = songPosition:GetCurBPS() * 60 + bpmDisplay:settext( string.format("%03.2f",bpm) ) +end + +local displaySingle = Def.ActorFrame{ + -- manual bpm displays + LoadFont("BPMDisplay", "bpm")..{ + Name="BPMDisplay"; + InitCommand=cmd(zoom,0.675;shadowlength,1); + }; + + --[[ + Def.SongBPMDisplay { + File=THEME:GetPathF("BPMDisplay", "bpm"); + Name="BPMDisplay"; + InitCommand=cmd(zoom,0.675;shadowlength,1); + SetCommand=function(self) self:SetFromGameState() end; + CurrentSongChangedMessageCommand=cmd(playcommand,"Set"); + CurrentCourseChangedMessageCommand=cmd(playcommand,"Set"); + }; + --]] }; +displaySingle.InitCommand=cmd(SetUpdateFunction,UpdateSingleBPM); + if numPlayers == 1 then return displaySingle else @@ -23,16 +44,19 @@ else local diffP1 = stepsP1:GetDifficulty() local diffP2 = stepsP2:GetDifficulty() - if stP1 == stP2 and diffP1 == diffP2 then - -- both players are using the same steps; only need one. + -- get timing data... + local timingP1 = stepsP1:GetTimingData() + local timingP2 = stepsP2:GetTimingData() + + --if stP1 == stP2 and diffP1 == diffP2 then + if timingP1 == timingP2 then + -- both players are steps with the same TimingData; only need one. return displaySingle end -- otherwise, we have some more work to do. - local timingP1 = stepsP1:GetTimingData() - local timingP2 = stepsP2:GetTimingData() - local function UpdateBPM(self) + local function Update2PBPM(self) local dispP1 = self:GetChild("DisplayP1") local dispP2 = self:GetChild("DisplayP2") @@ -42,7 +66,7 @@ else local pState = GAMESTATE:GetPlayerState(pn); local songPosition = pState:GetSongPosition() local bpm = songPosition:GetCurBPS() * 60 - bpmDisplay:settext( string.format("%.2f",bpm) ) + bpmDisplay:settext( string.format("%03.2f",bpm) ) end end @@ -50,15 +74,15 @@ else -- manual bpm displays LoadFont("BPMDisplay", "bpm")..{ Name="DisplayP1"; - InitCommand=cmd(x,-32;zoom,0.625;shadowlength,1); + InitCommand=cmd(x,-28;zoom,0.6;shadowlength,1); }; LoadFont("BPMDisplay", "bpm")..{ Name="DisplayP2"; - InitCommand=cmd(x,32;zoom,0.625;shadowlength,1); + InitCommand=cmd(x,28;zoom,0.6;shadowlength,1); }; }; - displayTwoPlayers.InitCommand=cmd(SetUpdateFunction,UpdateBPM); + displayTwoPlayers.InitCommand=cmd(SetUpdateFunction,Update2PBPM); return displayTwoPlayers end diff --git a/Themes/default/metrics.ini b/Themes/default/metrics.ini index d3e01fbd43..a520edc68c 100644 --- a/Themes/default/metrics.ini +++ b/Themes/default/metrics.ini @@ -604,7 +604,7 @@ ShowLogo=true LogoX=SCREEN_CENTER_X LogoY=SCREEN_CENTER_Y-68 LogoOnCommand=bob;effectperiod,4;effectmagnitude,0,5.25,0;zoom,0;bounceend,0.35;zoom,0.75 -LogoOffCommand=stopeffect;bouncebegin,0.35;rotationz,360;zoom,0 +LogoOffCommand=stopeffect;bouncebegin,0.35;zoom,0 # ShowCurrentGametype=true CurrentGametypeX=SCREEN_WIDTH*0.01 diff --git a/src/ProductInfo.inc b/src/ProductInfo.inc index d08ad19e51..56c9ce457d 100644 --- a/src/ProductInfo.inc +++ b/src/ProductInfo.inc @@ -9,8 +9,8 @@ !define PRODUCT_DISPLAY "${PRODUCT_ID} ${PRODUCT_VER}" !define PRODUCT_BITMAP "ssc" -!define PRODUCT_URL "http://code.google.com/p/sm-ssc/" -!define UPDATES_URL "http://code.google.com/p/sm-ssc/" +!define PRODUCT_URL "http://www.stepmania.com/" +!define UPDATES_URL "http://www.stepmania.com/" ;!define INSTALL_EXTERNAL_PCKS ;!define INSTALL_INTERNAL_PCKS