summaryrefslogtreecommitdiff
path: root/gramscii.h
diff options
context:
space:
mode:
authorKatolaZ <katolaz@freaknet.org>2019-07-27 08:06:27 +0100
committerKatolaZ <katolaz@freaknet.org>2019-07-27 08:06:27 +0100
commitb38ed132a7df231fc08ce384d8559e6648fdd0cc (patch)
treea71b99edbc5ce15acfc2abec5e7c5b60edded5cd /gramscii.h
parentf678684b470f02d9fed4818eb92c2a925380c428 (diff)
first step towards crop + some fixes to erase
Diffstat (limited to 'gramscii.h')
-rw-r--r--gramscii.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/gramscii.h b/gramscii.h
index 0b2c81f..6666515 100644
--- a/gramscii.h
+++ b/gramscii.h
@@ -59,7 +59,7 @@ typedef struct{
#define progr_x(d) ((d) == DIR_L ? -1 : (d) == DIR_R ? 1 : 0)
#define progr_y(d) ((d) == DIR_U ? -1 : (d) == DIR_D ? 1 : 0)
-/* #define DEBUG 1 */
+#define DEBUG 1
/** global variables **/
@@ -116,9 +116,10 @@ void get_string(FILE *fc, char *msg, char *s, int sz);
void erase_box(int x1, int y1, char c);
int is_yes(char c);
void init_screen();
-void erase_line(char *s);
+void erase_line(int i);
void erase_screen();
void go_to(int where);
+void crop_to_nonblank();
/** drawing-related functions **/
int change_style(char c);