Category : Files from Magazines
Archive   : PJ91.ZIP
Filename : LOCAL.H

 
Output of file : LOCAL.H contained in archive : PJ91.ZIP
/**********************************************
LOCAL.h -- Header file for program
***********************************************/

#include /* for kbhit prototype */

#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 * );


  3 Responses to “Category : Files from Magazines
Archive   : PJ91.ZIP
Filename : LOCAL.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: http://www.os2museum.com/wp/mtswslnk/