Home » Archimedes archive » Acorn User » AU 1996-03 B.adf » Features » Vocabulary/Source/changes
Vocabulary/Source/changes
This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.
Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.
Tape/disk: | Home » Archimedes archive » Acorn User » AU 1996-03 B.adf » Features |
Filename: | Vocabulary/Source/changes |
Read OK: | ✔ |
File size: | 14CA bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
#include "inc.h" extern int position; extern char userger[50]; extern char usereng[50]; extern char german[170][40]; extern char english[170][40]; extern char wrong_word_german[170][40]; extern char wrong_word_english[170][40]; extern char tosave_english[170][40]; extern char tosave_german[170][40]; extern char tosave_wrong_word_english[170][40]; extern char tosave_wrong_word_german[170][40]; extern char tosave_title[50]; extern char tosave_language[50]; extern char title[70]; extern char language[70]; extern char tosave_subtitle[50]; extern char subtitle[70]; void change_german(void) { int vert = 0; int hor = 0; for(vert=0;vert<150;vert++) { for(hor=0;hor<31;hor++) { switch(german[vert][hor]) { case '_': german[vert][hor]=' '; break; case '0': german[vert][hor]=0; break; default: german[vert][hor]=toupper(german[vert][hor]); break; } } } } void change_english(void) { int vert = 0; int hor = 0; for(vert=0;vert<150;vert++) { for(hor=0;hor<31;hor++) { switch(english[vert][hor]) { case '_': english[vert][hor]=' '; break; case '0': english[vert][hor]=0; break; default: english[vert][hor]=toupper(english[vert][hor]); break; } } } } void schange_german(void) { int vert = 0; int hor = 0; for(vert=0;vert<150;vert++) { for(hor=0;hor<31;hor++) { switch(german[vert][hor]) { case ' ': tosave_german[vert][hor]='_'; break; default: tosave_german[vert][hor]=toupper(german[vert][hor]); } } if (strcmp(german[vert],"")==0 && strcmp(english[vert],"")!=0) strcpy(tosave_german[vert],"*"); } } void schange_english(void) { int vert = 0; int hor = 0; for(vert=0;vert<150;vert++) { for(hor=0;hor<31;hor++) { switch(english[vert][hor]) { case ' ': tosave_english[vert][hor]='_'; break; default: tosave_english[vert][hor]=toupper(english[vert][hor]); } } if (strcmp(english[vert],"")==0 && strcmp(german[vert],"")!=0) strcpy(tosave_english[vert],"*"); } } void schange_wrong_word_german(void) { int vert = 0; int hor = 0; for(vert=0;vert<150;vert++) { for(hor=0;hor<31;hor++) { switch(wrong_word_german[vert][hor]) { case ' ': tosave_wrong_word_german[vert][hor]='_'; break; default: tosave_wrong_word_german[vert][hor]=toupper(wrong_word_german[vert][hor]); } } if (strcmp(wrong_word_german[vert],"")==0 && strcmp(wrong_word_english[vert],"")!=0) strcpy(tosave_wrong_word_german[vert],"*"); } } void schange_wrong_word_english(void) { int vert = 0; int hor = 0; for(vert=0;vert<150;vert++) { for(hor=0;hor<31;hor++) { switch(wrong_word_english[vert][hor]) { case ' ': tosave_wrong_word_english[vert][hor]='_'; break; default: tosave_wrong_word_english[vert][hor]=toupper(wrong_word_english[vert][hor]); } } if (strcmp(wrong_word_english[vert],"")==0 && strcmp(wrong_word_german[vert],"")!=0) strcpy(tosave_wrong_word_english[vert],"*"); } } void schange_title(void) { int position=0; do { switch(title[position]) { case ' ': tosave_title[position]='_'; break; default: tosave_title[position]=toupper(title[position]); break; } position++; } while(title[position]!=0); } void schange_language(void) { int position=0; do { switch(language[position]) { case ' ': tosave_language[position]='_'; break; default: tosave_language[position]=toupper(language[position]); break; } position++; } while(language[position]!=0); } void schange_subtitle(void) { int position=0; do { switch(subtitle[position]) { case ' ': tosave_subtitle[position]='_'; break; default: tosave_subtitle[position]=toupper(subtitle[position]); break; } position++; } while(subtitle[position]!=0); } void change_title(void) { int position=0; do { switch(title[position]) { case '_': title[position]=' '; break; default: title[position]=toupper(title[position]); break; } position++; } while(title[position]!=0); } void change_language(void) { int position=0; do { switch(language[position]) { case '_': language[position]=' '; break; default: language[position]=toupper(language[position]); break; } position++; } while(language[position]!=0); } void change_subtitle(void) { int position=0; do { switch(subtitle[position]) { case '_': subtitle[position]=' '; break; default: subtitle[position]=toupper(subtitle[position]); break; } position++; } while(subtitle[position]!=0); } void change_userger(void) { int position=0; do { switch(userger[position]) { case '_': userger[position]=' '; break; default: userger[position]=toupper(userger[position]); break; } position++; } while(userger[position]!=0); } void change_usereng(void) { int position=0; do { switch(usereng[position]) { case '_': usereng[position]=' '; break; default: usereng[position]=toupper(usereng[position]); break; } position++; } while(usereng[position]!=0); }
00000000 23 69 6e 63 6c 75 64 65 20 22 69 6e 63 2e 68 22 |#include "inc.h"| 00000010 0a 0a 65 78 74 65 72 6e 20 69 6e 74 20 70 6f 73 |..extern int pos| 00000020 69 74 69 6f 6e 3b 0a 65 78 74 65 72 6e 20 63 68 |ition;.extern ch| 00000030 61 72 20 75 73 65 72 67 65 72 5b 35 30 5d 3b 0a |ar userger[50];.| 00000040 65 78 74 65 72 6e 20 63 68 61 72 20 75 73 65 72 |extern char user| 00000050 65 6e 67 5b 35 30 5d 3b 0a 65 78 74 65 72 6e 20 |eng[50];.extern | 00000060 63 68 61 72 20 67 65 72 6d 61 6e 5b 31 37 30 5d |char german[170]| 00000070 5b 34 30 5d 3b 0a 65 78 74 65 72 6e 20 63 68 61 |[40];.extern cha| 00000080 72 20 65 6e 67 6c 69 73 68 5b 31 37 30 5d 5b 34 |r english[170][4| 00000090 30 5d 3b 0a 65 78 74 65 72 6e 20 63 68 61 72 20 |0];.extern char | 000000a0 77 72 6f 6e 67 5f 77 6f 72 64 5f 67 65 72 6d 61 |wrong_word_germa| 000000b0 6e 5b 31 37 30 5d 5b 34 30 5d 3b 0a 65 78 74 65 |n[170][40];.exte| 000000c0 72 6e 20 63 68 61 72 20 77 72 6f 6e 67 5f 77 6f |rn char wrong_wo| 000000d0 72 64 5f 65 6e 67 6c 69 73 68 5b 31 37 30 5d 5b |rd_english[170][| 000000e0 34 30 5d 3b 0a 65 78 74 65 72 6e 20 63 68 61 72 |40];.extern char| 000000f0 20 74 6f 73 61 76 65 5f 65 6e 67 6c 69 73 68 5b | tosave_english[| 00000100 31 37 30 5d 5b 34 30 5d 3b 0a 65 78 74 65 72 6e |170][40];.extern| 00000110 20 63 68 61 72 20 74 6f 73 61 76 65 5f 67 65 72 | char tosave_ger| 00000120 6d 61 6e 5b 31 37 30 5d 5b 34 30 5d 3b 0a 65 78 |man[170][40];.ex| 00000130 74 65 72 6e 20 63 68 61 72 20 74 6f 73 61 76 65 |tern char tosave| 00000140 5f 77 72 6f 6e 67 5f 77 6f 72 64 5f 65 6e 67 6c |_wrong_word_engl| 00000150 69 73 68 5b 31 37 30 5d 5b 34 30 5d 3b 0a 65 78 |ish[170][40];.ex| 00000160 74 65 72 6e 20 63 68 61 72 20 74 6f 73 61 76 65 |tern char tosave| 00000170 5f 77 72 6f 6e 67 5f 77 6f 72 64 5f 67 65 72 6d |_wrong_word_germ| 00000180 61 6e 5b 31 37 30 5d 5b 34 30 5d 3b 0a 65 78 74 |an[170][40];.ext| 00000190 65 72 6e 20 63 68 61 72 20 74 6f 73 61 76 65 5f |ern char tosave_| 000001a0 74 69 74 6c 65 5b 35 30 5d 3b 0a 65 78 74 65 72 |title[50];.exter| 000001b0 6e 20 63 68 61 72 20 74 6f 73 61 76 65 5f 6c 61 |n char tosave_la| 000001c0 6e 67 75 61 67 65 5b 35 30 5d 3b 0a 65 78 74 65 |nguage[50];.exte| 000001d0 72 6e 20 63 68 61 72 20 74 69 74 6c 65 5b 37 30 |rn char title[70| 000001e0 5d 3b 0a 65 78 74 65 72 6e 20 63 68 61 72 20 6c |];.extern char l| 000001f0 61 6e 67 75 61 67 65 5b 37 30 5d 3b 0a 65 78 74 |anguage[70];.ext| 00000200 65 72 6e 20 63 68 61 72 20 74 6f 73 61 76 65 5f |ern char tosave_| 00000210 73 75 62 74 69 74 6c 65 5b 35 30 5d 3b 0a 65 78 |subtitle[50];.ex| 00000220 74 65 72 6e 20 63 68 61 72 20 73 75 62 74 69 74 |tern char subtit| 00000230 6c 65 5b 37 30 5d 3b 0a 0a 0a 0a 0a 76 6f 69 64 |le[70];.....void| 00000240 20 63 68 61 6e 67 65 5f 67 65 72 6d 61 6e 28 76 | change_german(v| 00000250 6f 69 64 29 0a 7b 0a 69 6e 74 20 76 65 72 74 20 |oid).{.int vert | 00000260 3d 20 30 3b 0a 69 6e 74 20 68 6f 72 20 20 3d 20 |= 0;.int hor = | 00000270 30 3b 0a 0a 66 6f 72 28 76 65 72 74 3d 30 3b 76 |0;..for(vert=0;v| 00000280 65 72 74 3c 31 35 30 3b 76 65 72 74 2b 2b 29 0a |ert<150;vert++).| 00000290 20 20 7b 0a 20 20 20 20 66 6f 72 28 68 6f 72 3d | {. for(hor=| 000002a0 30 3b 68 6f 72 3c 33 31 3b 68 6f 72 2b 2b 29 0a |0;hor<31;hor++).| 000002b0 20 20 20 20 7b 0a 0a 20 20 73 77 69 74 63 68 28 | {.. switch(| 000002c0 67 65 72 6d 61 6e 5b 76 65 72 74 5d 5b 68 6f 72 |german[vert][hor| 000002d0 5d 29 0a 20 20 20 7b 0a 20 20 20 63 61 73 65 20 |]). {. case | 000002e0 27 5f 27 3a 0a 20 20 20 67 65 72 6d 61 6e 5b 76 |'_':. german[v| 000002f0 65 72 74 5d 5b 68 6f 72 5d 3d 27 20 27 3b 0a 20 |ert][hor]=' ';. | 00000300 20 20 62 72 65 61 6b 3b 0a 0a 20 20 20 63 61 73 | break;.. cas| 00000310 65 20 27 30 27 3a 0a 20 20 20 67 65 72 6d 61 6e |e '0':. german| 00000320 5b 76 65 72 74 5d 5b 68 6f 72 5d 3d 30 3b 0a 0a |[vert][hor]=0;..| 00000330 20 20 20 62 72 65 61 6b 3b 0a 0a 20 20 20 64 65 | break;.. de| 00000340 66 61 75 6c 74 3a 0a 20 20 20 67 65 72 6d 61 6e |fault:. german| 00000350 5b 76 65 72 74 5d 5b 68 6f 72 5d 3d 74 6f 75 70 |[vert][hor]=toup| 00000360 70 65 72 28 67 65 72 6d 61 6e 5b 76 65 72 74 5d |per(german[vert]| 00000370 5b 68 6f 72 5d 29 3b 0a 0a 20 20 20 62 72 65 61 |[hor]);.. brea| 00000380 6b 3b 0a 20 20 20 7d 0a 0a 20 7d 0a 0a 20 7d 0a |k;. }.. }.. }.| 00000390 20 7d 0a 0a 76 6f 69 64 20 63 68 61 6e 67 65 5f | }..void change_| 000003a0 65 6e 67 6c 69 73 68 28 76 6f 69 64 29 0a 7b 0a |english(void).{.| 000003b0 69 6e 74 20 76 65 72 74 20 3d 20 30 3b 0a 69 6e |int vert = 0;.in| 000003c0 74 20 68 6f 72 20 20 3d 20 30 3b 0a 0a 66 6f 72 |t hor = 0;..for| 000003d0 28 76 65 72 74 3d 30 3b 76 65 72 74 3c 31 35 30 |(vert=0;vert<150| 000003e0 3b 76 65 72 74 2b 2b 29 0a 20 20 7b 0a 20 20 20 |;vert++). {. | 000003f0 20 66 6f 72 28 68 6f 72 3d 30 3b 68 6f 72 3c 33 | for(hor=0;hor<3| 00000400 31 3b 68 6f 72 2b 2b 29 0a 20 20 20 20 7b 0a 0a |1;hor++). {..| 00000410 20 20 73 77 69 74 63 68 28 65 6e 67 6c 69 73 68 | switch(english| 00000420 5b 76 65 72 74 5d 5b 68 6f 72 5d 29 0a 20 20 20 |[vert][hor]). | 00000430 7b 0a 20 20 20 63 61 73 65 20 27 5f 27 3a 0a 20 |{. case '_':. | 00000440 20 20 65 6e 67 6c 69 73 68 5b 76 65 72 74 5d 5b | english[vert][| 00000450 68 6f 72 5d 3d 27 20 27 3b 0a 20 20 20 62 72 65 |hor]=' ';. bre| 00000460 61 6b 3b 0a 0a 20 20 20 63 61 73 65 20 27 30 27 |ak;.. case '0'| 00000470 3a 0a 20 20 20 65 6e 67 6c 69 73 68 5b 76 65 72 |:. english[ver| 00000480 74 5d 5b 68 6f 72 5d 3d 30 3b 0a 0a 20 20 20 62 |t][hor]=0;.. b| 00000490 72 65 61 6b 3b 0a 0a 20 20 20 64 65 66 61 75 6c |reak;.. defaul| 000004a0 74 3a 0a 20 20 20 65 6e 67 6c 69 73 68 5b 76 65 |t:. english[ve| 000004b0 72 74 5d 5b 68 6f 72 5d 3d 74 6f 75 70 70 65 72 |rt][hor]=toupper| 000004c0 28 65 6e 67 6c 69 73 68 5b 76 65 72 74 5d 5b 68 |(english[vert][h| 000004d0 6f 72 5d 29 3b 0a 0a 20 20 20 62 72 65 61 6b 3b |or]);.. break;| 000004e0 0a 20 20 20 7d 0a 0a 20 7d 0a 0a 20 7d 0a 20 7d |. }.. }.. }. }| 000004f0 0a 0a 0a 76 6f 69 64 20 73 63 68 61 6e 67 65 5f |...void schange_| 00000500 67 65 72 6d 61 6e 28 76 6f 69 64 29 0a 7b 0a 69 |german(void).{.i| 00000510 6e 74 20 76 65 72 74 20 3d 20 30 3b 0a 69 6e 74 |nt vert = 0;.int| 00000520 20 68 6f 72 20 20 3d 20 30 3b 0a 0a 0a 20 20 66 | hor = 0;... f| 00000530 6f 72 28 76 65 72 74 3d 30 3b 76 65 72 74 3c 31 |or(vert=0;vert<1| 00000540 35 30 3b 76 65 72 74 2b 2b 29 0a 20 20 7b 0a 20 |50;vert++). {. | 00000550 20 20 20 66 6f 72 28 68 6f 72 3d 30 3b 68 6f 72 | for(hor=0;hor| 00000560 3c 33 31 3b 68 6f 72 2b 2b 29 0a 20 20 20 20 7b |<31;hor++). {| 00000570 0a 20 20 20 20 20 20 73 77 69 74 63 68 28 67 65 |. switch(ge| 00000580 72 6d 61 6e 5b 76 65 72 74 5d 5b 68 6f 72 5d 29 |rman[vert][hor])| 00000590 0a 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 63 |. {. c| 000005a0 61 73 65 20 27 20 27 3a 0a 20 20 20 20 20 20 74 |ase ' ':. t| 000005b0 6f 73 61 76 65 5f 67 65 72 6d 61 6e 5b 76 65 72 |osave_german[ver| 000005c0 74 5d 5b 68 6f 72 5d 3d 27 5f 27 3b 0a 20 20 20 |t][hor]='_';. | 000005d0 20 20 20 62 72 65 61 6b 3b 0a 0a 20 20 20 20 20 | break;.. | 000005e0 20 64 65 66 61 75 6c 74 3a 0a 20 20 20 20 20 20 | default:. | 000005f0 74 6f 73 61 76 65 5f 67 65 72 6d 61 6e 5b 76 65 |tosave_german[ve| 00000600 72 74 5d 5b 68 6f 72 5d 3d 74 6f 75 70 70 65 72 |rt][hor]=toupper| 00000610 28 67 65 72 6d 61 6e 5b 76 65 72 74 5d 5b 68 6f |(german[vert][ho| 00000620 72 5d 29 3b 0a 20 20 20 20 20 20 20 7d 0a 0a 20 |r]);. }.. | 00000630 20 20 20 7d 0a 20 20 69 66 20 28 73 74 72 63 6d | }. if (strcm| 00000640 70 28 67 65 72 6d 61 6e 5b 76 65 72 74 5d 2c 22 |p(german[vert],"| 00000650 22 29 3d 3d 30 20 26 26 20 73 74 72 63 6d 70 28 |")==0 && strcmp(| 00000660 65 6e 67 6c 69 73 68 5b 76 65 72 74 5d 2c 22 22 |english[vert],""| 00000670 29 21 3d 30 29 0a 20 20 73 74 72 63 70 79 28 74 |)!=0). strcpy(t| 00000680 6f 73 61 76 65 5f 67 65 72 6d 61 6e 5b 76 65 72 |osave_german[ver| 00000690 74 5d 2c 22 2a 22 29 3b 0a 0a 20 20 7d 0a 0a 0a |t],"*");.. }...| 000006a0 0a 7d 0a 0a 0a 76 6f 69 64 20 73 63 68 61 6e 67 |.}...void schang| 000006b0 65 5f 65 6e 67 6c 69 73 68 28 76 6f 69 64 29 0a |e_english(void).| 000006c0 7b 0a 69 6e 74 20 76 65 72 74 20 3d 20 30 3b 0a |{.int vert = 0;.| 000006d0 69 6e 74 20 68 6f 72 20 20 3d 20 30 3b 0a 0a 0a |int hor = 0;...| 000006e0 20 20 66 6f 72 28 76 65 72 74 3d 30 3b 76 65 72 | for(vert=0;ver| 000006f0 74 3c 31 35 30 3b 76 65 72 74 2b 2b 29 0a 20 20 |t<150;vert++). | 00000700 7b 0a 20 20 20 20 66 6f 72 28 68 6f 72 3d 30 3b |{. for(hor=0;| 00000710 68 6f 72 3c 33 31 3b 68 6f 72 2b 2b 29 0a 20 20 |hor<31;hor++). | 00000720 20 20 7b 0a 20 20 20 20 20 20 73 77 69 74 63 68 | {. switch| 00000730 28 65 6e 67 6c 69 73 68 5b 76 65 72 74 5d 5b 68 |(english[vert][h| 00000740 6f 72 5d 29 0a 20 20 20 20 20 20 7b 0a 20 20 20 |or]). {. | 00000750 20 20 20 63 61 73 65 20 27 20 27 3a 0a 20 20 20 | case ' ':. | 00000760 20 20 20 74 6f 73 61 76 65 5f 65 6e 67 6c 69 73 | tosave_englis| 00000770 68 5b 76 65 72 74 5d 5b 68 6f 72 5d 3d 27 5f 27 |h[vert][hor]='_'| 00000780 3b 0a 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 0a |;. break;..| 00000790 20 20 20 20 20 20 64 65 66 61 75 6c 74 3a 0a 20 | default:. | 000007a0 20 20 20 20 20 74 6f 73 61 76 65 5f 65 6e 67 6c | tosave_engl| 000007b0 69 73 68 5b 76 65 72 74 5d 5b 68 6f 72 5d 3d 74 |ish[vert][hor]=t| 000007c0 6f 75 70 70 65 72 28 65 6e 67 6c 69 73 68 5b 76 |oupper(english[v| 000007d0 65 72 74 5d 5b 68 6f 72 5d 29 3b 0a 20 20 20 20 |ert][hor]);. | 000007e0 20 20 20 7d 0a 0a 20 20 20 20 7d 0a 20 20 69 66 | }.. }. if| 000007f0 20 28 73 74 72 63 6d 70 28 65 6e 67 6c 69 73 68 | (strcmp(english| 00000800 5b 76 65 72 74 5d 2c 22 22 29 3d 3d 30 20 26 26 |[vert],"")==0 &&| 00000810 20 73 74 72 63 6d 70 28 67 65 72 6d 61 6e 5b 76 | strcmp(german[v| 00000820 65 72 74 5d 2c 22 22 29 21 3d 30 29 0a 20 20 73 |ert],"")!=0). s| 00000830 74 72 63 70 79 28 74 6f 73 61 76 65 5f 65 6e 67 |trcpy(tosave_eng| 00000840 6c 69 73 68 5b 76 65 72 74 5d 2c 22 2a 22 29 3b |lish[vert],"*");| 00000850 0a 20 20 7d 0a 0a 7d 0a 0a 76 6f 69 64 20 73 63 |. }..}..void sc| 00000860 68 61 6e 67 65 5f 77 72 6f 6e 67 5f 77 6f 72 64 |hange_wrong_word| 00000870 5f 67 65 72 6d 61 6e 28 76 6f 69 64 29 0a 7b 0a |_german(void).{.| 00000880 69 6e 74 20 76 65 72 74 20 3d 20 30 3b 0a 69 6e |int vert = 0;.in| 00000890 74 20 68 6f 72 20 20 3d 20 30 3b 0a 0a 0a 20 20 |t hor = 0;... | 000008a0 66 6f 72 28 76 65 72 74 3d 30 3b 76 65 72 74 3c |for(vert=0;vert<| 000008b0 31 35 30 3b 76 65 72 74 2b 2b 29 0a 20 20 7b 0a |150;vert++). {.| 000008c0 20 20 20 20 66 6f 72 28 68 6f 72 3d 30 3b 68 6f | for(hor=0;ho| 000008d0 72 3c 33 31 3b 68 6f 72 2b 2b 29 0a 20 20 20 20 |r<31;hor++). | 000008e0 7b 0a 20 20 20 20 20 20 73 77 69 74 63 68 28 77 |{. switch(w| 000008f0 72 6f 6e 67 5f 77 6f 72 64 5f 67 65 72 6d 61 6e |rong_word_german| 00000900 5b 76 65 72 74 5d 5b 68 6f 72 5d 29 0a 20 20 20 |[vert][hor]). | 00000910 20 20 20 7b 0a 20 20 20 20 20 20 63 61 73 65 20 | {. case | 00000920 27 20 27 3a 0a 20 20 20 20 20 20 74 6f 73 61 76 |' ':. tosav| 00000930 65 5f 77 72 6f 6e 67 5f 77 6f 72 64 5f 67 65 72 |e_wrong_word_ger| 00000940 6d 61 6e 5b 76 65 72 74 5d 5b 68 6f 72 5d 3d 27 |man[vert][hor]='| 00000950 5f 27 3b 0a 20 20 20 20 20 20 62 72 65 61 6b 3b |_';. break;| 00000960 0a 0a 20 20 20 20 20 20 64 65 66 61 75 6c 74 3a |.. default:| 00000970 0a 20 20 20 20 20 20 74 6f 73 61 76 65 5f 77 72 |. tosave_wr| 00000980 6f 6e 67 5f 77 6f 72 64 5f 67 65 72 6d 61 6e 5b |ong_word_german[| 00000990 76 65 72 74 5d 5b 68 6f 72 5d 3d 74 6f 75 70 70 |vert][hor]=toupp| 000009a0 65 72 28 77 72 6f 6e 67 5f 77 6f 72 64 5f 67 65 |er(wrong_word_ge| 000009b0 72 6d 61 6e 5b 76 65 72 74 5d 5b 68 6f 72 5d 29 |rman[vert][hor])| 000009c0 3b 0a 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 |;. }.. | 000009d0 7d 0a 20 20 69 66 20 28 73 74 72 63 6d 70 28 77 |}. if (strcmp(w| 000009e0 72 6f 6e 67 5f 77 6f 72 64 5f 67 65 72 6d 61 6e |rong_word_german| 000009f0 5b 76 65 72 74 5d 2c 22 22 29 3d 3d 30 20 26 26 |[vert],"")==0 &&| 00000a00 20 73 74 72 63 6d 70 28 77 72 6f 6e 67 5f 77 6f | strcmp(wrong_wo| 00000a10 72 64 5f 65 6e 67 6c 69 73 68 5b 76 65 72 74 5d |rd_english[vert]| 00000a20 2c 22 22 29 21 3d 30 29 0a 20 20 73 74 72 63 70 |,"")!=0). strcp| 00000a30 79 28 74 6f 73 61 76 65 5f 77 72 6f 6e 67 5f 77 |y(tosave_wrong_w| 00000a40 6f 72 64 5f 67 65 72 6d 61 6e 5b 76 65 72 74 5d |ord_german[vert]| 00000a50 2c 22 2a 22 29 3b 0a 20 20 7d 0a 0a 7d 0a 0a 0a |,"*");. }..}...| 00000a60 76 6f 69 64 20 73 63 68 61 6e 67 65 5f 77 72 6f |void schange_wro| 00000a70 6e 67 5f 77 6f 72 64 5f 65 6e 67 6c 69 73 68 28 |ng_word_english(| 00000a80 76 6f 69 64 29 0a 7b 0a 69 6e 74 20 76 65 72 74 |void).{.int vert| 00000a90 20 3d 20 30 3b 0a 69 6e 74 20 68 6f 72 20 20 3d | = 0;.int hor =| 00000aa0 20 30 3b 0a 0a 0a 20 20 66 6f 72 28 76 65 72 74 | 0;... for(vert| 00000ab0 3d 30 3b 76 65 72 74 3c 31 35 30 3b 76 65 72 74 |=0;vert<150;vert| 00000ac0 2b 2b 29 0a 20 20 7b 0a 20 20 20 20 66 6f 72 28 |++). {. for(| 00000ad0 68 6f 72 3d 30 3b 68 6f 72 3c 33 31 3b 68 6f 72 |hor=0;hor<31;hor| 00000ae0 2b 2b 29 0a 20 20 20 20 7b 0a 20 20 20 20 20 20 |++). {. | 00000af0 73 77 69 74 63 68 28 77 72 6f 6e 67 5f 77 6f 72 |switch(wrong_wor| 00000b00 64 5f 65 6e 67 6c 69 73 68 5b 76 65 72 74 5d 5b |d_english[vert][| 00000b10 68 6f 72 5d 29 0a 20 20 20 20 20 20 7b 0a 20 20 |hor]). {. | 00000b20 20 20 20 20 63 61 73 65 20 27 20 27 3a 0a 20 20 | case ' ':. | 00000b30 20 20 20 20 74 6f 73 61 76 65 5f 77 72 6f 6e 67 | tosave_wrong| 00000b40 5f 77 6f 72 64 5f 65 6e 67 6c 69 73 68 5b 76 65 |_word_english[ve| 00000b50 72 74 5d 5b 68 6f 72 5d 3d 27 5f 27 3b 0a 20 20 |rt][hor]='_';. | 00000b60 20 20 20 20 62 72 65 61 6b 3b 0a 0a 20 20 20 20 | break;.. | 00000b70 20 20 64 65 66 61 75 6c 74 3a 0a 20 20 20 20 20 | default:. | 00000b80 20 74 6f 73 61 76 65 5f 77 72 6f 6e 67 5f 77 6f | tosave_wrong_wo| 00000b90 72 64 5f 65 6e 67 6c 69 73 68 5b 76 65 72 74 5d |rd_english[vert]| 00000ba0 5b 68 6f 72 5d 3d 74 6f 75 70 70 65 72 28 77 72 |[hor]=toupper(wr| 00000bb0 6f 6e 67 5f 77 6f 72 64 5f 65 6e 67 6c 69 73 68 |ong_word_english| 00000bc0 5b 76 65 72 74 5d 5b 68 6f 72 5d 29 3b 0a 20 20 |[vert][hor]);. | 00000bd0 20 20 20 20 20 7d 0a 0a 20 20 20 20 7d 0a 20 20 | }.. }. | 00000be0 20 69 66 20 28 73 74 72 63 6d 70 28 77 72 6f 6e | if (strcmp(wron| 00000bf0 67 5f 77 6f 72 64 5f 65 6e 67 6c 69 73 68 5b 76 |g_word_english[v| 00000c00 65 72 74 5d 2c 22 22 29 3d 3d 30 20 26 26 20 73 |ert],"")==0 && s| 00000c10 74 72 63 6d 70 28 77 72 6f 6e 67 5f 77 6f 72 64 |trcmp(wrong_word| 00000c20 5f 67 65 72 6d 61 6e 5b 76 65 72 74 5d 2c 22 22 |_german[vert],""| 00000c30 29 21 3d 30 29 0a 20 20 73 74 72 63 70 79 28 74 |)!=0). strcpy(t| 00000c40 6f 73 61 76 65 5f 77 72 6f 6e 67 5f 77 6f 72 64 |osave_wrong_word| 00000c50 5f 65 6e 67 6c 69 73 68 5b 76 65 72 74 5d 2c 22 |_english[vert],"| 00000c60 2a 22 29 3b 0a 20 20 7d 0a 0a 7d 0a 0a 0a 0a 20 |*");. }..}.... | 00000c70 20 76 6f 69 64 20 73 63 68 61 6e 67 65 5f 74 69 | void schange_ti| 00000c80 74 6c 65 28 76 6f 69 64 29 0a 7b 0a 69 6e 74 20 |tle(void).{.int | 00000c90 70 6f 73 69 74 69 6f 6e 3d 30 3b 0a 0a 64 6f 0a |position=0;..do.| 00000ca0 20 7b 0a 0a 20 20 73 77 69 74 63 68 28 74 69 74 | {.. switch(tit| 00000cb0 6c 65 5b 70 6f 73 69 74 69 6f 6e 5d 29 0a 20 20 |le[position]). | 00000cc0 20 7b 0a 20 20 20 63 61 73 65 20 27 20 27 3a 0a | {. case ' ':.| 00000cd0 20 20 20 74 6f 73 61 76 65 5f 74 69 74 6c 65 5b | tosave_title[| 00000ce0 70 6f 73 69 74 69 6f 6e 5d 3d 27 5f 27 3b 0a 20 |position]='_';. | 00000cf0 20 20 62 72 65 61 6b 3b 0a 0a 20 20 20 64 65 66 | break;.. def| 00000d00 61 75 6c 74 3a 0a 20 20 20 74 6f 73 61 76 65 5f |ault:. tosave_| 00000d10 74 69 74 6c 65 5b 70 6f 73 69 74 69 6f 6e 5d 3d |title[position]=| 00000d20 74 6f 75 70 70 65 72 28 74 69 74 6c 65 5b 70 6f |toupper(title[po| 00000d30 73 69 74 69 6f 6e 5d 29 3b 0a 20 20 20 62 72 65 |sition]);. bre| 00000d40 61 6b 3b 0a 20 20 20 7d 0a 20 70 6f 73 69 74 69 |ak;. }. positi| 00000d50 6f 6e 2b 2b 3b 0a 20 7d 0a 77 68 69 6c 65 28 74 |on++;. }.while(t| 00000d60 69 74 6c 65 5b 70 6f 73 69 74 69 6f 6e 5d 21 3d |itle[position]!=| 00000d70 30 29 3b 0a 20 7d 0a 0a 76 6f 69 64 20 73 63 68 |0);. }..void sch| 00000d80 61 6e 67 65 5f 6c 61 6e 67 75 61 67 65 28 76 6f |ange_language(vo| 00000d90 69 64 29 0a 7b 0a 69 6e 74 20 70 6f 73 69 74 69 |id).{.int positi| 00000da0 6f 6e 3d 30 3b 0a 0a 64 6f 0a 20 7b 0a 0a 20 20 |on=0;..do. {.. | 00000db0 73 77 69 74 63 68 28 6c 61 6e 67 75 61 67 65 5b |switch(language[| 00000dc0 70 6f 73 69 74 69 6f 6e 5d 29 0a 20 20 20 7b 0a |position]). {.| 00000dd0 20 20 20 63 61 73 65 20 27 20 27 3a 0a 20 20 20 | case ' ':. | 00000de0 74 6f 73 61 76 65 5f 6c 61 6e 67 75 61 67 65 5b |tosave_language[| 00000df0 70 6f 73 69 74 69 6f 6e 5d 3d 27 5f 27 3b 0a 20 |position]='_';. | 00000e00 20 20 62 72 65 61 6b 3b 0a 0a 20 20 20 64 65 66 | break;.. def| 00000e10 61 75 6c 74 3a 0a 20 20 20 74 6f 73 61 76 65 5f |ault:. tosave_| 00000e20 6c 61 6e 67 75 61 67 65 5b 70 6f 73 69 74 69 6f |language[positio| 00000e30 6e 5d 3d 74 6f 75 70 70 65 72 28 6c 61 6e 67 75 |n]=toupper(langu| 00000e40 61 67 65 5b 70 6f 73 69 74 69 6f 6e 5d 29 3b 0a |age[position]);.| 00000e50 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 7d 0a 20 | break;. }. | 00000e60 70 6f 73 69 74 69 6f 6e 2b 2b 3b 0a 20 7d 0a 77 |position++;. }.w| 00000e70 68 69 6c 65 28 6c 61 6e 67 75 61 67 65 5b 70 6f |hile(language[po| 00000e80 73 69 74 69 6f 6e 5d 21 3d 30 29 3b 0a 20 7d 0a |sition]!=0);. }.| 00000e90 0a 20 20 76 6f 69 64 20 73 63 68 61 6e 67 65 5f |. void schange_| 00000ea0 73 75 62 74 69 74 6c 65 28 76 6f 69 64 29 0a 7b |subtitle(void).{| 00000eb0 0a 69 6e 74 20 70 6f 73 69 74 69 6f 6e 3d 30 3b |.int position=0;| 00000ec0 0a 0a 64 6f 0a 20 7b 0a 0a 20 20 73 77 69 74 63 |..do. {.. switc| 00000ed0 68 28 73 75 62 74 69 74 6c 65 5b 70 6f 73 69 74 |h(subtitle[posit| 00000ee0 69 6f 6e 5d 29 0a 20 20 20 7b 0a 20 20 20 63 61 |ion]). {. ca| 00000ef0 73 65 20 27 20 27 3a 0a 20 20 20 74 6f 73 61 76 |se ' ':. tosav| 00000f00 65 5f 73 75 62 74 69 74 6c 65 5b 70 6f 73 69 74 |e_subtitle[posit| 00000f10 69 6f 6e 5d 3d 27 5f 27 3b 0a 20 20 20 62 72 65 |ion]='_';. bre| 00000f20 61 6b 3b 0a 0a 20 20 20 64 65 66 61 75 6c 74 3a |ak;.. default:| 00000f30 0a 20 20 20 74 6f 73 61 76 65 5f 73 75 62 74 69 |. tosave_subti| 00000f40 74 6c 65 5b 70 6f 73 69 74 69 6f 6e 5d 3d 74 6f |tle[position]=to| 00000f50 75 70 70 65 72 28 73 75 62 74 69 74 6c 65 5b 70 |upper(subtitle[p| 00000f60 6f 73 69 74 69 6f 6e 5d 29 3b 0a 20 20 20 62 72 |osition]);. br| 00000f70 65 61 6b 3b 0a 20 20 20 7d 0a 20 70 6f 73 69 74 |eak;. }. posit| 00000f80 69 6f 6e 2b 2b 3b 0a 20 7d 0a 77 68 69 6c 65 28 |ion++;. }.while(| 00000f90 73 75 62 74 69 74 6c 65 5b 70 6f 73 69 74 69 6f |subtitle[positio| 00000fa0 6e 5d 21 3d 30 29 3b 0a 20 7d 0a 0a 0a 20 20 76 |n]!=0);. }... v| 00000fb0 6f 69 64 20 63 68 61 6e 67 65 5f 74 69 74 6c 65 |oid change_title| 00000fc0 28 76 6f 69 64 29 0a 7b 0a 69 6e 74 20 70 6f 73 |(void).{.int pos| 00000fd0 69 74 69 6f 6e 3d 30 3b 0a 0a 64 6f 0a 20 7b 0a |ition=0;..do. {.| 00000fe0 0a 20 20 73 77 69 74 63 68 28 74 69 74 6c 65 5b |. switch(title[| 00000ff0 70 6f 73 69 74 69 6f 6e 5d 29 0a 20 20 20 7b 0a |position]). {.| 00001000 20 20 20 63 61 73 65 20 27 5f 27 3a 0a 20 20 20 | case '_':. | 00001010 74 69 74 6c 65 5b 70 6f 73 69 74 69 6f 6e 5d 3d |title[position]=| 00001020 27 20 27 3b 0a 20 20 20 62 72 65 61 6b 3b 0a 0a |' ';. break;..| 00001030 20 20 20 64 65 66 61 75 6c 74 3a 0a 20 20 20 74 | default:. t| 00001040 69 74 6c 65 5b 70 6f 73 69 74 69 6f 6e 5d 3d 74 |itle[position]=t| 00001050 6f 75 70 70 65 72 28 74 69 74 6c 65 5b 70 6f 73 |oupper(title[pos| 00001060 69 74 69 6f 6e 5d 29 3b 0a 20 20 20 62 72 65 61 |ition]);. brea| 00001070 6b 3b 0a 20 20 20 7d 0a 20 70 6f 73 69 74 69 6f |k;. }. positio| 00001080 6e 2b 2b 3b 0a 20 7d 0a 77 68 69 6c 65 28 74 69 |n++;. }.while(ti| 00001090 74 6c 65 5b 70 6f 73 69 74 69 6f 6e 5d 21 3d 30 |tle[position]!=0| 000010a0 29 3b 0a 20 7d 0a 0a 76 6f 69 64 20 63 68 61 6e |);. }..void chan| 000010b0 67 65 5f 6c 61 6e 67 75 61 67 65 28 76 6f 69 64 |ge_language(void| 000010c0 29 0a 7b 0a 69 6e 74 20 70 6f 73 69 74 69 6f 6e |).{.int position| 000010d0 3d 30 3b 0a 0a 64 6f 0a 20 7b 0a 0a 20 20 73 77 |=0;..do. {.. sw| 000010e0 69 74 63 68 28 6c 61 6e 67 75 61 67 65 5b 70 6f |itch(language[po| 000010f0 73 69 74 69 6f 6e 5d 29 0a 20 20 20 7b 0a 20 20 |sition]). {. | 00001100 20 63 61 73 65 20 27 5f 27 3a 0a 20 20 20 6c 61 | case '_':. la| 00001110 6e 67 75 61 67 65 5b 70 6f 73 69 74 69 6f 6e 5d |nguage[position]| 00001120 3d 27 20 27 3b 0a 20 20 20 62 72 65 61 6b 3b 0a |=' ';. break;.| 00001130 0a 20 20 20 64 65 66 61 75 6c 74 3a 0a 20 20 20 |. default:. | 00001140 6c 61 6e 67 75 61 67 65 5b 70 6f 73 69 74 69 6f |language[positio| 00001150 6e 5d 3d 74 6f 75 70 70 65 72 28 6c 61 6e 67 75 |n]=toupper(langu| 00001160 61 67 65 5b 70 6f 73 69 74 69 6f 6e 5d 29 3b 0a |age[position]);.| 00001170 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 7d 0a 20 | break;. }. | 00001180 70 6f 73 69 74 69 6f 6e 2b 2b 3b 0a 20 7d 0a 77 |position++;. }.w| 00001190 68 69 6c 65 28 6c 61 6e 67 75 61 67 65 5b 70 6f |hile(language[po| 000011a0 73 69 74 69 6f 6e 5d 21 3d 30 29 3b 0a 20 7d 0a |sition]!=0);. }.| 000011b0 0a 20 20 76 6f 69 64 20 63 68 61 6e 67 65 5f 73 |. void change_s| 000011c0 75 62 74 69 74 6c 65 28 76 6f 69 64 29 0a 7b 0a |ubtitle(void).{.| 000011d0 69 6e 74 20 70 6f 73 69 74 69 6f 6e 3d 30 3b 0a |int position=0;.| 000011e0 0a 64 6f 0a 20 7b 0a 0a 20 20 73 77 69 74 63 68 |.do. {.. switch| 000011f0 28 73 75 62 74 69 74 6c 65 5b 70 6f 73 69 74 69 |(subtitle[positi| 00001200 6f 6e 5d 29 0a 20 20 20 7b 0a 20 20 20 63 61 73 |on]). {. cas| 00001210 65 20 27 5f 27 3a 0a 20 20 20 73 75 62 74 69 74 |e '_':. subtit| 00001220 6c 65 5b 70 6f 73 69 74 69 6f 6e 5d 3d 27 20 27 |le[position]=' '| 00001230 3b 0a 20 20 20 62 72 65 61 6b 3b 0a 0a 20 20 20 |;. break;.. | 00001240 64 65 66 61 75 6c 74 3a 0a 20 20 20 73 75 62 74 |default:. subt| 00001250 69 74 6c 65 5b 70 6f 73 69 74 69 6f 6e 5d 3d 74 |itle[position]=t| 00001260 6f 75 70 70 65 72 28 73 75 62 74 69 74 6c 65 5b |oupper(subtitle[| 00001270 70 6f 73 69 74 69 6f 6e 5d 29 3b 0a 20 20 20 62 |position]);. b| 00001280 72 65 61 6b 3b 0a 20 20 20 7d 0a 20 70 6f 73 69 |reak;. }. posi| 00001290 74 69 6f 6e 2b 2b 3b 0a 20 7d 0a 77 68 69 6c 65 |tion++;. }.while| 000012a0 28 73 75 62 74 69 74 6c 65 5b 70 6f 73 69 74 69 |(subtitle[positi| 000012b0 6f 6e 5d 21 3d 30 29 3b 0a 20 7d 0a 0a 76 6f 69 |on]!=0);. }..voi| 000012c0 64 20 63 68 61 6e 67 65 5f 75 73 65 72 67 65 72 |d change_userger| 000012d0 28 76 6f 69 64 29 0a 7b 0a 69 6e 74 20 70 6f 73 |(void).{.int pos| 000012e0 69 74 69 6f 6e 3d 30 3b 0a 0a 64 6f 0a 20 7b 0a |ition=0;..do. {.| 000012f0 0a 20 20 73 77 69 74 63 68 28 75 73 65 72 67 65 |. switch(userge| 00001300 72 5b 70 6f 73 69 74 69 6f 6e 5d 29 0a 20 20 20 |r[position]). | 00001310 7b 0a 20 20 20 63 61 73 65 20 27 5f 27 3a 0a 20 |{. case '_':. | 00001320 20 20 75 73 65 72 67 65 72 5b 70 6f 73 69 74 69 | userger[positi| 00001330 6f 6e 5d 3d 27 20 27 3b 0a 20 20 20 62 72 65 61 |on]=' ';. brea| 00001340 6b 3b 0a 0a 20 20 20 64 65 66 61 75 6c 74 3a 0a |k;.. default:.| 00001350 20 20 20 75 73 65 72 67 65 72 5b 70 6f 73 69 74 | userger[posit| 00001360 69 6f 6e 5d 3d 74 6f 75 70 70 65 72 28 75 73 65 |ion]=toupper(use| 00001370 72 67 65 72 5b 70 6f 73 69 74 69 6f 6e 5d 29 3b |rger[position]);| 00001380 0a 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 7d 0a |. break;. }.| 00001390 20 70 6f 73 69 74 69 6f 6e 2b 2b 3b 0a 20 7d 0a | position++;. }.| 000013a0 77 68 69 6c 65 28 75 73 65 72 67 65 72 5b 70 6f |while(userger[po| 000013b0 73 69 74 69 6f 6e 5d 21 3d 30 29 3b 0a 20 7d 0a |sition]!=0);. }.| 000013c0 0a 76 6f 69 64 20 63 68 61 6e 67 65 5f 75 73 65 |.void change_use| 000013d0 72 65 6e 67 28 76 6f 69 64 29 0a 7b 0a 69 6e 74 |reng(void).{.int| 000013e0 20 70 6f 73 69 74 69 6f 6e 3d 30 3b 0a 0a 64 6f | position=0;..do| 000013f0 0a 20 7b 0a 0a 20 20 73 77 69 74 63 68 28 75 73 |. {.. switch(us| 00001400 65 72 65 6e 67 5b 70 6f 73 69 74 69 6f 6e 5d 29 |ereng[position])| 00001410 0a 20 20 20 7b 0a 20 20 20 63 61 73 65 20 27 5f |. {. case '_| 00001420 27 3a 0a 20 20 20 75 73 65 72 65 6e 67 5b 70 6f |':. usereng[po| 00001430 73 69 74 69 6f 6e 5d 3d 27 20 27 3b 0a 20 20 20 |sition]=' ';. | 00001440 62 72 65 61 6b 3b 0a 0a 20 20 20 64 65 66 61 75 |break;.. defau| 00001450 6c 74 3a 0a 20 20 20 75 73 65 72 65 6e 67 5b 70 |lt:. usereng[p| 00001460 6f 73 69 74 69 6f 6e 5d 3d 74 6f 75 70 70 65 72 |osition]=toupper| 00001470 28 75 73 65 72 65 6e 67 5b 70 6f 73 69 74 69 6f |(usereng[positio| 00001480 6e 5d 29 3b 0a 20 20 20 62 72 65 61 6b 3b 0a 20 |n]);. break;. | 00001490 20 20 7d 0a 20 70 6f 73 69 74 69 6f 6e 2b 2b 3b | }. position++;| 000014a0 0a 20 7d 0a 77 68 69 6c 65 28 75 73 65 72 65 6e |. }.while(useren| 000014b0 67 5b 70 6f 73 69 74 69 6f 6e 5d 21 3d 30 29 3b |g[position]!=0);| 000014c0 0a 20 7d 0a 0a 0a 0a 0a 0a 0a |. }.......| 000014ca