著者: Samuel Brian
+
+
+## 日本語版の注意点
+
+* Linuxでプレーする場合は, 端末エミュレータの文字コードをShiftJISに設定してく
+ ださい。
+* Windowsでビルドする場合は, crt.pas.win32のファイル名をcrt.pasに名前を変えて
+ からMake-Win32.batまたはMake-Win64.batを実行してください。
end;
{ Convert full width numbers/alphabets to half width }
+const hchrs : Str80 = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz';
procedure FullToHalf;
var i, c : integer;
begin
else
begin
Delete(Line, i, 2);
- Insert('0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'[Trunc(c / 2) + 1], Line, i);
+ Insert(hchrs[Trunc(c / 2) + 1], Line, i);
i := i + 1;
end;
end;
begin
for x:= 0 to VMax do for y:= 1 to 5 do v[x,y]:=Q;
v[0,1]:='attack'; v[0,2]:='kill';v[0,3]:='beat up';
-d[0,1]:='\82ð\8dU\8c\82';d[0,2]:='\82ð\8eE';d[0,3]:='\82ð\93|';
+d[0,1]:='\8dU\8c\82';d[0,2]:='\8eE';d[0,3]:='\93|';
prep[0]:='with';
v[1,1]:='descrip';v[1,2]:='rd';v[1,3]:='r d';
d[1,1]:='\8bL\8fq';
-{$ifdef WIN32}
-
unit crt;
interface
TextColor(7);
end.
-{$endif}
-
{
- Copyright 2019 maruhiro
+ Copyright 2020 maruhiro
All rights reserved.
Redistribution and use in source and binary forms,