working on new font engine
This commit is contained in:
@@ -19,7 +19,7 @@ Instructions::Instructions(SDL_Renderer *renderer, std::string *fileList, std::s
|
||||
mItemTexture = new LTexture();
|
||||
mTextTexture = new LTexture();
|
||||
mSprite = new Sprite();
|
||||
mText = new Text(mTextTexture, mRenderer);
|
||||
mText = new Text(mFileList[46], mTextTexture, mRenderer);
|
||||
|
||||
// Crea un backbuffer para el renderizador
|
||||
mBackbuffer = SDL_CreateTexture(mRenderer, SDL_PIXELFORMAT_RGBA8888, SDL_TEXTUREACCESS_TARGET, SCREEN_WIDTH, SCREEN_HEIGHT);
|
||||
@@ -73,7 +73,7 @@ void Instructions::init()
|
||||
mSprite->init(0, 0, SCREEN_WIDTH, SCREEN_HEIGHT, mItemTexture, mRenderer);
|
||||
mTicks = 0;
|
||||
mTicksSpeed = 15;
|
||||
mText->init(TEXT_FIXED, BLOCK);
|
||||
mText->init();
|
||||
mManualQuit = false;
|
||||
mCounter = 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user