2017-01-10 12:43:06 +00:00
|
|
|
#include "loadingcode.h"
|
|
|
|
#include "include/Engine.h"
|
|
|
|
#include "main_code.h"
|
|
|
|
|
|
|
|
void TGameLoading::Draw()
|
|
|
|
{
|
2017-11-14 17:04:04 +00:00
|
|
|
//*SE::Console << "TGameLoading::Draw";
|
|
|
|
|
|
|
|
glBindTexture(GL_TEXTURE_2D, ResourceManager->TexList[CONST_LOADING_BACKGROUND_BLACK]);
|
|
|
|
Renderer->DrawRect(Vector2f(0.f, 0.f), Vector2f(Renderer->GetMatrixWidth(), Renderer->GetMatrixHeight()));
|
2017-01-10 12:43:06 +00:00
|
|
|
|
|
|
|
glBindTexture(GL_TEXTURE_2D,ResourceManager->TexList[CONST_LOADING_TEXTURE]);
|
2017-11-14 17:04:04 +00:00
|
|
|
Renderer->DrawRect(Vector2f(240.f - 128.f, 10.f), Vector2f(240.f + 128.f, 10.f + 64.f));
|
2017-01-10 12:43:06 +00:00
|
|
|
|
|
|
|
glBindTexture(GL_TEXTURE_2D,ResourceManager->TexList[CONST_LOGO_SMALL_TEXTURE]);
|
2017-11-14 17:04:04 +00:00
|
|
|
Renderer->DrawRect(Vector2f(480.f - 256.f+50.f, 320.f - 64.f), Vector2f(480.f+50.f, 320.f));
|
2017-01-10 12:43:06 +00:00
|
|
|
|
|
|
|
CheckGlError();
|
|
|
|
|
|
|
|
}
|