[default -> timing] Bring up to date for test.

This commit is contained in:
Jason Felds
2011-07-17 10:54:42 -04:00
20 changed files with 75 additions and 29 deletions
+6 -6
View File
@@ -39,17 +39,17 @@ WeightW2=30
WeightW1=50 WeightW1=50
[Skill5] [Skill5]
WeightMiss=8 WeightMiss=2
WeightW5=1 WeightW5=3
WeightW4=1 WeightW4=5
WeightW3=5 WeightW3=5
WeightW2=30 WeightW2=30
WeightW1=55 WeightW1=55
[Skill6] [Skill6]
WeightMiss=8 WeightMiss=2
WeightW5=1 WeightW5=3
WeightW4=1 WeightW4=5
WeightW3=5 WeightW3=5
WeightW2=30 WeightW2=30
WeightW1=55 WeightW1=55
Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.5 KiB

After

Width:  |  Height:  |  Size: 9.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 766 B

After

Width:  |  Height:  |  Size: 466 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 51 KiB

After

Width:  |  Height:  |  Size: 51 KiB

+1 -1
View File
@@ -372,7 +372,7 @@ MaxTextureResolution=Choose the maximum texture resolution. Setting this to any
MenuTimer=When &oq;ON&cq;, menus have a time limit. MenuTimer=When &oq;ON&cq;, menus have a time limit.
Mines=Mines Mines=Mines
MoveRandomToEnd=Determines if courses with random songs should be placed at the end of the course select wheel. MoveRandomToEnd=Determines if courses with random songs should be placed at the end of the course select wheel.
MovieColorDepth=Choose the color depth of textures. 32 bit textures use more memory, but look nicer. MovieColorDepth=Choose the color depth of movies. 32 bit textures use more memory, but look nicer.
MusicWheelSwitchSpeed=Adjusts the speed of the music wheel. MusicWheelSwitchSpeed=Adjusts the speed of the music wheel.
MusicWheelUsesSections=&oq;Always&cq; means sections in group + ABC; &oq;Never&cq; means no sections; &oq;Title Only&cq; shows sections in ABC order. MusicWheelUsesSections=&oq;Always&cq; means sections in group + ABC; &oq;Never&cq; means no sections; &oq;Title Only&cq; shows sections in ABC order.
Network Options=Connect to a server or change server options. Network Options=Connect to a server or change server options.
+5 -1
View File
@@ -187,7 +187,11 @@ function HoldTiming()
end end
function ShowHoldJudgments() function ShowHoldJudgments()
return not GAMESTATE:GetCurrentGame():GetName() == "pump" if GAMESTATE:GetCurrentGame():GetName() == "pump" then
return false
else
return true
end
end end
function HoldHeadStep() function HoldHeadStep()
+3 -1
View File
@@ -28,7 +28,7 @@ ScreenHeight=480
AutoSetStyle=GetUserPrefB("UserPrefAutoSetStyle") AutoSetStyle=GetUserPrefB("UserPrefAutoSetStyle")
# Default modifiers and noteskin. # Default modifiers and noteskin.
DefaultModifiers="" DefaultModifiers="1x"
DefaultNoteSkinName="default" DefaultNoteSkinName="default"
# Difficulties to show. Useful for custom games where you want to hide these. # Difficulties to show. Useful for custom games where you want to hide these.
@@ -200,6 +200,8 @@ DrunkOffsetFrequency=10
DrunkArrowMagnitude=0.5 DrunkArrowMagnitude=0.5
BeatOffsetHeight=15 BeatOffsetHeight=15
BeatPIHeight=2 BeatPIHeight=2
MiniPercentBase=0.5
MiniPercentGate=1
TinyPercentBase=0.5 TinyPercentBase=0.5
TinyPercentGate=1 TinyPercentGate=1
DizzyHoldHeads=false DizzyHoldHeads=false
+41 -4
View File
@@ -52,8 +52,16 @@
SetDateSave on ; (can be on to have files restored to their orginal date) SetDateSave on ; (can be on to have files restored to their orginal date)
; I think it may need actual admin privs for writing to the registry... -aj ; I think it may need actual admin privs for writing to the registry... -aj
; RequestExecutionLevel user ;RequestExecutionLevel user
; this folder may not be the best idea for Windows Vista/7. -aj
;GetVersion::WindowsServicePackMajor
;Pop $R0
;${If} $R0 >= 6
; vista & 7
;${Else}
; xp and below
;${EndIf}
InstallDir "$PROGRAMFILES\${PRODUCT_ID}" InstallDir "$PROGRAMFILES\${PRODUCT_ID}"
InstallDirRegKey HKEY_LOCAL_MACHINE "SOFTWARE\${PRODUCT_ID}" "" InstallDirRegKey HKEY_LOCAL_MACHINE "SOFTWARE\${PRODUCT_ID}" ""
@@ -846,8 +854,37 @@ Section "Uninstall"
RMDir "$INSTDIR" ; will delete only if empty RMDir "$INSTDIR" ; will delete only if empty
SetShellVarContext current SetShellVarContext current
Delete "$DESKTOP\Play StepMania CVS.lnk"
Delete "$DESKTOP\${PRODUCT_DISPLAY}.lnk" ; kill shortcuts
!ifdef MAKE_DESKTOP_SHORTCUT
Delete "$DESKTOP\$(TEXT_IO_RUN).lnk"
!endif
!ifdef MAKE_DESKTOP_SHORTCUT
Delete "$DESKTOP\$(TEXT_IO_RUN).lnk"
!endif
Delete "$SMPROGRAMS\${PRODUCT_ID}\$(TEXT_IO_RUN).lnk"
Delete "$SMPROGRAMS\${PRODUCT_ID}\$(TEXT_IO_RUN_WITHOUT_SSE2).lnk"
!ifdef MAKE_OPEN_PROGRAM_FOLDER_SHORTCUT
Delete "$SMPROGRAMS\${PRODUCT_ID}\$(TEXT_IO_OPEN_PROGRAM_FOLDER).lnk"
!endif
!ifdef MAKE_OPEN_SETTINGS_FOLDER_SHORTCUT
Delete "$SMPROGRAMS\${PRODUCT_ID}\$(TEXT_IO_OPEN_SETTINGS_FOLDER).lnk"
!endif
;Delete "$SMPROGRAMS\${PRODUCT_ID}\$(TEXT_IO_VIEW_STATISTICS).lnk"
;Delete "$SMPROGRAMS\${PRODUCT_ID}\$(TEXT_IO_TOOLS).lnk"
Delete "$SMPROGRAMS\${PRODUCT_ID}\$(TEXT_IO_MANUAL).lnk"
Delete "$SMPROGRAMS\${PRODUCT_ID}\$(TEXT_IO_UNINSTALL).lnk"
Delete "$SMPROGRAMS\${PRODUCT_ID}\$(TEXT_IO_WEB_SITE).lnk"
Delete "$SMPROGRAMS\${PRODUCT_ID}\$(TEXT_IO_TEXTURE_FONT_GENERATOR).lnk"
!ifdef MAKE_UPDATES_SHORTCUT
Delete "$SMPROGRAMS\${PRODUCT_ID}\$(TEXT_IO_CHECK_FOR_UPDATES).lnk"
!endif
Delete "$INSTDIR\${PRODUCT_ID}.lnk"
Delete "$INSTDIR\${PRODUCT_ID} (non-SSE2).lnk"
; I'm being paranoid here: ; I'm being paranoid here:
Delete "$SMPROGRAMS\${PRODUCT_ID}\*.*" Delete "$SMPROGRAMS\${PRODUCT_ID}\*.*"
RMDir "$SMPROGRAMS\${PRODUCT_ID}" RMDir "$SMPROGRAMS\${PRODUCT_ID}"
+8 -8
View File
@@ -2965,12 +2965,12 @@ void Player::CrossedRows( int iLastRowCrossed, const RageTimer &now )
if( iCheckpointFrequencyRows > 0 ) if( iCheckpointFrequencyRows > 0 )
{ {
// "the first row after the start of the range that lands on a beat" // "the first row after the start of the range that lands on a beat"
int iFirstCheckpointInRange = QuantizeUp(m_iFirstUncrossedRow, int iFirstCheckpointInRange = ((m_iFirstUncrossedRow+iCheckpointFrequencyRows-1)
iCheckpointFrequencyRows); /iCheckpointFrequencyRows) * iCheckpointFrequencyRows;
// "the last row or first row earlier that lands on a beat" // "the last row or first row earlier that lands on a beat"
int iLastCheckpointInRange = QuantizeDown(iLastRowCrossed, int iLastCheckpointInRange = ((iLastRowCrossed)/iCheckpointFrequencyRows)
iCheckpointFrequencyRows); * iCheckpointFrequencyRows;
for( int r = iFirstCheckpointInRange; r <= iLastCheckpointInRange; r += iCheckpointFrequencyRows ) for( int r = iFirstCheckpointInRange; r <= iLastCheckpointInRange; r += iCheckpointFrequencyRows )
{ {
@@ -2992,12 +2992,12 @@ void Player::CrossedRows( int iLastRowCrossed, const RageTimer &now )
int iTrack = nIter.Track(); int iTrack = nIter.Track();
// "the first row after the hold head that lands on a beat" // "the first row after the hold head that lands on a beat"
int iFirstCheckpointOfHold = QuantizeUp(iStartRow, int iFirstCheckpointOfHold = ((iStartRow+iCheckpointFrequencyRows)/iCheckpointFrequencyRows)
iCheckpointFrequencyRows); * iCheckpointFrequencyRows;
// "the end row or the first earlier row that lands on a beat" // "the end row or the first earlier row that lands on a beat"
int iLastCheckpointOfHold = QuantizeDown(iEndRow, int iLastCheckpointOfHold = ((iEndRow)/iCheckpointFrequencyRows)
iCheckpointFrequencyRows); * iCheckpointFrequencyRows;
// count the end of the hold as a checkpoint // count the end of the hold as a checkpoint
bool bHoldOverlapsRow = iFirstCheckpointOfHold <= r && r <= iLastCheckpointOfHold; bool bHoldOverlapsRow = iFirstCheckpointOfHold <= r && r <= iLastCheckpointOfHold;
+2 -3
View File
@@ -11,7 +11,6 @@
// main page (group list) // main page (group list)
REGISTER_SCREEN_CLASS( ScreenOptionsToggleSongs ); REGISTER_SCREEN_CLASS( ScreenOptionsToggleSongs );
REGISTER_SCREEN_CLASS( ScreenOptionsToggleSongsSubPage );
void ScreenOptionsToggleSongs::BeginScreen() void ScreenOptionsToggleSongs::BeginScreen()
{ {
@@ -49,8 +48,7 @@ void ScreenOptionsToggleSongs::ProcessMenuStart( const InputEventPlus &input )
// switch to the subpage with the specified group // switch to the subpage with the specified group
int iRow = GetCurrentRow(); int iRow = GetCurrentRow();
OptionRow &row = *m_pRows[iRow]; if( m_pRows[iRow]->GetRowType() == OptionRow::RowType_Exit )
if( row.GetRowType() == OptionRow::RowType_Exit )
{ {
ScreenOptions::ProcessMenuStart( input ); ScreenOptions::ProcessMenuStart( input );
return; return;
@@ -70,6 +68,7 @@ void ScreenOptionsToggleSongs::ExportOptions( int row, const vector<PlayerNumber
} }
// subpage (has the songs in a specific group) // subpage (has the songs in a specific group)
REGISTER_SCREEN_CLASS( ScreenOptionsToggleSongsSubPage );
void ScreenOptionsToggleSongsSubPage::BeginScreen() void ScreenOptionsToggleSongsSubPage::BeginScreen()
{ {
m_apSongs.clear(); m_apSongs.clear();
+4
View File
@@ -242,10 +242,14 @@ void StatsManager::CommitStatsToProfiles( const StageStats *pSS )
pPlayerProfile->m_iNumTotalSongsPlayed += pSS->m_vpPlayedSongs.size(); pPlayerProfile->m_iNumTotalSongsPlayed += pSS->m_vpPlayedSongs.size();
} }
LOG->Trace("Adding stats to machine profile...");
AddPlayerStatsToProfile( pMachineProfile, *pSS, pn ); AddPlayerStatsToProfile( pMachineProfile, *pSS, pn );
if( pPlayerProfile ) if( pPlayerProfile )
{
LOG->Trace("Adding stats to player profile...");
AddPlayerStatsToProfile( pPlayerProfile, *pSS, pn ); AddPlayerStatsToProfile( pPlayerProfile, *pSS, pn );
}
CHECKPOINT; CHECKPOINT;
} }
+1 -1
View File
@@ -2,7 +2,7 @@
<VisualStudioProject <VisualStudioProject
ProjectType="Visual C++" ProjectType="Visual C++"
Version="9.00" Version="9.00"
Name="sm-ssc" Name="StepMania"
ProjectGUID="{AF209DBD-24BD-4356-8DFE-41751B221195}" ProjectGUID="{AF209DBD-24BD-4356-8DFE-41751B221195}"
RootNamespace="StepMania" RootNamespace="StepMania"
Keyword="MFCProj" Keyword="MFCProj"
+1 -1
View File
@@ -19,7 +19,7 @@
</ProjectConfiguration> </ProjectConfiguration>
</ItemGroup> </ItemGroup>
<PropertyGroup Label="Globals"> <PropertyGroup Label="Globals">
<ProjectName>sm-ssc</ProjectName> <ProjectName>StepMania</ProjectName>
<ProjectGuid>{AF209DBD-24BD-4356-8DFE-41751B221195}</ProjectGuid> <ProjectGuid>{AF209DBD-24BD-4356-8DFE-41751B221195}</ProjectGuid>
<RootNamespace>StepMania</RootNamespace> <RootNamespace>StepMania</RootNamespace>
<Keyword>MFCProj</Keyword> <Keyword>MFCProj</Keyword>
+1 -1
View File
@@ -1106,7 +1106,7 @@ int main(int argc, char* argv[])
STATSMAN = new StatsManager; STATSMAN = new StatsManager;
// Initialize which courses are ranking courses here. // Initialize which courses are ranking courses here.
pLoadingWindow->SetText("Updating cource rankings..."); pLoadingWindow->SetText("Updating course rankings...");
SONGMAN->UpdateRankingCourses(); SONGMAN->UpdateRankingCourses();
SAFE_DELETE( pLoadingWindow ); // destroy this before init'ing Display SAFE_DELETE( pLoadingWindow ); // destroy this before init'ing Display
+1 -1
View File
@@ -356,7 +356,7 @@ struct ComboSegment : public TimingSegment
* It is best to override the values as soon as possible. * It is best to override the values as soon as possible.
*/ */
ComboSegment() : ComboSegment() :
TimingSegment(-1), combo(1) { } TimingSegment(-1), combo(1), missCombo(1) { }
ComboSegment(const ComboSegment &other) : ComboSegment(const ComboSegment &other) :
TimingSegment(other.GetRow()), TimingSegment(other.GetRow()),