console_scroll 200 core/console.c static int console_scroll; console_scroll 208 core/console.c console_scroll = 0; console_scroll 232 core/console.c for (c = h-1, i = console_cur_line-console_scroll; c >= 0; --c, --i) console_scroll 239 core/console.c draw_rectangle(x+w*FONT_WIDTH, y+((MAX_CONSOLE_HISTORY-console_scroll-h)*(h*FONT_HEIGHT))/MAX_CONSOLE_HISTORY, console_scroll 240 core/console.c x+w*FONT_WIDTH+2, y+((MAX_CONSOLE_HISTORY-console_scroll)*(h*FONT_HEIGHT))/MAX_CONSOLE_HISTORY-1, console_scroll 254 core/console.c if (console_scroll < (MAX_CONSOLE_HISTORY-MAX_CONSOLE_DISP_LINES)) console_scroll 256 core/console.c console_scroll++; console_scroll 262 core/console.c if (console_scroll > 0) console_scroll 264 core/console.c console_scroll--;