add messagebox

git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@338 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-10-15 10:32:40 +00:00
parent 61772bf9ca
commit 234d726e3f
4 changed files with 34 additions and 17 deletions

View File

@@ -3,11 +3,11 @@
open(IN, "<", "resource/harvard.txt");
print("const char* harvard[] = {\n");
while(my $l = <IN>){
$l =~ s/\r?\n$//;
if($l =~ /^[ \t]*[0-9]+\. (.+)$/){
print(" \"" . $1 . "\",\n");
}
while (my $l = <IN>) {
$l =~ s/\r?\n$//;
if ($l =~ /^[ \t]*[0-9]+\. (.+)$/) {
print(" \"" . $1 . "\",\n");
}
}
print(" NULL\n");
print("};\n");