Searched refs:HOTBAR_START_X (Results 1 – 4 of 4) sorted by relevance
32 #define HOTBAR_START_X ((xres / 2) - (5 * hotbar_img->w * uiscale_hotbar)) macro
483 …SDL_WarpMouseInWindow(screen, (HOTBAR_START_X) + (selectedItemFromHotbar * hotbar_img->w) + (hotba… in releaseItem()2999 pos.x = HOTBAR_START_X; in mouseInsidePlayerHotbar()
1386 …if (x >= HOTBAR_START_X && x < HOTBAR_START_X + (10 * hotbar_img->w * uiscale_hotbar) && y >= STAT… in getHotbar()1388 int relx = x - HOTBAR_START_X; //X relative to the start of the hotbar. in getHotbar()
352 initial_position.x = HOTBAR_START_X; in drawStatus()