[sm130attacks -> sm130futures] Bringing it in.
Help will be needed to make Song Attacks work by default. Yes, that means I want no activated attacks to mean DQ.
This commit is contained in:
@@ -2326,10 +2326,10 @@ Mines,4="mod,attackmines;name,AttackMines"
|
|||||||
# Mines,4="mod,attackmines;name,AttackMines"
|
# Mines,4="mod,attackmines;name,AttackMines"
|
||||||
|
|
||||||
Attacks="3"
|
Attacks="3"
|
||||||
AttacksDefault="mod,no randomattacks,no songattacks"
|
AttacksDefault="mod,songattacks"
|
||||||
Attacks,1="name,Off"
|
Attacks,3="mod,no randomattacks,no songattacks;name,Off"
|
||||||
Attacks,2="mod,randomattacks;name,RandomAttacks"
|
Attacks,2="mod,randomattacks;name,RandomAttacks"
|
||||||
Attacks,3="mod,songattacks;name,SongAttacks"
|
Attacks,1="name,SongAttacks"
|
||||||
|
|
||||||
PlayerAutoPlay="2"
|
PlayerAutoPlay="2"
|
||||||
PlayerAutoPlayDefault="mod,no playerautoplay"
|
PlayerAutoPlayDefault="mod,no playerautoplay"
|
||||||
@@ -3668,7 +3668,7 @@ CancelTransitionsOut=true
|
|||||||
PlayMusic=false
|
PlayMusic=false
|
||||||
TimerSeconds=-1
|
TimerSeconds=-1
|
||||||
ShowStyleIcon=false
|
ShowStyleIcon=false
|
||||||
LineNames="1,2,3,4,5,6,R,7,8,9,10,11,12,13,14,15,16"
|
LineNames="1,2,3,4,5,6,R,7,8,9,10,Attacks,11,12,13,14,15,16"
|
||||||
Line1="list,Speed"
|
Line1="list,Speed"
|
||||||
Line2="list,Accel"
|
Line2="list,Accel"
|
||||||
Line3="list,Effect"
|
Line3="list,Effect"
|
||||||
@@ -3680,6 +3680,7 @@ Line7="list,Scroll"
|
|||||||
Line8="list,NoteSkins"
|
Line8="list,NoteSkins"
|
||||||
Line9="list,Holds"
|
Line9="list,Holds"
|
||||||
Line10="list,Mines"
|
Line10="list,Mines"
|
||||||
|
LineAttacks="list,Attacks"
|
||||||
Line11="list,Hide"
|
Line11="list,Hide"
|
||||||
Line12="list,Persp"
|
Line12="list,Persp"
|
||||||
Line13="list,Assist"
|
Line13="list,Assist"
|
||||||
|
|||||||
@@ -10,6 +10,7 @@
|
|||||||
#include "Song.h"
|
#include "Song.h"
|
||||||
#include "SongManager.h"
|
#include "SongManager.h"
|
||||||
#include "Steps.h"
|
#include "Steps.h"
|
||||||
|
#include "Attack.h"
|
||||||
#include "PrefsManager.h"
|
#include "PrefsManager.h"
|
||||||
|
|
||||||
/** @brief The maximum file size for edits. */
|
/** @brief The maximum file size for edits. */
|
||||||
|
|||||||
@@ -11,6 +11,7 @@
|
|||||||
#include "Song.h"
|
#include "Song.h"
|
||||||
#include "SongManager.h"
|
#include "SongManager.h"
|
||||||
#include "Steps.h"
|
#include "Steps.h"
|
||||||
|
#include "Attack.h"
|
||||||
#include "PrefsManager.h"
|
#include "PrefsManager.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -135,6 +135,19 @@ static void WriteGlobalTags( RageFile &f, const Song &out )
|
|||||||
}
|
}
|
||||||
f.PutLine( ";" );
|
f.PutLine( ";" );
|
||||||
|
|
||||||
|
f.Write( "#ATTACKS:" );
|
||||||
|
for( unsigned j = 0; j < out.m_Attacks.size(); j++ )
|
||||||
|
{
|
||||||
|
const Attack &a = out.m_Attacks[j];
|
||||||
|
f.Write( ssprintf( "TIME=%.2f:LEN=%.2f:MODS=%s",
|
||||||
|
a.fStartSecond, a.fSecsRemaining, a.sModifiers.c_str() ) );
|
||||||
|
|
||||||
|
if( j+1 < out.m_Attacks.size() )
|
||||||
|
f.Write( ":" );
|
||||||
|
f.PutLine( "" );
|
||||||
|
}
|
||||||
|
f.PutLine( ";" );
|
||||||
|
|
||||||
f.Write( "#DELAYS:" );
|
f.Write( "#DELAYS:" );
|
||||||
for( unsigned i=0; i<out.m_Timing.m_StopSegments.size(); i++ )
|
for( unsigned i=0; i<out.m_Timing.m_StopSegments.size(); i++ )
|
||||||
{
|
{
|
||||||
|
|||||||
+1
-1
@@ -41,7 +41,7 @@
|
|||||||
* @brief The internal version of the cache for StepMania.
|
* @brief The internal version of the cache for StepMania.
|
||||||
*
|
*
|
||||||
* Increment this value to invalidate the current cache. */
|
* Increment this value to invalidate the current cache. */
|
||||||
const int FILE_CACHE_VERSION = 171;
|
const int FILE_CACHE_VERSION = 170;
|
||||||
|
|
||||||
/** @brief How long does a song sample last by default? */
|
/** @brief How long does a song sample last by default? */
|
||||||
const float DEFAULT_MUSIC_SAMPLE_LENGTH = 12.f;
|
const float DEFAULT_MUSIC_SAMPLE_LENGTH = 12.f;
|
||||||
|
|||||||
Reference in New Issue
Block a user