Texture scaling
This commit is contained in:
parent
f246d1a710
commit
242622f0e6
@ -32,7 +32,7 @@ const std::string CONST_BALL_TEXTURE = "ball_mod1";
|
|||||||
|
|
||||||
const std::string CONST_BALLGLOW_TEXTURE = "ball_glow";
|
const std::string CONST_BALLGLOW_TEXTURE = "ball_glow";
|
||||||
|
|
||||||
const std::string CONST_REFLECTOR_TEXTURE = "reflector";
|
const std::string CONST_REFLECTOR_TEXTURE = "reflector_mod1";
|
||||||
|
|
||||||
const std::string CONST_WALL_LEFT_TEXTURE = "wall_left_mod1";
|
const std::string CONST_WALL_LEFT_TEXTURE = "wall_left_mod1";
|
||||||
const std::string CONST_WALL_RIGHT_TEXTURE = "wall_right_mod1";
|
const std::string CONST_WALL_RIGHT_TEXTURE = "wall_right_mod1";
|
||||||
@ -99,6 +99,10 @@ void TMyApplication::InnerInit()
|
|||||||
|
|
||||||
ResourceManager->FrameManager.AddFrameRenderBuffer("LevelBuffer", 512, 512);
|
ResourceManager->FrameManager.AddFrameRenderBuffer("LevelBuffer", 512, 512);
|
||||||
|
|
||||||
|
// Level frames Init
|
||||||
|
ResourceManager->FrameManager.AddFrameRenderBuffer("LeftLevelFrame", Renderer->GetScreenWidth()*0.1f,Renderer->GetScreenHeight());
|
||||||
|
ResourceManager->FrameManager.AddFrameRenderBuffer("RightLevelFrame", Renderer->GetScreenWidth()*0.1f, Renderer->GetScreenHeight());
|
||||||
|
|
||||||
OnDrawSignal.connect(boost::bind(&TGameLoading::Draw, boost::ref(GameLoading)));
|
OnDrawSignal.connect(boost::bind(&TGameLoading::Draw, boost::ref(GameLoading)));
|
||||||
Inited = true;
|
Inited = true;
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@ int APIENTRY WinMain(HINSTANCE hCurrentInst, HINSTANCE hPreviousInst,
|
|||||||
LPSTR lpszCmdLine, int nCmdShow)
|
LPSTR lpszCmdLine, int nCmdShow)
|
||||||
{
|
{
|
||||||
|
|
||||||
int width = 700;
|
int width = 800;
|
||||||
int height = 480;
|
int height = 480;
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user