Category : C Source Code
Archive   : WRAP.ZIP
Filename : WRAP.H

Output of file : WRAP.H contained in archive : WRAP.ZIP
* wrap.h
* definitions for wrap and shift routines

/* directions for rollwrap */
#define LEFT_UP 2
#define LEFT_DOWN 3
#define RIGHT_UP 0
#define RIGHT_DOWN 1

typedef struct {
int x1, y1, x2, y2;
char attr;
} shiftwin;

void shift (shiftwin *win, int num); /* horizontal shift */
void scroll (shiftwin *win, int num); /* vertical scroll */
void roll (shiftwin *win, int num); /* vertical wrap */
void wrap (shiftwin *win, int num); /* horizontal wrap */
void rollwrap (shiftwin *win, int num, int dir); /* diagonal wrap */
/* end of wrap.h */

  3 Responses to “Category : C Source Code
Archive   : WRAP.ZIP
Filename : WRAP.H

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: