Category : Files from Magazines
Archive   : PJ91.ZIP
Filename : LOCAL.H
LOCAL.h -- Header file for program
***********************************************/
#include
#define WAIT_FOR_KEY { while( !kbhit ); getch(); }
/* some the the graphics library specific code
is separated out here */
#ifdef MSDOS
/* Microsoft C Compiler */
#define ERASE_SCREEN _clearscreen( _GCLEARSCREEN )
#define RESET_VIDEO_MODE _setvideomode( _DEFAULTMODE )
/* for VGA screen */
#define COLORS 16
#define NUM_ROWS 640
#define NUM_COLS 480
#define VIDEO_MODE _VRES16COLOR
#else
/* define these for your own graphics library */
#define ERASE_SCREEN
#define RESET_VIDEO_MODE
#define WAIT_FOR_KEY
#endif
typedef unsigned int UINT;
typedef unsigned long ULONG;
/**********************************************/
/* structures */
/**********************************************/
struct VIDEO
{
UINT x_pixels, y_pixels, colors, mode;
} video;
typedef struct
{
UINT x, y;
} POINT;
/**********************************************/
/* function prototypes */
/**********************************************/
void origin( void );
void newline( void );
char * start_speedo( char * );
void place_text( char * );
Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!
This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.
But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/