massive header file comment updating (top line only; some didn't have it before)

This commit is contained in:
AJ Kelly
2010-09-10 16:37:04 -05:00
parent 377d559413
commit 8f3791b99a
42 changed files with 86 additions and 55 deletions
+1
View File
@@ -1,3 +1,4 @@
/* ActiveAttackList - Shows currently active player modifiers during gameplay. */
#ifndef ACTIVE_ATTACK_LIST_H #ifndef ACTIVE_ATTACK_LIST_H
#define ACTIVE_ATTACK_LIST_H #define ACTIVE_ATTACK_LIST_H
+1 -1
View File
@@ -1,4 +1,4 @@
/* ActorMultiTexture - A bitmap Actor that animates and moves around. */ /* ActorMultiTexture - A texture created from multiple textures. */
#ifndef ACTOR_MULTI_TEXTURE_H #ifndef ACTOR_MULTI_TEXTURE_H
#define ACTOR_MULTI_TEXTURE_H #define ACTOR_MULTI_TEXTURE_H
+10 -12
View File
@@ -1,12 +1,11 @@
/* AdjustSync - Allows for adjusting the sync of a song. */
#ifndef AdjustSync_H #ifndef AdjustSync_H
#define AdjustSync_H #define AdjustSync_H
/* /* This class defines two ways of adjusting the sync of a song.
* This class defines two ways of adjusting the sync of a song. * The first adjusts only the offset, "on the fly". It can adjust either the
* The first adjusts only the offset, "on the fly". It can adjust * song itself or the machine. The other style adjusts both the BPM and the
* either the song itself or the machine. The other style adjusts * offset of the song, but it needs more data. */
* both the BPM and the offset of the song, but it needs more data.
*/
class TimingData; class TimingData;
@@ -15,12 +14,11 @@ class AdjustSync
public: public:
static TimingData *s_pTimingDataOriginal; static TimingData *s_pTimingDataOriginal;
static float s_fGlobalOffsetSecondsOriginal; static float s_fGlobalOffsetSecondsOriginal;
/* /* We only want to call the Reset methods before a song, not immediately after
* We only want to call the Reset methods before a song, not immediately after a song. * a song. If we reset it at the end of a song, we have to carefully check
* If we reset it at the end of a song, we have to carefully check the logic to make * the logic to make sure we never reset it before the user gets a chance to
* sure we never reset it before the user gets a chance to save or revert the change. * save or revert the change. Resetting at the start of the song is
* Resetting at the start of the song is sufficient. * sufficient. */
*/
static void ResetOriginalSyncData(); static void ResetOriginalSyncData();
static void ResetAutosync(); static void ResetAutosync();
static bool IsSyncDataChanged(); static bool IsSyncDataChanged();
+1 -3
View File
@@ -10,7 +10,7 @@ class ArrowEffects
public: public:
static void Update(); static void Update();
// fYOffset is a vertical position in pixels relative to the center. // fYOffset is a vertical position in pixels relative to the center
// (positive if has not yet been stepped on, negative if has already passed). // (positive if has not yet been stepped on, negative if has already passed).
// The ArrowEffect and ScrollSpeed is applied in this stage. // The ArrowEffect and ScrollSpeed is applied in this stage.
static float GetYOffset( const PlayerState* pPlayerState, int iCol, float fNoteBeat, float &fPeakYOffsetOut, bool &bIsPastPeakYOffset, bool bAbsolute=false ); static float GetYOffset( const PlayerState* pPlayerState, int iCol, float fNoteBeat, float &fPeakYOffsetOut, bool &bIsPastPeakYOffset, bool bAbsolute=false );
@@ -54,12 +54,10 @@ public:
// AppearanceType. // AppearanceType.
static float GetAlpha( const PlayerState* pPlayerState, int iCol, float fYPos, float fPercentFadeToFail, float fYReverseOffsetPixels, float fDrawDistanceBeforeTargetsPixels, float fFadeInPercentOfDrawFar ); static float GetAlpha( const PlayerState* pPlayerState, int iCol, float fYPos, float fPercentFadeToFail, float fYReverseOffsetPixels, float fDrawDistanceBeforeTargetsPixels, float fFadeInPercentOfDrawFar );
// fAlpha is the transparency of the arrow. It depends on fYPos and the // fAlpha is the transparency of the arrow. It depends on fYPos and the
// AppearanceType. // AppearanceType.
static float GetGlow( const PlayerState* pPlayerState, int iCol, float fYPos, float fPercentFadeToFail, float fYReverseOffsetPixels, float fDrawDistanceBeforeTargetsPixels, float fFadeInPercentOfDrawFar ); static float GetGlow( const PlayerState* pPlayerState, int iCol, float fYPos, float fPercentFadeToFail, float fYReverseOffsetPixels, float fDrawDistanceBeforeTargetsPixels, float fFadeInPercentOfDrawFar );
// Depends on fYOffset. // Depends on fYOffset.
static float GetBrightness( const PlayerState* pPlayerState, float fNoteBeat ); static float GetBrightness( const PlayerState* pPlayerState, float fNoteBeat );
+1
View File
@@ -1,3 +1,4 @@
/* AttackDisplay - A graphical display for attacks. */
#ifndef AttackDisplay_H #ifndef AttackDisplay_H
#define AttackDisplay_H #define AttackDisplay_H
+1 -1
View File
@@ -1,4 +1,4 @@
/* AutoKeysounds - handle playback of auto keysounds notes. */ /* AutoKeysounds - handle playback of auto keysound notes. */
#ifndef AUTO_KEYSOUNDS_H #ifndef AUTO_KEYSOUNDS_H
#define AUTO_KEYSOUNDS_H #define AUTO_KEYSOUNDS_H
+1 -1
View File
@@ -1,4 +1,4 @@
/* Banner - The song's banner displayed in SelectSong. */ /* Banner - The song/course's banner displayed in SelectMusic/Course. */
#ifndef BANNER_H #ifndef BANNER_H
#define BANNER_H #define BANNER_H
+1
View File
@@ -1,3 +1,4 @@
/* BeginnerHelper - A dancing character that follows the steps of the song. */
#ifndef BEGINNER_HELPER_H #ifndef BEGINNER_HELPER_H
#define BEGINNER_HELPER_H #define BEGINNER_HELPER_H
+1 -1
View File
@@ -1,4 +1,4 @@
/* CharacterManager - Manage characters... */ /* CharacterManager - Manage characters. */
#ifndef CHARACTER_MANAGER_H #ifndef CHARACTER_MANAGER_H
#define CHARACTER_MANAGER_H #define CHARACTER_MANAGER_H
+1
View File
@@ -1,3 +1,4 @@
/* ComboGraph - A bar displaying the player's combo on Evaluation. */
#ifndef COMBO_GRAPH_H #ifndef COMBO_GRAPH_H
#define COMBO_GRAPH_H #define COMBO_GRAPH_H
+1 -1
View File
@@ -1,4 +1,4 @@
/* Definitions of metrics that are in the "Common" group */ /* CommonMetrics - Definitions of metrics that are in the "Common" group */
#ifndef COMMON_METRICS_H #ifndef COMMON_METRICS_H
#define COMMON_METRICS_H #define COMMON_METRICS_H
+1
View File
@@ -1,3 +1,4 @@
/* StepsDisplayList - Shows all available difficulties for a Song/Course. */
#ifndef DIFFICULTY_LIST_H #ifndef DIFFICULTY_LIST_H
#define DIFFICULTY_LIST_H #define DIFFICULTY_LIST_H
+2
View File
@@ -122,10 +122,12 @@ private:
ThemeMetric1D<float> ARROWS_X; ThemeMetric1D<float> ARROWS_X;
ThemeMetric<apActorCommands> ARROWS_ENABLED_COMMAND; ThemeMetric<apActorCommands> ARROWS_ENABLED_COMMAND;
ThemeMetric<apActorCommands> ARROWS_DISABLED_COMMAND; ThemeMetric<apActorCommands> ARROWS_DISABLED_COMMAND;
// todo: remove these next 4 metrics in favor of commands -aj
ThemeMetric<float> SONG_BANNER_WIDTH; ThemeMetric<float> SONG_BANNER_WIDTH;
ThemeMetric<float> SONG_BANNER_HEIGHT; ThemeMetric<float> SONG_BANNER_HEIGHT;
ThemeMetric<float> GROUP_BANNER_WIDTH; ThemeMetric<float> GROUP_BANNER_WIDTH;
ThemeMetric<float> GROUP_BANNER_HEIGHT; ThemeMetric<float> GROUP_BANNER_HEIGHT;
// </todo>
ThemeMetric<float> ROW_LABELS_X; ThemeMetric<float> ROW_LABELS_X;
ThemeMetric<apActorCommands> ROW_LABEL_ON_COMMAND; ThemeMetric<apActorCommands> ROW_LABEL_ON_COMMAND;
ThemeMetric1D<float> ROW_VALUE_X; ThemeMetric1D<float> ROW_VALUE_X;
+1
View File
@@ -1,3 +1,4 @@
/* FontCharAliases - Provides support for nonstandard characters in text. */
#ifndef FONT_CHAR_ALIASES #ifndef FONT_CHAR_ALIASES
#define FONT_CHAR_ALIASES #define FONT_CHAR_ALIASES
+1
View File
@@ -1,3 +1,4 @@
/* FontCharmaps - Defines common frame to character mappings for Fonts. */
#ifndef FONT_CHARMAPS_H #ifndef FONT_CHARMAPS_H
#define FONT_CHARMAPS_H #define FONT_CHARMAPS_H
+1
View File
@@ -1,3 +1,4 @@
/* Foreground - Foreground in front of notes while playing. */
#ifndef FOREGROUND_H #ifndef FOREGROUND_H
#define FOREGROUND_H #define FOREGROUND_H
+4 -4
View File
@@ -11,16 +11,16 @@ class Style;
// PrimaryMenuButton and SecondaryMenuButton are used to support using // PrimaryMenuButton and SecondaryMenuButton are used to support using
// DeviceInputs that only navigate the menus. // DeviceInputs that only navigate the menus.
//
// A button being a primary menu button means that this GameButton will generate // A button being a primary menu button means that this GameButton will generate
// a the corresponding MenuInput IF AND ONLY IF the GameButton corresponding to // a the corresponding MenuInput IF AND ONLY IF the GameButton corresponding to
// the pimary input is not mapped. // the pimary input is not mapped.
//
// Example 1: A user is using an arcade machine as their controller. Most // Example 1: A user is using an arcade machine as their controller. Most
// machines have MenuLeft, MenuStart, and MenuRight buttons on the cabinet, so // machines have MenuLeft, MenuStart, and MenuRight buttons on the cabinet, so
// they should be used to navigate menus. The user will map these DeviceInputs // they should be used to navigate menus. The user will map these DeviceInputs
// to the GameButtons "MenuLeft (optional)", "MenuStart", and "MenuRight (optional)". // to the GameButtons "MenuLeft (optional)", "MenuStart", and "MenuRight (optional)".
//
// Example 2: A user is using PlayStation dance pads to play. These controllers // Example 2: A user is using PlayStation dance pads to play. These controllers
// don't have dedicated DeviceInputs for MenuLeft and MenuRight. The user maps // don't have dedicated DeviceInputs for MenuLeft and MenuRight. The user maps
// Up, Down, Left, and Right as normal. Since the Left and Right GameButtons // Up, Down, Left, and Right as normal. Since the Left and Right GameButtons
@@ -41,7 +41,7 @@ public:
{ {
GameButtonType m_gbt; GameButtonType m_gbt;
}; };
/* Data for each Game-specific GameButton. This starts at GAME_BUTTON_NEXT. */ // Data for each Game-specific GameButton. This starts at GAME_BUTTON_NEXT.
PerButtonInfo m_PerButtonInfo[NUM_GameButton]; PerButtonInfo m_PerButtonInfo[NUM_GameButton];
const PerButtonInfo *GetPerButtonInfo( GameButton gb ) const; const PerButtonInfo *GetPerButtonInfo( GameButton gb ) const;
+1
View File
@@ -1,3 +1,4 @@
/* GraphDisplay - A graph of the player's life over the course of Gameplay, used on Evaluation. */
#ifndef GRAPH_DISPLAY_H #ifndef GRAPH_DISPLAY_H
#define GRAPH_DISPLAY_H #define GRAPH_DISPLAY_H
+1 -1
View File
@@ -1,4 +1,4 @@
/* GrooveRadar - The song's GrooveRadar displayed in SelectSong. */ /* GrooveRadar - The song's GrooveRadar displayed in SelectMusic. */
#ifndef GROOVE_RADAR_H #ifndef GROOVE_RADAR_H
#define GROOVE_RADAR_H #define GROOVE_RADAR_H
+1
View File
@@ -1,3 +1,4 @@
/* GroupList - Displays a list of groups for SelectGroup. (An old holdover.) */
#ifndef GROUP_LIST_H #ifndef GROUP_LIST_H
#define GROUP_LIST_H #define GROUP_LIST_H
+2
View File
@@ -1,3 +1,5 @@
/* LifeMeterBar - The player's life represented as a bar. */
#ifndef LIFEMETERBAR_H #ifndef LIFEMETERBAR_H
#define LIFEMETERBAR_H #define LIFEMETERBAR_H
+1 -1
View File
@@ -1,4 +1,4 @@
/* LifeMeterTime - Battery life meter used in Oni. */ /* LifeMeterTime - Battery life meter used in Survival. */
#ifndef LifeMeterTime_H #ifndef LifeMeterTime_H
#define LifeMeterTime_H #define LifeMeterTime_H
+1
View File
@@ -1,4 +1,5 @@
/* LyricDisplay - Displays lyrics along with the song on Gameplay. */ /* LyricDisplay - Displays lyrics along with the song on Gameplay. */
#ifndef LYRIC_DISPLAY_H #ifndef LYRIC_DISPLAY_H
#define LYRIC_DISPLAY_H #define LYRIC_DISPLAY_H
+2
View File
@@ -1,3 +1,5 @@
/* MemoryCardDisplay - A graphic displaying the state of memory cards. */
#ifndef MEMORY_CARD_DISPLAY_H #ifndef MEMORY_CARD_DISPLAY_H
#define MEMORY_CARD_DISPLAY_H #define MEMORY_CARD_DISPLAY_H
+6 -1
View File
@@ -1,4 +1,5 @@
/* MeterDisplay - */ /* MeterDisplay - Display position in a song. */
#ifndef METER_DISPLAY_H #ifndef METER_DISPLAY_H
#define METER_DISPLAY_H #define METER_DISPLAY_H
@@ -15,6 +16,10 @@ public:
virtual MeterDisplay *Copy() const; virtual MeterDisplay *Copy() const;
void SetPercent( float fPercent ); void SetPercent( float fPercent );
void SetStreamWidth( float fStreamWidth );
// Lua
void PushSelf( lua_State *L );
private: private:
float m_fStreamWidth; float m_fStreamWidth;
+1 -1
View File
@@ -1,4 +1,4 @@
/* MusicList - now an artifact from ScreenSelectGroup. */ /* MusicList - Displays all the songs in a given group. (An artifact from SelectGroup.) */
#ifndef MUSIC_LIST_H #ifndef MUSIC_LIST_H
#define MUSIC_LIST_H #define MUSIC_LIST_H
+1 -1
View File
@@ -1,4 +1,4 @@
/* MusicWheelItem - An item on the music wheel. */ /* MusicWheelItem - An item on the MusicWheel. */
#ifndef MUSIC_WHEEL_ITEM_H #ifndef MUSIC_WHEEL_ITEM_H
#define MUSIC_WHEEL_ITEM_H #define MUSIC_WHEEL_ITEM_H
+1 -1
View File
@@ -1,4 +1,4 @@
/* BMSLoader - reads a Song from a set of .BMS files. */ /* PMSLoader - reads a Song from a set of .PMS files. */
#ifndef NOTES_LOADER_PMS_H #ifndef NOTES_LOADER_PMS_H
#define NOTES_LOADER_PMS_H #define NOTES_LOADER_PMS_H
+1 -1
View File
@@ -1,4 +1,4 @@
/* Microphone - */ /* Microphone - Holdover from incomplete karaoke mode. */
#ifndef Microphone_H #ifndef Microphone_H
#define Microphone_H #define Microphone_H
+1 -1
View File
@@ -1,4 +1,4 @@
/* PitchDetectionTestUtil - */ /* PitchDetectionTestUtil - Holdover from incomplete karaoke mode. */
#ifndef PitchDetectionTestUtil_H #ifndef PitchDetectionTestUtil_H
#define PitchDetectionTestUtil_H #define PitchDetectionTestUtil_H
-2
View File
@@ -6,9 +6,7 @@
#include "EnumHelper.h" #include "EnumHelper.h"
//
// Player number stuff // Player number stuff
//
enum PlayerNumber enum PlayerNumber
{ {
PLAYER_1 = 0, PLAYER_1 = 0,
+1
View File
@@ -96,6 +96,7 @@ public:
RString m_sCharacterID; RString m_sCharacterID;
RString m_sLastUsedHighScoreName; // this doesn't really belong in "editable", but we need it in the smaller editable file so that it can be ready quickly. RString m_sLastUsedHighScoreName; // this doesn't really belong in "editable", but we need it in the smaller editable file so that it can be ready quickly.
int m_iWeightPounds; // 0 == not set int m_iWeightPounds; // 0 == not set
//RString m_sProfileImageName; // todo: add a default image -aj
// General data // General data
static RString MakeGuid(); static RString MakeGuid();
+2
View File
@@ -1,3 +1,5 @@
/* RageSurface_Load_GIF - (non-animated) GIF file loader */
#ifndef RAGE_SURFACE_LOAD_GIF_H #ifndef RAGE_SURFACE_LOAD_GIF_H
#define RAGE_SURFACE_LOAD_GIF_H #define RAGE_SURFACE_LOAD_GIF_H
+2
View File
@@ -1,3 +1,5 @@
/* RageSurface_Load_JPEG - JPEG file loader */
#ifndef RAGE_SURFACE_LOAD_JPEG_H #ifndef RAGE_SURFACE_LOAD_JPEG_H
#define RAGE_SURFACE_LOAD_JPEG_H #define RAGE_SURFACE_LOAD_JPEG_H
+2
View File
@@ -1,3 +1,5 @@
/* RageSurface_Load_PNG - PNG file loader */
#ifndef RAGE_SURFACE_LOAD_PNG_H #ifndef RAGE_SURFACE_LOAD_PNG_H
#define RAGE_SURFACE_LOAD_PNG_H #define RAGE_SURFACE_LOAD_PNG_H
+2
View File
@@ -1,3 +1,5 @@
/* RageSurface_Load_XPM - XPM file loader */
#ifndef RAGE_SURFACE_LOAD_XPM_H #ifndef RAGE_SURFACE_LOAD_XPM_H
#define RAGE_SURFACE_LOAD_XPM_H #define RAGE_SURFACE_LOAD_XPM_H
+2
View File
@@ -1,3 +1,5 @@
/* RageSurface_Save_BMP - Save a RageSurface to a BMP. */
#ifndef RAGE_SURFACE_SAVE_BMP_H #ifndef RAGE_SURFACE_SAVE_BMP_H
#define RAGE_SURFACE_SAVE_BMP_H #define RAGE_SURFACE_SAVE_BMP_H
+2
View File
@@ -1,3 +1,5 @@
/* RageSurface_Save_JPEG - Save a RageSurface to a JPEG. */
#ifndef RAGE_SURFACE_SAVE_JPEG_H #ifndef RAGE_SURFACE_SAVE_JPEG_H
#define RAGE_SURFACE_SAVE_JPEG_H #define RAGE_SURFACE_SAVE_JPEG_H
+2
View File
@@ -1,3 +1,5 @@
/* RoomInfoDisplay: Shows information about an online game room. */
#ifndef ROOM_INFO_DISPLAY_H #ifndef ROOM_INFO_DISPLAY_H
#define ROOM_INFO_DISPLAY_H #define ROOM_INFO_DISPLAY_H