#include "global.h"#include "ScreenNameEntry.h"#include "SongManager.h"#include "ScreenManager.h"#include "GameConstantsAndTypes.h"#include "RageUtil.h"#include "PrefsManager.h"#include "GameManager.h"#include "RageLog.h"#include "GameState.h"#include "GameSoundManager.h"#include "ThemeManager.h"#include "ScreenRanking.h"#include "Course.h"#include "AnnouncerManager.h"#include "ProfileManager.h"#include "NoteFieldPositioning.h"#include "StageStats.h"#include "Game.h"#include "ScreenDimensions.h"#include "PlayerState.h"#include "Style.h"Defines | |
| #define | TIMER_X THEME->GetMetricF("ScreenNameEntry","TimerX") |
| #define | TIMER_Y THEME->GetMetricF("ScreenNameEntry","TimerY") |
| #define | CATEGORY_Y THEME->GetMetricF("ScreenNameEntry","CategoryY") |
| #define | CATEGORY_ZOOM THEME->GetMetricF("ScreenNameEntry","CategoryZoom") |
| #define | CHARS_ZOOM_SMALL THEME->GetMetricF("ScreenNameEntry","CharsZoomSmall") |
| #define | CHARS_ZOOM_LARGE THEME->GetMetricF("ScreenNameEntry","CharsZoomLarge") |
| #define | CHARS_SPACING_Y THEME->GetMetricF("ScreenNameEntry","CharsSpacingY") |
| #define | SCROLLING_CHARS_COLOR THEME->GetMetricC("ScreenNameEntry","ScrollingCharsColor") |
| #define | SELECTED_CHARS_COLOR THEME->GetMetricC("ScreenNameEntry","SelectedCharsColor") |
| #define | GRAY_ARROWS_Y THEME->GetMetricF("ScreenNameEntry","ReceptorArrowsY") |
| #define | NUM_CHARS_TO_DRAW_BEHIND THEME->GetMetricI("ScreenNameEntry","NumCharsToDrawBehind") |
| #define | NUM_CHARS_TO_DRAW_TOTAL THEME->GetMetricI("ScreenNameEntry","NumCharsToDrawTotal") |
| #define | FAKE_BEATS_PER_SEC THEME->GetMetricF("ScreenNameEntry","FakeBeatsPerSec") |
| #define | TIMER_SECONDS THEME->GetMetricI("ScreenNameEntry","TimerSeconds") |
| #define | MAX_RANKING_NAME_LENGTH THEME->GetMetricI(m_sName,"MaxRankingNameLength") |
| #define | NEXT_SCREEN THEME->GetMetric (m_sName,"NextScreen") |
| #define | PLAYER_X(p, styleType) THEME->GetMetricF(m_sName,ssprintf("PlayerP%d%sX",p+1,StyleTypeToString(styleType).c_str())) |
| #define | NUM_NAME_CHARS (ARRAYSIZE(NAME_CHARS)) |
| #define | HEIGHT_OF_ALL_CHARS (NUM_NAME_CHARS * g_fCharsSpacingY) |
Functions | |
| int | GetClosestCharIndex (float fFakeBeat) |
| float | GetClosestCharYOffset (float fFakeBeat) |
| float | GetClosestCharYPos (float fFakeBeat) |
| REGISTER_SCREEN_CLASS (ScreenNameEntry) | |
Variables | |
| float | g_fCharsZoomSmall |
| float | g_fCharsZoomLarge |
| float | g_fCharsSpacingY |
| RageColor | g_ScrollingCharsColor |
| RageColor | g_SelectedCharsColor |
| float | g_fReceptorArrowsY |
| int | g_iNumCharsToDrawBehind |
| int | g_iNumCharsToDrawTotal |
| float | g_fFakeBeatsPerSec |
| const char | NAME_CHARS [] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Initial value: |
1.3.7