More prototype warning stuff.

I know these should be in the .h files,
but we can cover that later.
This commit is contained in:
Jason Felds
2011-06-12 19:20:43 -04:00
parent e965e0b3e4
commit c3c8753620
5 changed files with 14 additions and 1 deletions
+3
View File
@@ -20,6 +20,9 @@
#include "Course.h" #include "Course.h"
#include "NoteData.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_BOARD( "NoteField", "ShowBoard" );
static ThemeMetric<bool> SHOW_BEAT_BARS( "NoteField", "ShowBeatBars" ); static ThemeMetric<bool> SHOW_BEAT_BARS( "NoteField", "ShowBeatBars" );
static ThemeMetric<float> FADE_BEFORE_TARGETS_PERCENT( "NoteField", "FadeBeforeTargetsPercent" ); static ThemeMetric<float> FADE_BEFORE_TARGETS_PERCENT( "NoteField", "FadeBeforeTargetsPercent" );
+1 -1
View File
@@ -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); float factor = (tn.subType == TapNote::hold_head_roll ? 2 : 10.0f - 8.5f);
factor *= fLifeFraction; 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)));
} }
} }
+3
View File
@@ -12,6 +12,9 @@
#include "CommonMetrics.h" #include "CommonMetrics.h"
#include <float.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_SPEED_CHANCE ( "PlayerOptions", "RandomSpeedChance" );
ThemeMetric<float> RANDOM_REVERSE_CHANCE ( "PlayerOptions", "RandomReverseChance" ); ThemeMetric<float> RANDOM_REVERSE_CHANCE ( "PlayerOptions", "RandomReverseChance" );
ThemeMetric<float> RANDOM_DARK_CHANCE ( "PlayerOptions", "RandomDarkChance" ); ThemeMetric<float> RANDOM_DARK_CHANCE ( "PlayerOptions", "RandomDarkChance" );
+3
View File
@@ -10,6 +10,9 @@
#include "OptionRowHandler.h" #include "OptionRowHandler.h"
#include "PrefsManager.h" #include "PrefsManager.h"
void PrepareToLoadScreen( const RString &sScreenName );
void FinishedLoadingScreen();
AutoScreenMessage( SM_GoToOK ); AutoScreenMessage( SM_GoToOK );
AutoScreenMessage( SM_GoToCancel ); AutoScreenMessage( SM_GoToCancel );
+4
View File
@@ -72,6 +72,10 @@
#include <windows.h> #include <windows.h>
#endif #endif
void ShutdownGame();
bool HandleGlobalInputs( const InputEventPlus &input );
void HandleInputEvents(float fDeltaTime);
static Preference<bool> g_bAllowMultipleInstances( "AllowMultipleInstances", false ); static Preference<bool> g_bAllowMultipleInstances( "AllowMultipleInstances", false );
void StepMania::GetPreferredVideoModeParams( VideoModeParams &paramsOut ) void StepMania::GetPreferredVideoModeParams( VideoModeParams &paramsOut )