Mercurial > mm7
comparison UI/UIMainMenu.cpp @ 1673:53291e8f3848
m
author | Ritor1 |
---|---|
date | Thu, 19 Sep 2013 09:29:04 +0600 |
parents | c586fa9e4cbb |
children | 2a5f2aaec367 |
comparison
equal
deleted
inserted
replaced
1667:c586fa9e4cbb | 1673:53291e8f3848 |
---|---|
197 char *v1; // edi@5 | 197 char *v1; // edi@5 |
198 FILE *pFile; // eax@5 | 198 FILE *pFile; // eax@5 |
199 unsigned int pSize; // esi@7 | 199 unsigned int pSize; // esi@7 |
200 __int16 pHeight; // ax@9 | 200 __int16 pHeight; // ax@9 |
201 void *v7; // eax@9 | 201 void *v7; // eax@9 |
202 unsigned int pNumPixels; // ST2C_4@9 | |
203 unsigned int v10; // ST2C_4@19 | 202 unsigned int v10; // ST2C_4@19 |
204 MSG Msg; // [sp+84h] [bp-B8h]@10 | 203 MSG Msg; // [sp+84h] [bp-B8h]@10 |
205 int v17; // [sp+A0h] [bp-9Ch]@9 | 204 int v17; // [sp+A0h] [bp-9Ch]@9 |
206 GUIWindow credit_window; | 205 GUIWindow credit_window; |
207 int a5; // [sp+128h] [bp-14h]@1 | 206 int a5; // [sp+128h] [bp-14h]@1 |
246 pTexture2.uWidth = 250; | 245 pTexture2.uWidth = 250; |
247 pHeight = pFontQuick->GetStringHeight2(pFontCChar, v1, &credit_window, 0, 1); | 246 pHeight = pFontQuick->GetStringHeight2(pFontCChar, v1, &credit_window, 0, 1); |
248 pTexture2.uHeight = pHeight + 2 * credit_window.uFrameHeight; | 247 pTexture2.uHeight = pHeight + 2 * credit_window.uFrameHeight; |
249 pTexture2.uNumPixels = (signed __int16)pTexture2.uWidth * (signed __int16)pTexture2.uHeight; | 248 pTexture2.uNumPixels = (signed __int16)pTexture2.uWidth * (signed __int16)pTexture2.uHeight; |
250 v7 = malloc(2 * pTexture2.uNumPixels);//, "scrollermap"); | 249 v7 = malloc(2 * pTexture2.uNumPixels);//, "scrollermap"); |
251 pNumPixels = pTexture2.uNumPixels; | |
252 pTexture2.pPixels = (unsigned __int16 *)v7; | 250 pTexture2.pPixels = (unsigned __int16 *)v7; |
253 fill_pixels_fast(TargetColor(0, 0xFFu, 0xFFu), pTexture2.pPixels, pNumPixels); | 251 fill_pixels_fast(TargetColor(0, 0xFFu, 0xFFu), pTexture2.pPixels, pTexture2.uNumPixels); |
254 pTexture2._allocation_flags = 0; | 252 pTexture2._allocation_flags = 0; |
255 pString = (char *)malloc(2 * pSize); | 253 pString = (char *)malloc(2 * pSize); |
256 strncpy(pString, ptr, pSize); | 254 strncpy(pString, ptr, pSize); |
257 pString[pSize]=0; | 255 pString[pSize]=0; |
258 pFontQuick->_44D2FD_prolly_draw_credits_entry(pFontCChar, 0, credit_window.uFrameHeight, (signed __int16)pTexture2.uWidth, | 256 pFontQuick->_44D2FD_prolly_draw_credits_entry(pFontCChar, 0, credit_window.uFrameHeight, (signed __int16)pTexture2.uWidth, |