diff options
author | uruk | 2013-06-18 11:50:18 +0200 |
---|---|---|
committer | uruk | 2013-06-18 11:50:18 +0200 |
commit | f974bccbb0071c61521f072ecf803cb40910e8ab (patch) | |
tree | dc02d99c06d3b9c11e68f080de2c50b75f03f3ae /engines/avalanche/chunkxfi.cpp | |
parent | 38bc20a0763f0f83ea3c0a94a68a1edea0d08514 (diff) | |
download | scummvm-rg350-f974bccbb0071c61521f072ecf803cb40910e8ab.tar.gz scummvm-rg350-f974bccbb0071c61521f072ecf803cb40910e8ab.tar.bz2 scummvm-rg350-f974bccbb0071c61521f072ecf803cb40910e8ab.zip |
AVALANCHE: Remove empty lines with only ";" characters in them.
Diffstat (limited to 'engines/avalanche/chunkxfi.cpp')
-rw-r--r-- | engines/avalanche/chunkxfi.cpp | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/engines/avalanche/chunkxfi.cpp b/engines/avalanche/chunkxfi.cpp index b28add0bb7..7a5df66941 100644 --- a/engines/avalanche/chunkxfi.cpp +++ b/engines/avalanche/chunkxfi.cpp @@ -57,7 +57,6 @@ array<0, arraysize, byte> aa; void finder() { char r; integer x, y; - ; setfillstyle(0, 0); setcolor(14); x = 320; @@ -69,7 +68,6 @@ void finder() { line(x - 20, y, x + 20, y); line(x, y - 20, x, y + 20); do { - ; } while (!keypressed()); line(x - 20, y, x + 20, y); line(x, y - 20, x, y + 20); @@ -113,13 +111,11 @@ void load() { byte a1 /*absolute $A400:800*/; byte bit; untyped_file f; - ; assign(f, "place47.avd"); reset(f, 1); seek(f, 177); for (bit = 0; bit <= 3; bit ++) { - ; port[0x3c4] = 2; port[0x3ce] = 4; port[0x3c5] = 1 << bit; @@ -140,13 +136,11 @@ void loadtemp() { byte a0 /*absolute $A000:800*/; byte bit; untyped_file f; - ; assign(f, "chunkbi9.avd"); reset(f, 1); seek(f, 177); for (bit = 0; bit <= 3; bit ++) { - ; port[0x3c4] = 2; port[0x3ce] = 4; port[0x3c5] = 1 << bit; @@ -161,7 +155,6 @@ void loadtemp() { } void open_chunk() { - ; assign(f, "chunk47.avd"); rewrite(f, 1); blockwrite(f, chunkheader, sizeof(chunkheader)); @@ -172,7 +165,6 @@ void open_chunk() { } void close_chunk() { - ; seek(f, 45); blockwrite(f, offsets, num_chunks * 4); /* make sure they're right! */ close(f); @@ -182,9 +174,7 @@ void mgrab(integer x1, integer y1, integer x2, integer y2, word size) { integer yy; word aapos; byte length, bit; - ; if (size > arraysize) { - ; restorecrtmode(); output << "*** SORRY! *** Increase the arraysize constant to be greater" << NL; output << " than " << size << '.' << NL; @@ -196,13 +186,11 @@ void mgrab(integer x1, integer y1, integer x2, integer y2, word size) { length = x2 - x1; for (bit = 0; bit <= 3; bit ++) { - ; port[0x3c4] = 2; port[0x3ce] = 4; port[0x3c5] = 1 << bit; port[0x3cf] = bit; for (yy = y1; yy <= y2; yy ++) { - ; move(mem[0xa400 * yy * 80 + x1], aa[aapos], length); aapos += length; } @@ -218,7 +206,6 @@ void grab(integer x1, integer y1, integer x2, integer y2, integer realx, integer word s; pointer p; chunkblocktype ch; - ; /* rectangle(x1,y1,x2,y2); exit;*/ this_chunk += 1; offsets[this_chunk] = filepos(f); @@ -229,7 +216,6 @@ void grab(integer x1, integer y1, integer x2, integer y2, integer realx, integer getimage(x1, y1, x2, y2, p); { - ; ch.flavour = flav; ch.x = realx; ch.y = realy; @@ -248,11 +234,9 @@ void grab(integer x1, integer y1, integer x2, integer y2, integer realx, integer putimage(ch.x, ch.y, p, 0); if (flav == ch_ega) { - ; freemem(p, s); s = 4 * (((x2 / 8) - (x1 / 8)) + 2) * (y2 - y1 + 1); { - ; ch.size = s; ch.x = ch.x / 8; ch.xl = (ch.xl / 8) + 2; @@ -261,7 +245,6 @@ void grab(integer x1, integer y1, integer x2, integer y2, integer realx, integer } else /* For BGI pictures. */ { - ; ch.x = ch.x / 8; ch.xl = (ch.xl + 7) / 8; ch.size = imagesize(ch.x * 8, ch.y, (ch.x + ch.xl) * 8, ch.y + ch.yl); @@ -277,7 +260,6 @@ void grab(integer x1, integer y1, integer x2, integer y2, integer realx, integer if (! nat) blockwrite(f, aa, s); break; case ch_bgi : { - ; if (! nat) blockwrite(f, p, s); freemem(p, s); } @@ -288,7 +270,6 @@ void grab(integer x1, integer y1, integer x2, integer y2, integer realx, integer int main(int argc, const char *argv[]) { pio_initialize(argc, argv); - ; gd = 3; gm = 0; initgraph(gd, gm, "c:\\bp\\bgi"); |