Change thumbnail reference scale to 320x200
Seems more sensible than "it was more convenient at the time"
This commit is contained in:
parent
3adaceab0b
commit
1c1b72bd6c
2 changed files with 7 additions and 7 deletions
10
src/m_menu.c
10
src/m_menu.c
|
|
@ -1799,7 +1799,7 @@ fixed_t M_GetMapThumbnail(INT16 mapnum, patch_t **out)
|
|||
*out = patch;
|
||||
|
||||
// check width instead of height because haha big winton
|
||||
return patch->width >= 320 ? FRACUNIT/4 : FRACUNIT/2;
|
||||
return patch->width >= 320 ? FRACUNIT : FRACUNIT*2;
|
||||
}
|
||||
|
||||
// Sky Room
|
||||
|
|
@ -5637,7 +5637,7 @@ static void DrawReplayHutReplayInfo(void)
|
|||
x = 15; y = 15;
|
||||
|
||||
//CONS_Printf("%d %s\n", demolist[dir_on[menudepthleft]].map, G_BuildMapName(demolist[dir_on[menudepthleft]].map));
|
||||
fixed_t scale = M_GetMapThumbnail(demolist[dir_on[menudepthleft]].map, &patch);
|
||||
fixed_t scale = M_GetMapThumbnail(demolist[dir_on[menudepthleft]].map, &patch)/4;
|
||||
if (patch == blanklvl)
|
||||
patch = nolvl;
|
||||
|
||||
|
|
@ -8999,7 +8999,7 @@ static void M_DrawLevelSelectOnly(boolean leftfade, boolean rightfade)
|
|||
{
|
||||
patch_t *PictureOfLevel;
|
||||
INT32 x, y, w, i, oldval, trans, dupadjust = ((vid.width/vid.dupx) - BASEVIDWIDTH)>>1;
|
||||
fixed_t scale = M_GetMapThumbnail(cv_nextmap.value-1, &PictureOfLevel);
|
||||
fixed_t scale = M_GetMapThumbnail(cv_nextmap.value-1, &PictureOfLevel)/4;
|
||||
|
||||
w = FixedMul(SHORT(PictureOfLevel->width), scale);
|
||||
i = FixedMul(SHORT(PictureOfLevel->height), scale);
|
||||
|
|
@ -9055,7 +9055,7 @@ static void M_DrawLevelSelectOnly(boolean leftfade, boolean rightfade)
|
|||
|
||||
} while (!M_CanShowLevelInList(i, cv_newgametype.value));
|
||||
|
||||
scale = M_GetMapThumbnail(i, &PictureOfLevel)/2;
|
||||
scale = M_GetMapThumbnail(i, &PictureOfLevel)/8;
|
||||
|
||||
x -= horizspac + w/2;
|
||||
|
||||
|
|
@ -9083,7 +9083,7 @@ static void M_DrawLevelSelectOnly(boolean leftfade, boolean rightfade)
|
|||
|
||||
} while (!M_CanShowLevelInList(i, cv_newgametype.value));
|
||||
|
||||
scale = M_GetMapThumbnail(i, &PictureOfLevel)/2;
|
||||
scale = M_GetMapThumbnail(i, &PictureOfLevel)/8;
|
||||
|
||||
V_DrawFixedPatch(x<<FRACBITS, y<<FRACBITS, scale, trans, PictureOfLevel, NULL);
|
||||
|
||||
|
|
|
|||
|
|
@ -1270,7 +1270,7 @@ void Y_VoteDrawer(void)
|
|||
str = levelinfo[i].str;
|
||||
mapnum = votelevels[i][0];
|
||||
}
|
||||
scale = M_GetMapThumbnail(mapnum, &pic);
|
||||
scale = M_GetMapThumbnail(mapnum, &pic)/4;
|
||||
|
||||
if (selected[i])
|
||||
{
|
||||
|
|
@ -1392,7 +1392,7 @@ void Y_VoteDrawer(void)
|
|||
else
|
||||
mapnum = votelevels[votes[i]][0];
|
||||
|
||||
scale = M_GetMapThumbnail(mapnum, &pic)/2;
|
||||
scale = M_GetMapThumbnail(mapnum, &pic)/8;
|
||||
|
||||
if (!timer && i == voteclient.ranim)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue