MAX_CONSOLE_HISTORY 15 core/console.c static char console_buf[MAX_CONSOLE_HISTORY][MAX_CONSOLE_LINE_LENGTH+1]; MAX_CONSOLE_HISTORY 55 core/console.c if (++console_cur_line >= MAX_CONSOLE_HISTORY) MAX_CONSOLE_HISTORY 93 core/console.c if (i < 0) i = MAX_CONSOLE_HISTORY-1; MAX_CONSOLE_HISTORY 234 core/console.c if (i < 0) i += MAX_CONSOLE_HISTORY; MAX_CONSOLE_HISTORY 239 core/console.c draw_rectangle(x+w*FONT_WIDTH, y+((MAX_CONSOLE_HISTORY-console_scroll-h)*(h*FONT_HEIGHT))/MAX_CONSOLE_HISTORY, MAX_CONSOLE_HISTORY 240 core/console.c x+w*FONT_WIDTH+2, y+((MAX_CONSOLE_HISTORY-console_scroll)*(h*FONT_HEIGHT))/MAX_CONSOLE_HISTORY-1, MAX_CONSOLE_HISTORY 254 core/console.c if (console_scroll < (MAX_CONSOLE_HISTORY-MAX_CONSOLE_DISP_LINES))