comparison UI/UIMainMenu.cpp @ 1653:d453ed393d6e

NPCGreetings
author Ritor1
date Wed, 18 Sep 2013 11:04:47 +0600
parents d65f6e73f213
children 06da63e98ff4
comparison
equal deleted inserted replaced
1652:42055a4bd550 1653:d453ed393d6e
18 18
19 19
20 //----- (0041B578) -------------------------------------------------------- 20 //----- (0041B578) --------------------------------------------------------
21 void MainMenuUI_LoadFontsAndSomeStuff() 21 void MainMenuUI_LoadFontsAndSomeStuff()
22 { 22 {
23 pIcons_LOD->SetupPalettes(pRenderer->uTargetRBits, 23 pIcons_LOD->SetupPalettes(pRenderer->uTargetRBits, pRenderer->uTargetGBits, pRenderer->uTargetBBits);
24 pRenderer->uTargetGBits, 24 pPaletteManager->SetColorChannelInfo(pRenderer->uTargetRBits, pRenderer->uTargetGBits, pRenderer->uTargetBBits);
25 pRenderer->uTargetBBits);
26 pPaletteManager->SetColorChannelInfo(pRenderer->uTargetRBits,
27 pRenderer->uTargetGBits,
28 pRenderer->uTargetBBits);
29 pPaletteManager->RecalculateAll(); 25 pPaletteManager->RecalculateAll();
30 26
31 for (uint i = 0; i < 480; ++i) 27 for (uint i = 0; i < 480; ++i)
32 pSRZBufferLineOffsets[i] = 640 * i; 28 pSRZBufferLineOffsets[i] = 640 * i;
33 29