Category : C Source Code
Archive   : TCPPTECH.ZIP
Filename : CONDATA.H

 
Output of file : CONDATA.H contained in archive : TCPPTECH.ZIP
// SCREEN CLASS
// condata.h v2.00 02-Aug-1990
// Turbo C++ 1.0
//
// MS-DOS 4 console data class
//
// Written by Scott Robert Ladd

#if !defined(CONDATA_HPP)
#define CONDATA_HPP)

#include "scrndos4.h"

struct ConsoleData
{
public:
ConsoleData();
~ConsoleData();
private:
unsigned char Level;
unsigned char Reserved1;
unsigned short Length;
unsigned short ControlFlags;
unsigned char ModeType;
unsigned char Reserved2;
unsigned short Colors;
unsigned short PixelCol;
unsigned short PixelRow;
unsigned short CharCol;
unsigned short CharRow;
};

// methods for Console Data structure
inline ConsoleData::ConsoleData()
{
Level = 0;
Reserved1 = 0;
Length = 14;

SaveConData(&Level);
}

inline ConsoleData::~ConsoleData()
{
RestoreConData(&Level);
}

#endif;


  3 Responses to “Category : C Source Code
Archive   : TCPPTECH.ZIP
Filename : CONDATA.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/