WriteXY WriteXYPipe procedures

This commit is contained in:
mysticbbs 2012-07-30 18:20:24 -04:00
parent 6ed16375dc
commit b9df93d564
3 changed files with 7 additions and 3 deletions

View File

@ -290,6 +290,8 @@ Begin
AddProc ({$IFDEF MPLPARSER} 'putuser', {$ENDIF} 'l', iNone); // 539
AddProc ({$IFDEF MPLPARSER} 'isuser', {$ENDIF} 's', iBool); // 540
AddProc ({$IFDEF MPLPARSER} 'getmbasestats', {$ENDIF} 'lLLL', iBool); // 541
AddProc ({$IFDEF MPLPARSER} 'writexy', {$ENDIF} 'bbbs', iNone); // 542
AddProc ({$IFDEF MPLPARSER} 'writexypipe', {$ENDIF} 'bbbbs', iNone); // 543
{ END OF PROCEDURE DEFINITIONS }

View File

@ -122,7 +122,8 @@ Uses
m_FileIO,
BBS_Core,
BBS_IO,
BBS_General;
BBS_General,
BBS_Ansi_MenuBox;
{$I MPL_COMMON.PAS}
@ -1768,7 +1769,6 @@ Begin
92 : Begin
BlockRead (File(Pointer(Param[1].vData)^), VarData[Param[2].vID]^.Data^, VarData[Param[2].vID]^.DataSize);
IoError := IoResult;
// session.io.outfullln('pos: ' + stri2s(filepos(file(pointer(param[1].vdata)^))));
End;
500 : Begin
TempStr := Session.io.GetInput(Param[1].B, Param[2].B, Param[3].B, Param[4].S);
@ -1901,6 +1901,8 @@ Begin
TempBool := GetMBaseStats(Param[1].L, LongInt(Pointer(Param[2].vData)^), LongInt(Pointer(Param[3].vData)^), LongInt(Pointer(Param[4].vData)^));
Store (TempBool, 1);
End;
542 : WriteXY (Param[1].B, Param[2].B, Param[3].B, Param[4].S);
543 : WriteXYPipe (Param[1].B, Param[2].B, Param[3].B, Param[4].B, Param[5].S);
End;
End;

View File

@ -77,7 +77,7 @@ Type
);
Const
mplVer = '11&';
mplVer = '11A';
mplVersion = '[MPX ' + mplVer +']' + #26;
mplVerLength = 10;
mplExtSource = '.mps';