working on new font engine
This commit is contained in:
@@ -21,7 +21,7 @@ Intro::Intro(SDL_Renderer *renderer, std::string *fileList, std::string *textStr
|
||||
mBitmap[i] = new SmartSprite();
|
||||
|
||||
for (int i = 0; i < INTRO_TOTAL_TEXTS; i++)
|
||||
mText[i] = new Text2(mTextTexture, mRenderer);
|
||||
mText[i] = new Text2(mFileList[46], mTextTexture, mRenderer);
|
||||
}
|
||||
|
||||
// Destructor
|
||||
@@ -133,7 +133,7 @@ void Intro::init()
|
||||
// Inicializa los textos de la intro
|
||||
for (int i = 0; i < INTRO_TOTAL_TEXTS; i++)
|
||||
{
|
||||
mText[i]->init(TEXT_VARIABLE, 10);
|
||||
mText[i]->init();
|
||||
mText[i]->setId(6 + i);
|
||||
mText[i]->setIntroEvents(&mEvents[0]);
|
||||
mText[i]->setPosX(BLOCK * 0);
|
||||
|
||||
Reference in New Issue
Block a user