Initial import

This commit is contained in:
mysticbbs 2012-02-13 18:57:52 -05:00
parent 9cdbe5ec65
commit d4c175e419
1 changed files with 54 additions and 0 deletions

54
mdl/m_types.pas Normal file
View File

@ -0,0 +1,54 @@
{
Mystic Software Development Library
===========================================================================
File | M_TYPES.PAS
Desc | Common types used throughout the development library.
Created | August 22, 2002
---------------------------------------------------------------------------
}
Unit m_Types;
{$I M_OPS.PAS}
Interface
{$IFDEF WINDOWS}
Uses
Windows;
{$ENDIF}
Const
{$IFDEF UNIX}
PathSep = '/';
{$ELSE}
PathSep = '\';
{$ENDIF}
Type
TMenuFormFlagsRec = Set of 1..26;
{$IFNDEF WINDOWS}
TCharInfo = Record
Attributes : Byte;
UnicodeChar : Char;
End;
{$ENDIF}
TConsoleLineRec = Array[1..80] of TCharInfo;
TConsoleScreenRec = Array[1..50] of TConsoleLineRec;
TConsoleImageRec = Record
Data : TConsoleScreenRec;
CursorX : Byte;
CursorY : Byte;
CursorA : Byte;
X1 : Byte;
X2 : Byte;
Y1 : Byte;
Y2 : Byte;
End;
Implementation
End.