aboutsummaryrefslogtreecommitdiff
path: root/engines/avalanche/scr_4.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/avalanche/scr_4.cpp')
-rw-r--r--engines/avalanche/scr_4.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/engines/avalanche/scr_4.cpp b/engines/avalanche/scr_4.cpp
index befde2a7f3..05e5fdcc3f 100644
--- a/engines/avalanche/scr_4.cpp
+++ b/engines/avalanche/scr_4.cpp
@@ -41,23 +41,17 @@ byte code;
void centre(byte y, string z) {
byte fv;
- ;
for (fv = 1; fv <= length(z); fv ++) {
- ;
gotoxy(39 - length(z) / 2 + fv, y);
if (z[fv] != '\40') output << z[fv];
}
}
void line(byte cy, string title) {
- ;
for (y = 0; y <= 6; y ++) {
- ;
qq = "";
for (x = 1; x <= length(title); x ++) {
- ;
for (xx = 3; xx >= 0; xx --) {
- ;
code = (byte)(((1 << (xx * 2)) & font[title[x]][y]) > 0) +
(byte)(((1 << (xx * 2 + 1)) & font[title[x]][y]) > 0) * 2;
qq = qq + codes[code + 1 - 1];
@@ -71,12 +65,10 @@ void big_t() {
text t;
string x;
byte y;
- ;
assign(t, "c:\\avalot\\t.txt");
reset(t);
y = 1;
while (! eof(t)) {
- ;
t >> x >> NL;
gotoxy(1, y);
output << x;
@@ -86,7 +78,6 @@ void big_t() {
void box(byte x1, byte y1, byte x2, byte y2, string z) {
byte fv;
- ;
gotoxy(x1, y1);
output << z[1]; /* tl */
gotoxy(x2, y1);
@@ -96,7 +87,6 @@ void box(byte x1, byte y1, byte x2, byte y2, string z) {
gotoxy(x2, y2);
output << z[4]; /* br */
for (fv = y1 + 1; fv <= y2 - 1; fv ++) {
- ;
gotoxy(x1, fv);
output << z[5]; /* verticals */
gotoxy(x2, fv);
@@ -110,7 +100,6 @@ void box(byte x1, byte y1, byte x2, byte y2, string z) {
int main(int argc, const char *argv[]) {
pio_initialize(argc, argv);
- ;
textattr = 26;
clrscr;
assign(f, "c:\\thomas\\ttsmall.fnt");