More prototype warning stuff.
I know these should be in the .h files, but we can cover that later.
This commit is contained in:
@@ -20,6 +20,9 @@
|
||||
#include "Course.h"
|
||||
#include "NoteData.h"
|
||||
|
||||
float FindFirstDisplayedBeat( const PlayerState* pPlayerState, int iDrawDistanceAfterTargetsPixels );
|
||||
float FindLastDisplayedBeat( const PlayerState* pPlayerState, int iDrawDistanceBeforeTargetsPixels );
|
||||
|
||||
static ThemeMetric<bool> SHOW_BOARD( "NoteField", "ShowBoard" );
|
||||
static ThemeMetric<bool> SHOW_BEAT_BARS( "NoteField", "ShowBeatBars" );
|
||||
static ThemeMetric<float> FADE_BEFORE_TARGETS_PERCENT( "NoteField", "FadeBeforeTargetsPercent" );
|
||||
|
||||
+1
-1
@@ -1328,7 +1328,7 @@ void Player::UpdateHoldNotes( int iSongRow, float fDeltaTime, vector<TrackRowTap
|
||||
{
|
||||
float factor = (tn.subType == TapNote::hold_head_roll ? 2 : 10.0f - 8.5f);
|
||||
factor *= fLifeFraction;
|
||||
m_vKeysounds[tn.iKeysoundIndex].SetProperty ("Volume", max(0.0, min(1.0, factor)));
|
||||
m_vKeysounds[tn.iKeysoundIndex].SetProperty ("Volume", max(0.0f, min(1.0f, factor)));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -12,6 +12,9 @@
|
||||
#include "CommonMetrics.h"
|
||||
#include <float.h>
|
||||
|
||||
void NextFloat( float fValues[], int size );
|
||||
void NextBool( bool bValues[], int size );
|
||||
|
||||
ThemeMetric<float> RANDOM_SPEED_CHANCE ( "PlayerOptions", "RandomSpeedChance" );
|
||||
ThemeMetric<float> RANDOM_REVERSE_CHANCE ( "PlayerOptions", "RandomReverseChance" );
|
||||
ThemeMetric<float> RANDOM_DARK_CHANCE ( "PlayerOptions", "RandomDarkChance" );
|
||||
|
||||
@@ -10,6 +10,9 @@
|
||||
#include "OptionRowHandler.h"
|
||||
#include "PrefsManager.h"
|
||||
|
||||
void PrepareToLoadScreen( const RString &sScreenName );
|
||||
void FinishedLoadingScreen();
|
||||
|
||||
AutoScreenMessage( SM_GoToOK );
|
||||
AutoScreenMessage( SM_GoToCancel );
|
||||
|
||||
|
||||
@@ -72,6 +72,10 @@
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
void ShutdownGame();
|
||||
bool HandleGlobalInputs( const InputEventPlus &input );
|
||||
void HandleInputEvents(float fDeltaTime);
|
||||
|
||||
static Preference<bool> g_bAllowMultipleInstances( "AllowMultipleInstances", false );
|
||||
|
||||
void StepMania::GetPreferredVideoModeParams( VideoModeParams ¶msOut )
|
||||
|
||||
Reference in New Issue
Block a user