diff options
author | KatolaZ <katolaz@freaknet.org> | 2021-09-27 12:36:27 +0100 |
---|---|---|
committer | KatolaZ <katolaz@freaknet.org> | 2021-09-27 12:36:27 +0100 |
commit | 46f92bb4c29351797740e7fc0f3518a29950dc2d (patch) | |
tree | 6a2bc39ba257d61b6328aa46d989a53ec753a960 /lineset.c | |
parent | 864ec4a6c5ef86273653af4eaab9315bd1b7bbca (diff) |
Diffstat (limited to 'lineset.c')
-rw-r--r-- | lineset.c | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -5,6 +5,22 @@ #include <string.h> #include "gramscii.h" +/** extern declarations **/ + +extern lineset_t screen; /* what is visualised */ +extern lineset_t cutbuf; /* cut/paste buffer */ +extern lineset_t *undo; /* undo list */ + +extern int undo_sz;/* allocated size of undo list*/ +extern int undo_cur;/* undo position */ +extern int undo_lst;/* last valid undo position */ + +extern int WIDTH, HEIGHT; + +extern char modified; /* set to 1 if screen modified since last save */ + +/****/ + static int LONG_STEP; /* line_t and lineset_t management */ |