aboutsummaryrefslogtreecommitdiff
path: root/engines/avalanche/charmap.cpp
diff options
context:
space:
mode:
authoruruk2013-06-18 10:23:29 +0200
committeruruk2013-06-18 10:23:29 +0200
commit38bc20a0763f0f83ea3c0a94a68a1edea0d08514 (patch)
tree8d71d5d2dec96e83e2fcce7c5378e9f2da94130e /engines/avalanche/charmap.cpp
parenta3025b8dad7abfe845c57aee3703451c223fc2e6 (diff)
downloadscummvm-rg350-38bc20a0763f0f83ea3c0a94a68a1edea0d08514.tar.gz
scummvm-rg350-38bc20a0763f0f83ea3c0a94a68a1edea0d08514.tar.bz2
scummvm-rg350-38bc20a0763f0f83ea3c0a94a68a1edea0d08514.zip
AVALANCHE: Use Artistic Style.
Diffstat (limited to 'engines/avalanche/charmap.cpp')
-rw-r--r--engines/avalanche/charmap.cpp46
1 files changed, 25 insertions, 21 deletions
diff --git a/engines/avalanche/charmap.cpp b/engines/avalanche/charmap.cpp
index 985bbf0707..d599ef5881 100644
--- a/engines/avalanche/charmap.cpp
+++ b/engines/avalanche/charmap.cpp
@@ -11,7 +11,7 @@
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* You should have received a copy of the GNU General Public License
@@ -30,29 +30,33 @@
namespace Avalanche {
struct infotype {
- matrix<128,255,1,8,byte> chars;
- string data;
+ matrix<128, 255, 1, 8, byte> chars;
+ string data;
};
infotype table;
pointer where;
-byte w,fv,ff,num;
-int main(int argc, const char* argv[])
-{pio_initialize(argc, argv);
-;
- getintvec(0x1f,where); move(where,table,1024);
- for( w=128; w <= 255; w ++)
- {; output << w << NL;
- for( fv=1; fv <= 8; fv ++)
- {;
- num=table.chars[w][fv];
- for( ff=1; ff <= 8; ff ++)
- {;
- if ((num & 128)==0) output << " "; else output << "лл";
- num=num << 1;
- }
- output << NL;
- } }
-return EXIT_SUCCESS;
+byte w, fv, ff, num;
+int main(int argc, const char *argv[]) {
+ pio_initialize(argc, argv);
+ ;
+ getintvec(0x1f, where);
+ move(where, table, 1024);
+ for (w = 128; w <= 255; w ++) {
+ ;
+ output << w << NL;
+ for (fv = 1; fv <= 8; fv ++) {
+ ;
+ num = table.chars[w][fv];
+ for (ff = 1; ff <= 8; ff ++) {
+ ;
+ if ((num & 128) == 0) output << " ";
+ else output << "лл";
+ num = num << 1;
+ }
+ output << NL;
+ }
+ }
+ return EXIT_SUCCESS;
}
} // End of namespace Avalanche. \ No newline at end of file