#include "commands.h" #include "lzr.h" #include "cfg.h" static const unsigned int commands[COM_LEN] = { COM_RIGHT, COM_RIGHT, COM_UP, COM_DOWN, COM_LEFT, COM_LEFT, COM_DOWN, COM_UP }; void commands_draw(void) { LZR_DrawSetColor(1, 1, 1, 1); for (int i = 0; i < COM_LEN; i++) { const int dx = CFG_TSIZE / 2; const int dy = CFG_TSIZE / 2 + i * (int)(CFG_TSIZE * 1.5); LZR_DrawImage(commands[i], dx, dy); } }