restoring scroller on main page to normal speed
This commit is contained in:
@@ -25,7 +25,7 @@ protected:
|
||||
int scrollDirection;
|
||||
|
||||
public:
|
||||
TextScroller(int fontId, float x, float y, float width, float speed = 100);
|
||||
TextScroller(int fontId, float x, float y, float width, float speed = 30);
|
||||
void Add(string text);
|
||||
void Reset();
|
||||
void setRandom(int mode = 1);
|
||||
|
||||
@@ -124,7 +124,7 @@ void GameStateMenu::Create()
|
||||
{
|
||||
currentState = MENU_STATE_MAJOR_LANG | MENU_STATE_MINOR_NONE;
|
||||
}
|
||||
scroller = NEW TextScroller(Fonts::MAIN_FONT, SCREEN_WIDTH / 2 - 90, SCREEN_HEIGHT - 17, 200);
|
||||
scroller = NEW TextScroller(Fonts::MAIN_FONT, SCREEN_WIDTH / 2 - 90, SCREEN_HEIGHT - 17, 180);
|
||||
scrollerSet = 0;
|
||||
|
||||
splashTex = NULL;
|
||||
|
||||
Reference in New Issue
Block a user