diff options
Diffstat (limited to 'engines/avalanche/scr_1.cpp')
-rw-r--r-- | engines/avalanche/scr_1.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/engines/avalanche/scr_1.cpp b/engines/avalanche/scr_1.cpp index 5d8bc7d23b..bb5fa1d84f 100644 --- a/engines/avalanche/scr_1.cpp +++ b/engines/avalanche/scr_1.cpp @@ -46,7 +46,6 @@ void save() { file<atype> f; word fv; atype a /*absolute $B800:0*/; - ; assign(f, "TEXT1.SCR"); rewrite(f); f << a; @@ -54,14 +53,12 @@ void save() { } void centre(byte y, string z) { - ; gotoxy(40 - length(z) / 2, y); output << z; } int main(int argc, const char *argv[]) { pio_initialize(argc, argv); - ; /* write('Title?'); readln(title); write('Font?'); readln(fn); */ textattr = 0; @@ -69,7 +66,6 @@ int main(int argc, const char *argv[]) { title = "Bug Alert!"; fn = ""; for (xx = 1; xx <= 77; xx ++) { - ; gotoxy(Random(80) + 1, Random(24) + 1); switch (Random(2)) { case 0: @@ -100,11 +96,8 @@ int main(int argc, const char *argv[]) { f >> font; close(f); for (y = 0; y <= 3; y ++) { - ; for (x = 1; x <= length(title); x ++) { - ; for (xx = 7; xx >= 0; xx --) { - ; code = (byte)(((1 << xx) & font[title[x]][y * 2]) > 0) + (byte)(((1 << xx) & font[title[x]][y * 2 + 1]) > 0) * 2; gotoxy(1 + x * 8 - xx, y + 1); |