Mercurial > mm7
comparison GUI/UI/UIPartyCreation.cpp @ 2525:4cc81f981afb
Everything except game can use d3d11
author | a.parshin |
---|---|
date | Fri, 10 Oct 2014 18:28:04 +0300 |
parents | c7264ab7132f |
children | 8f12e6a1fcc2 |
comparison
equal
deleted
inserted
replaced
2524:c7264ab7132f | 2525:4cc81f981afb |
---|---|
104 int pIntervalX; | 104 int pIntervalX; |
105 int pCorrective; | 105 int pCorrective; |
106 | 106 |
107 //move sky | 107 //move sky |
108 pRenderer->BeginScene(); | 108 pRenderer->BeginScene(); |
109 pRenderer->DrawTextureRGB(0, 0, &pTexture_PCX); | 109 pRenderer->DrawTextureNew(0, 0, &pTexture_PCX); |
110 uPlayerCreationUI_SkySliderPos = (GetTickCount() % 12800) / 20; | 110 uPlayerCreationUI_SkySliderPos = (GetTickCount() % 12800) / 20; |
111 pRenderer->DrawTextureIndexed(uPlayerCreationUI_SkySliderPos, 2, pTexture_MAKESKY); | 111 pRenderer->DrawTextureIndexed(uPlayerCreationUI_SkySliderPos, 2, pTexture_MAKESKY); |
112 pRenderer->DrawTextureIndexed(uPlayerCreationUI_SkySliderPos - window->GetWidth(), 2, pTexture_MAKESKY); | 112 pRenderer->DrawTextureIndexed(uPlayerCreationUI_SkySliderPos - window->GetWidth(), 2, pTexture_MAKESKY); |
113 pRenderer->DrawTextureIndexedAlpha(0, 0, pTexture_MAKETOP); | 113 pRenderer->DrawTextureIndexedAlpha(0, 0, pTexture_MAKETOP); |
114 | 114 |
425 pTexture_PlayerFaceMask = pIcons_LOD->LoadTexturePtr("FACEMASK", TEXTURE_16BIT_PALETTE); | 425 pTexture_PlayerFaceMask = pIcons_LOD->LoadTexturePtr("FACEMASK", TEXTURE_16BIT_PALETTE); |
426 pTexture_buttminu = pIcons_LOD->LoadTexturePtr("buttminu", TEXTURE_16BIT_PALETTE); | 426 pTexture_buttminu = pIcons_LOD->LoadTexturePtr("buttminu", TEXTURE_16BIT_PALETTE); |
427 pTexture_buttplus = pIcons_LOD->LoadTexturePtr("buttplus", TEXTURE_16BIT_PALETTE); | 427 pTexture_buttplus = pIcons_LOD->LoadTexturePtr("buttplus", TEXTURE_16BIT_PALETTE); |
428 pTexture_pressrigh = pIcons_LOD->LoadTexturePtr("presrigh", TEXTURE_16BIT_PALETTE); | 428 pTexture_pressrigh = pIcons_LOD->LoadTexturePtr("presrigh", TEXTURE_16BIT_PALETTE); |
429 pTexture_presleft = pIcons_LOD->LoadTexturePtr("presleft", TEXTURE_16BIT_PALETTE); | 429 pTexture_presleft = pIcons_LOD->LoadTexturePtr("presleft", TEXTURE_16BIT_PALETTE); |
430 uControlParam = 1; | 430 uControlParam = 0; |
431 do | 431 do |
432 { | 432 { |
433 sprintf(pTmpBuf.data(), "arrowl%d", uControlParam); | 433 sprintf(pTmpBuf.data(), "arrowl%d", uControlParam); |
434 pTextures_arrowl[uControlParam] = pIcons_LOD->LoadTexturePtr(pTmpBuf.data(), TEXTURE_16BIT_PALETTE); | 434 pTextures_arrowl[uControlParam] = pIcons_LOD->LoadTexturePtr(pTmpBuf.data(), TEXTURE_16BIT_PALETTE); |
435 | 435 |