Use enum
Rename function
Negate global bool PLAYER_INTERFACE_HIDE_COUNT
Extract method
Move function
Extract method
Extract method
Extract method
Move variable to smaller scope, remove unused offset
Rename method
Split update method
Extract special case
Use Rectf
Remove null check
Extract methods
Extract methods
Remove method
Change type to bool
Use Vec2f
Calculate color inside precastSlotDraw