home *** CD-ROM | disk | FTP | other *** search
- {$A+,B-,D-,E-,F-,I-,L-,N-,O-,R-,S-,V-}
- {
- ╓─────────────────────────────────────────────────────────────────────╖
- ║ Generiert durch MASKEDIT PLUS Vers. 5.0 am 20.06.90 um 15:58:12 Uhr ║
- ║ Autor: Alfonso José Sanz Alonso ║
- ╙─────────────────────────────────────────────────────────────────────╜
- }
-
- UNIT WESPED2;
- INTERFACE
- Uses crt,Masktur4;
- Procedure EditorScreen__;
- Procedure EditorScreen(
- VAR w1:Str80;
- VAR w2:Byte;
- neu:Boolean);
-
- IMPLEMENTATION
-
- Procedure EditorScreen__;
- Begin
- MP_Initbuffer(TRUE);
- write_fast(1,'░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░');
- write_fast(81,'░░░░░█▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█░░░░░░░░░░░░░░█▀▀▀▀▀▀▀▀▀▀▀▀▀▀█░░░░░░');
- write_fast(161,'░░░░░▌ W E S P + L E V E L E D I T O R ▐░░░░░░░░░░░░░░█ (c) 1990 █░░░░░░');
- write_fast(241,'░░░░░█▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█░░░░░░░░░░░░░░█ Gerald Arend █░░░░░░');
- write_fast(321,'░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░█ & toolbox █░░░░░░');
- write_fast(401,'░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░█▄▄▄▄▄▄▄▄▄▄▄▄▄▄█░░░░░░');
- write_fast(481,'░░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░');
- write_fast(561,'░░▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒▒░░');
- write_fast(641,'░░▒▒▓▓▓╔════════════════════════════╗▓▓▓▓▓╔═══════════════════════════╗▓▓▓▓▓▒▒░░');
- write_fast(721,'░░▒▒▓▓▓║ Level ║▓▓▓▓▓║ BEDIENUNG DES EDITORS ║▓▓▓▓▓▒▒░░');
- write_fast(801,'░░▒▒▓▓▓╟────────────────────────────╢▓▓▓▓▓║───────────────────────────║▓▓▓▓▓▒▒░░');
- write_fast(881,'░░▒▒▓▓▓║ 1 2 3 4 5 6 7 8 ║▓▓▓▓▓║ <Einfg> - Fläche setzen ║▓▓▓▓▓▒▒░░');
- write_fast(961,'░░▒▒▓▓▓║ A ║▓▓▓▓▓║ <Entf> - Fläche löschen ║▓▓▓▓▓▒▒░░');
- write_fast(1041,'░░▒▒▓▓▓║ B ║▓▓▓▓▓║ <s> <S> - Startfläche ║▓▓▓▓▓▒▒░░');
- write_fast(1121,'░░▒▒▓▓▓║ C ║▓▓▓▓▓║ <l> <L> - Ebene löschen ║▓▓▓▓▓▒▒░░');
- write_fast(1201,'░░▒▒▓▓▓║ D ║▓▓▓▓▓║ <z> <Z> - Zufall ║▓▓▓▓▓▒▒░░');
- write_fast(1281,'░░▒▒▓▓▓║ E ║▓▓▓▓▓║ <+> <-> - Blättern ║▓▓▓▓▓▒▒░░');
- write_fast(1361,'░░▒▒▓▓▓║ F ║▓▓▓▓▓║ ║▓▓▓▓▓▒▒░░');
- write_fast(1441,'░░▒▒▓▓▓║ G ║▓▓▓▓▓║ <Escape> - Abbruch ║▓▓▓▓▓▒▒░░');
- write_fast(1521,'░░▒▒▓▓▓║ H ║▓▓▓▓▓║ <Return> - Level sichern ║▓▓▓▓▓▒▒░░');
- write_fast(1601,'░░▒▒▓▓▓╚════════════════════════════╝▓▓▓▓▓╚═══════════════════════════╝▓▓▓▓▓▒▒░░');
- write_fast(1681,'░░▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒▒░░');
- write_fast(1761,'░░▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒▒░░');
- write_fast(1841,'░░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░');
- write_fast(1921,'░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░');
- MP_Setcolor(86,39,13); MP_Setcolor(139,16,2); MP_Setcolor(166,2,13);
- MP_Setcolor(203,2,13); MP_Setcolor(205,2,8); MP_Setcolor(219,1,2);
- MP_Setcolor(234,1,2); MP_Setcolor(235,2,8); MP_Setcolor(246,39,13);
- MP_Setcolor(285,2,8); MP_Setcolor(299,1,2); MP_Setcolor(314,1,2);
- MP_Setcolor(315,2,8); MP_Setcolor(328,39,8); MP_Setcolor(379,1,2);
- MP_Setcolor(394,1,2); MP_Setcolor(395,2,8); MP_Setcolor(459,16,2);
- MP_Setcolor(475,2,8); MP_Setcolor(541,16,8); MP_Setcolor(758,2,8);
- MP_Setcolor(765,21,11); MP_Setcolor(792,2,8); MP_Setcolor(838,2,8);
- MP_Setcolor(872,2,8); MP_Setcolor(893,22,12); MP_Setcolor(918,2,8);
- MP_Setcolor(925,8,14); MP_Setcolor(952,2,8); MP_Setcolor(970,1,12);
- MP_Setcolor(998,2,8); MP_Setcolor(1005,8,14); MP_Setcolor(1032,2,8);
- MP_Setcolor(1050,1,12); MP_Setcolor(1078,2,8); MP_Setcolor(1085,8,10);
- MP_Setcolor(1112,2,8); MP_Setcolor(1130,1,12); MP_Setcolor(1158,2,8);
- MP_Setcolor(1165,8,10); MP_Setcolor(1192,2,8); MP_Setcolor(1210,1,12);
- MP_Setcolor(1238,2,8); MP_Setcolor(1245,8,10); MP_Setcolor(1272,2,8);
- MP_Setcolor(1290,1,12); MP_Setcolor(1318,2,8); MP_Setcolor(1325,8,10);
- MP_Setcolor(1352,2,8); MP_Setcolor(1370,1,12); MP_Setcolor(1398,2,8);
- MP_Setcolor(1432,2,8); MP_Setcolor(1450,1,12); MP_Setcolor(1478,2,8);
- MP_Setcolor(1485,8,12); MP_Setcolor(1512,2,8); MP_Setcolor(1530,1,12);
- MP_Setcolor(1558,2,8); MP_Setcolor(1565,8,12); MP_Setcolor(1592,2,8);
- MP_Setcolor(1638,2,8); MP_Setcolor(1672,2,8); MP_Setcolor(1690,30,8);
- MP_Setcolor(1725,29,8);
- MP_BufferToScreen;
- End;
-
- Procedure EditorScreen;
- Var c:integer;
-
- Begin
- if (neu) then EditorScreen__;
- MP_Eingabefeldzeichen:=' ';
- MP_Felder[1].Xpos:=10;
- MP_Felder[1].Ypos:=10;
- MP_Felder[1].Laenge:=12;
- MP_Felder[1].Typ:='S';
- MP_Felder[1].Text:=w1;
- MP_Felder[2].Xpos:=34;
- MP_Felder[2].Ypos:=10;
- MP_Felder[2].Laenge:=2;
- MP_Felder[2].Typ:='B';
- if (w2<>0) then str(w2, MP_Felder[2].Text)
- else MP_Felder[2].Text[0]:=#0;
- MP_Lesefeld(2);
- w1:= MP_Felder[1].Text;
- val( MP_Felder[2].text,w2,c);
- End;
- END.