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 /gramscii.h | |
parent | 864ec4a6c5ef86273653af4eaab9315bd1b7bbca (diff) |
Diffstat (limited to 'gramscii.h')
-rw-r--r-- | gramscii.h | 53 |
1 files changed, 0 insertions, 53 deletions
@@ -121,59 +121,6 @@ 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) -/** global variables **/ - -lineset_t screen; /* what is visualised */ -lineset_t cutbuf; /* cut/paste buffer */ -lineset_t *undo; /* undo list */ - -pos_t marks[26]; /* position marks */ -char mark_map[26]; /* marks map */ - -int undo_sz;/* allocated size of undo list*/ -int undo_cur;/* undo position */ -int undo_lst;/* last valid undo position */ - -int WIDTH, HEIGHT; - -int mode;/* mode */ -int dir;/* line direction */ -int x; -int y; -int step;/* current step */ -int mult;/* current multiplier */ -int force_new; -char corner; - -/* number of available markers for each type */ -int hlines_sz; -int vlines_sz; -int corners_sz; -int stmarks_sz; -int endmarks_sz; -/**/ - -/* line and arrow markers */ -int cur_hl, cur_vl, cur_corn, cur_start, cur_end; -char line_h; -char line_v; -char mark_st; -char mark_end; -/**/ - -char modified; /* set to 1 if screen modified since last save */ -char fname[256]; - - -char script; /* set to 1 in script-mode */ -char autoend; /* set to 1 in auto-arrow mode */ - -/* Used by draw_arrow to identify the bounding box */ -int a_miny; -int a_maxy; -/**/ - -struct termios t1, t2, t3; /** screen-related functions **/ void reset_styles(); |