summaryrefslogtreecommitdiff
path: root/gramscii.h
diff options
context:
space:
mode:
authorKatolaZ <katolaz@freaknet.org>2019-08-01 16:42:36 +0100
committerKatolaZ <katolaz@freaknet.org>2019-08-01 16:42:36 +0100
commit82a7c12e8338288ccb40d213fcc9e15d102aa968 (patch)
tree970ca2f39dc599624e53a10e59d05bc908f9b0a2 /gramscii.h
parent62713aaf65264950aecad9237d50e911d7dad893 (diff)
remove trailing blank lines in write_file - change check_bound
Diffstat (limited to 'gramscii.h')
-rw-r--r--gramscii.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/gramscii.h b/gramscii.h
index 0792a38..6fcbb99 100644
--- a/gramscii.h
+++ b/gramscii.h
@@ -82,7 +82,9 @@ 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 **/
@@ -139,7 +141,7 @@ struct termios t1, t2, t3;
void reset_styles();
void redraw();
int move_around(char c, FILE *fc);
-void check_bound();
+void check_bound(int *x, int *y);
void status_bar();
void show_cursor();
void set_cur(char c);