OSDN Git Service

Made term_redraw_section() public since its predecessor, Term_redraw_section(), is...
authorEric Branlund <ebranlund@fastmail.com>
Sun, 9 Aug 2020 14:09:36 +0000 (07:09 -0700)
committerHourier <hourier@users.sourceforge.jp>
Wed, 12 Aug 2020 11:51:57 +0000 (20:51 +0900)
src/term/z-term.c
src/term/z-term.h

index 59fe375..7996be6 100644 (file)
@@ -1667,7 +1667,7 @@ errr term_redraw(void)
 /*
  * Redraw part of a window.
  */
-static errr term_redraw_section(TERM_LEN x1, TERM_LEN y1, TERM_LEN x2, TERM_LEN y2)
+errr term_redraw_section(TERM_LEN x1, TERM_LEN y1, TERM_LEN x2, TERM_LEN y2)
 {
     char *g_ptr;
 
index 78071f5..a2a81d5 100644 (file)
@@ -157,6 +157,7 @@ extern errr term_putstr(TERM_LEN x, TERM_LEN y, int n, TERM_COLOR a, concptr s);
 extern errr term_erase(TERM_LEN x, TERM_LEN y, int n);
 extern errr term_clear(void);
 extern errr term_redraw(void);
+extern errr term_redraw_section(TERM_LEN x1, TERM_LEN y1, TERM_LEN x2, TERM_LEN y2);
 
 extern errr term_get_cursor(int *v);
 extern errr term_get_size(TERM_LEN *w, TERM_LEN *h);