MSC v1.0 Command File

[Commands]
<Define>  [CaseSensitive] Is [No]
<Skip>    [BlankLines] Is [Yes]
<ReplaceItem> [graph] by [mos_vesa]
<ReplaceItem> [Initgraph] by [VESA_Initgraph]
<ReplaceItem> [CloseGraph] by [VESA_CloseGraph]
<ReplaceItem> [Putpixel] by [VESA_Putpixel]
<ReplaceItem> [Putpixel_Suivant] by [VESA_Putpixel_Suivant]
<ReplaceItem> [Getpixel] by [VESA_Getpixel]
<ReplaceString> [GetMax] by [VESA_GetMax]
<ReplaceItem> [SetColor] by [VESA_SetColor]
<ReplaceItem> [GetColor] by [VESA_GetColor]
<ReplaceString> [Line(] by [VESA_Line(]
<ReplaceItem> [Rectangle] by [VESA_Rectangle]
<ReplaceItem> [GetX] by [VESA_GetX]
<ReplaceItem> [GetY] by [VESA_GetY]
<ReplaceItem> [LineTo] by [VESA_LineTo]
<ReplaceItem> [MoveTo] by [VESA_MoveTo]
<ReplaceItem> [ClearViewPort] by [VESA_ClearViewPort]
<ReplaceItem> [Outtextxy] by [VESA_Outtextxy]
<ReplaceItem> [TextWidth] by [VESA_TextWidth]
<ReplaceItem> [TextHeight] by [VESA_TextHeight]
<ReplaceItem> [SetTextStyle] by [VESA_SetTextStyle]
<ReplaceItem> [ImageSize] by [VESA_ImageSize]
<ReplaceItem> [GetImage] by [VESA_GetImage]
<ReplaceItem> [PutImage] by [VESA_PutImage]
<ReplaceItem> [SetRGBPalette] by [VESA_SetRGBPalette]
<ReplaceItem> [GetRGBPalette] by [VESA_GetRGBPalette]
<ReplaceItem> [SetViewPort] by [VESA_SetViewPort]
<ReplaceItem> [GetViewSettings] by [VESA_GetViewSettings]
<ReplaceItem> [SetLineStyle] by [VESA_SetLineStyle]
<ReplaceItem> [SetFillStyle] by [VESA_SetFillStyle]
<ReplaceItem> [GetWriteMode] by [VESA_GetWriteMode]
<ReplaceItem> [SetWriteMode] by [VESA_SetWriteMode]
<ReplaceString> [Bar(] by [VESA_Bar(]

<ReplaceItem> [graph] by [mos_vesa]
<ReplaceItem> [GetLineSettings] by [VESA_GetLineStyle]

<ReplaceItem> [InVesa_Line] by [Inline]
<DeleteLine> [InstallUserDriver]
<DeleteLine> [GraphDriver:=Detect]
<InsertLine> [VESA_Initgraph(Gfx_Mode,Get_System_Path(SP_FONTS));] Before [VESA_Initgraph]
<DeleteLine> [VESA_Initgraph(GraphDriver,GraphMode]
<DeleteLine> [If CP Then]
<DeleteLine> [If Not CP Then]
<DeleteLine> [{$L LITT.OBJ}]
<DeleteLine> [{$L EURO.OBJ}]
<DeleteLine> [{$L TSCR.OBJ}]
<DeleteLine> [{$L EGAVGA.OBJ}]
<DeleteLine> [{$L SVGA256.OBJ}]
<DeleteLine> [RegisterBGI]
<ReplaceItem> [LineSettingsType] by [TLineSettingsType]

Rem destruction de Tswap.swap
<DeleteLine> [SetActivePage]
<DeleteLine> [SetVisualPage]
<ReplaceItem> [ViewPortType] by [TViewPortType]
<ReplaceItem> [vesa_vesa_] by [VESA_]

<DeleteParam> [1] in [VESA_SetTextStyle]
<InsertParam> [Get_System_Path(SP_FONTS)+'litt.chr'] in [VESA_SetTextStyle] at [1]

<ReplaceItem> [PointType] by [TPointType]

<ReplaceItem> [FillPoly] by [VESA_FillPoly]
<ReplaceItem> [Drawpoly] by [VESA_DrawPoly]

Rem 2eme partie

<Deleteoccurence> [mos_vesa,] After [1]
<Deletelines> [If GraphResult] size [3]

Rem Commandes Fonctionnelles
Rem -------------------------
Rem <Define> [CaseSensitive]
Rem <Skip>   [BlankLines]
Rem <ReplaceItem>
Rem <DeleteItem>
Rem <InsertLine> Before
Rem <InsertLine> After
Rem <DeleteLine>
Rem <InsertBlock>
Rem <DeleteBlock>
Rem <Upper>
Rem <Lower>
Rem <Midder>
Rem <InsertParam>
Rem <DeleteParam>

Rem Manque <ReplaceHexa>
Rem Manque <Define> [KeepJustify] is [Yes]
