- renamed remaining vec2s_t's.

This commit is contained in:
Christoph Oelckers 2019-09-20 11:47:21 +02:00
parent 9d7e5d9970
commit 33b122d88a

View file

@ -152,14 +152,14 @@ static void Menu_DrawCursorRight(int32_t x, int32_t y, int32_t z)
const int frames = RR ? 16 : 7; const int frames = RR ? 16 : 7;
Menu_DrawCursorCommon(x, y, z, SPINNINGNUKEICON+frames-1-((frames-1+(totalclock>>3))%frames)); Menu_DrawCursorCommon(x, y, z, SPINNINGNUKEICON+frames-1-((frames-1+(totalclock>>3))%frames));
} }
static void Menu_DrawCursorTextTile(int32_t x, int32_t y, int32_t h, int32_t picnum, vec2s_t const & siz, int32_t ydim_upper = 0, int32_t ydim_lower = ydim-1) static void Menu_DrawCursorTextTile(int32_t x, int32_t y, int32_t h, int32_t picnum, vec2_16_t const & siz, int32_t ydim_upper = 0, int32_t ydim_lower = ydim-1)
{ {
vec2_t const adjsiz = { siz.x<<15, siz.y<<16 }; vec2_t const adjsiz = { siz.x<<15, siz.y<<16 };
Menu_DrawCursorCommon(x + scale(adjsiz.x, h, adjsiz.y), y, divscale16(h, adjsiz.y), picnum, ydim_upper, ydim_lower); Menu_DrawCursorCommon(x + scale(adjsiz.x, h, adjsiz.y), y, divscale16(h, adjsiz.y), picnum, ydim_upper, ydim_lower);
} }
static void Menu_DrawCursorText(int32_t x, int32_t y, int32_t h, int32_t ydim_upper = 0, int32_t ydim_lower = ydim-1) static void Menu_DrawCursorText(int32_t x, int32_t y, int32_t h, int32_t ydim_upper = 0, int32_t ydim_lower = ydim-1)
{ {
vec2s_t const & siz = tilesiz[SPINNINGNUKEICON]; vec2_16_t const & siz = tilesiz[SPINNINGNUKEICON];
const int frames = RR ? 16 : 7; const int frames = RR ? 16 : 7;
if (siz.x == 0) if (siz.x == 0)