More doxy.
This commit is contained in:
+6
-2
@@ -1,5 +1,3 @@
|
|||||||
/* SpecialFiles - */
|
|
||||||
|
|
||||||
#ifndef SpecialFiles_H
|
#ifndef SpecialFiles_H
|
||||||
#define SpecialFiles_H
|
#define SpecialFiles_H
|
||||||
|
|
||||||
@@ -19,8 +17,11 @@ namespace SpecialFiles
|
|||||||
extern const RString PACKAGES_DIR;
|
extern const RString PACKAGES_DIR;
|
||||||
extern const RString KEYMAPS_PATH;
|
extern const RString KEYMAPS_PATH;
|
||||||
extern const RString PREFERENCES_INI_PATH;
|
extern const RString PREFERENCES_INI_PATH;
|
||||||
|
/** @brief The directory that contains the themes. */
|
||||||
extern const RString THEMES_DIR;
|
extern const RString THEMES_DIR;
|
||||||
|
/** @brief The directory that contains the different languages. */
|
||||||
extern const RString LANGUAGES_SUBDIR;
|
extern const RString LANGUAGES_SUBDIR;
|
||||||
|
/** @brief The base language for most users of this program. */
|
||||||
extern const RString BASE_LANGUAGE;
|
extern const RString BASE_LANGUAGE;
|
||||||
extern const RString METRICS_FILE;
|
extern const RString METRICS_FILE;
|
||||||
extern const RString CACHE_DIR;
|
extern const RString CACHE_DIR;
|
||||||
@@ -28,8 +29,11 @@ namespace SpecialFiles
|
|||||||
extern const RString DEFAULTS_INI_PATH;
|
extern const RString DEFAULTS_INI_PATH;
|
||||||
extern const RString STATIC_INI_PATH;
|
extern const RString STATIC_INI_PATH;
|
||||||
extern const RString TYPE_TXT_FILE;
|
extern const RString TYPE_TXT_FILE;
|
||||||
|
/** @brief The default Songs directory. */
|
||||||
extern const RString SONGS_DIR;
|
extern const RString SONGS_DIR;
|
||||||
|
/** @brief The default courses directory. */
|
||||||
extern const RString COURSES_DIR;
|
extern const RString COURSES_DIR;
|
||||||
|
/** @brief The default noteskins directory. */
|
||||||
extern const RString NOTESKINS_DIR;
|
extern const RString NOTESKINS_DIR;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
-3
@@ -1,5 +1,3 @@
|
|||||||
/** @brief Sprite - A bitmap Actor that animates and moves around. */
|
|
||||||
|
|
||||||
#ifndef SPRITE_H
|
#ifndef SPRITE_H
|
||||||
#define SPRITE_H
|
#define SPRITE_H
|
||||||
|
|
||||||
@@ -7,7 +5,7 @@
|
|||||||
#include "RageTextureID.h"
|
#include "RageTextureID.h"
|
||||||
|
|
||||||
class RageTexture;
|
class RageTexture;
|
||||||
|
/** @brief A bitmap Actor that animates and moves around. */
|
||||||
class Sprite: public Actor
|
class Sprite: public Actor
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|||||||
@@ -17,7 +17,14 @@ public:
|
|||||||
StageStats();
|
StageStats();
|
||||||
void Init();
|
void Init();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Ensure that the Player is valid.
|
||||||
|
* @param pn the PlayerNumber to check. */
|
||||||
void AssertValid( PlayerNumber pn ) const;
|
void AssertValid( PlayerNumber pn ) const;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Ensure that the Player is valid.
|
||||||
|
* @param mp the Multiplayer to check. */
|
||||||
void AssertValid( MultiPlayer mp ) const;
|
void AssertValid( MultiPlayer mp ) const;
|
||||||
|
|
||||||
void AddStats( const StageStats& other ); // accumulate
|
void AddStats( const StageStats& other ); // accumulate
|
||||||
@@ -34,6 +41,7 @@ public:
|
|||||||
vector<Song*> m_vpPlayedSongs;
|
vector<Song*> m_vpPlayedSongs;
|
||||||
vector<Song*> m_vpPossibleSongs;
|
vector<Song*> m_vpPossibleSongs;
|
||||||
|
|
||||||
|
/** @brief Was an extra stage earned this goaround? */
|
||||||
EarnedExtraStage m_EarnedExtraStage;
|
EarnedExtraStage m_EarnedExtraStage;
|
||||||
/** @brief Was the gameplay exited by the Player giving up? */
|
/** @brief Was the gameplay exited by the Player giving up? */
|
||||||
bool m_bGaveUp;
|
bool m_bGaveUp;
|
||||||
|
|||||||
+1
-3
@@ -1,5 +1,3 @@
|
|||||||
/** @brief TimingData - Holds data for translating beats<->seconds. */
|
|
||||||
|
|
||||||
#ifndef TIMING_DATA_H
|
#ifndef TIMING_DATA_H
|
||||||
#define TIMING_DATA_H
|
#define TIMING_DATA_H
|
||||||
|
|
||||||
@@ -479,7 +477,7 @@ struct TickcountSegment
|
|||||||
bool operator>=( const TickcountSegment &other ) const { return !operator<(other); }
|
bool operator>=( const TickcountSegment &other ) const { return !operator<(other); }
|
||||||
};
|
};
|
||||||
/**
|
/**
|
||||||
* @brief Houses all of the TimingData functions.
|
* @brief Holds data for translating beats<->seconds.
|
||||||
*/
|
*/
|
||||||
class TimingData
|
class TimingData
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,8 +1,7 @@
|
|||||||
/* TitleSubst - automatic translation for song titles */
|
|
||||||
|
|
||||||
#ifndef TITLE_SUBSTITUTION_H
|
#ifndef TITLE_SUBSTITUTION_H
|
||||||
#define TITLE_SUBSTITUTION_H 1
|
#define TITLE_SUBSTITUTION_H
|
||||||
|
|
||||||
|
/** @brief The different fields to potentially translate. */
|
||||||
struct TitleFields
|
struct TitleFields
|
||||||
{
|
{
|
||||||
void SaveToStrings(
|
void SaveToStrings(
|
||||||
@@ -32,7 +31,7 @@ struct TitleFields
|
|||||||
RString TitleTranslit, SubtitleTranslit, ArtistTranslit;
|
RString TitleTranslit, SubtitleTranslit, ArtistTranslit;
|
||||||
};
|
};
|
||||||
struct TitleTrans;
|
struct TitleTrans;
|
||||||
|
/** @brief Automatic translation for Song titles. */
|
||||||
class TitleSubst
|
class TitleSubst
|
||||||
{
|
{
|
||||||
vector<TitleTrans *> ttab;
|
vector<TitleTrans *> ttab;
|
||||||
@@ -49,8 +48,10 @@ public:
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/**
|
||||||
* (c) 2003-2004 Glenn Maynard
|
* @file
|
||||||
|
* @author Glenn Maynard (c) 2003-2004
|
||||||
|
* @section LICENSE
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
|
|||||||
Reference in New Issue
Block a user