From 0bc2c2026866261071c1c67c1ec4fe19f0fbf237 Mon Sep 17 00:00:00 2001 From: Jason Felds Date: Tue, 14 Jun 2011 13:51:26 -0400 Subject: [PATCH] More attempts at warning-free code. --- src/GameCommand.h | 3 +++ src/OptionRow.h | 3 +++ src/ScreenDebugOverlay.h | 3 +++ src/StatsManager.cpp | 2 ++ src/StatsManager.h | 1 + 5 files changed, 12 insertions(+) diff --git a/src/GameCommand.h b/src/GameCommand.h index 8cd135dde4..50f9ae5050 100644 --- a/src/GameCommand.h +++ b/src/GameCommand.h @@ -19,6 +19,9 @@ class Style; class Game; struct lua_State; +int GetNumCreditsPaid(); +int GetCreditsRequiredToPlayStyle( const Style *style ); + class GameCommand { public: diff --git a/src/OptionRow.h b/src/OptionRow.h index c2ef9fac4f..6ca653f88e 100644 --- a/src/OptionRow.h +++ b/src/OptionRow.h @@ -14,6 +14,9 @@ class OptionRowHandler; class GameCommand; struct OptionRowDefinition; +RString ITEMS_LONG_ROW_X_NAME( size_t p ); +RString MOD_ICON_X_NAME( size_t p ); + class OptionRowType { public: diff --git a/src/ScreenDebugOverlay.h b/src/ScreenDebugOverlay.h index 0dc03f3c1a..bd06795c84 100644 --- a/src/ScreenDebugOverlay.h +++ b/src/ScreenDebugOverlay.h @@ -7,6 +7,9 @@ #include "BitmapText.h" #include "Quad.h" +void ChangeVolume( float fDelta ); +void ChangeVisualDelay( float fDelta ); + class ScreenDebugOverlay : public Screen { public: diff --git a/src/StatsManager.cpp b/src/StatsManager.cpp index 96e91409a5..cd572dbf5a 100644 --- a/src/StatsManager.cpp +++ b/src/StatsManager.cpp @@ -16,6 +16,8 @@ StatsManager* STATSMAN = NULL; // global object accessable from anywhere in the program +void AddPlayerStatsToProfile( Profile *pProfile, const StageStats &ss, PlayerNumber pn ); +XNode* MakeRecentScoreNode( const StageStats &ss, Trail *pTrail, const PlayerStageStats &pss, MultiPlayer mp ); StatsManager::StatsManager() { diff --git a/src/StatsManager.h b/src/StatsManager.h index da7e869010..0b9b812e9b 100644 --- a/src/StatsManager.h +++ b/src/StatsManager.h @@ -2,6 +2,7 @@ #define StatsManager_H #include "StageStats.h" + /** @brief Managed non-persisted statistics. */ class StatsManager {