aboutsummaryrefslogtreecommitdiff
path: root/engines/avalanche/shell2.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/shell2.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/shell2.cpp')
-rw-r--r--engines/avalanche/shell2.cpp36
1 files changed, 20 insertions, 16 deletions
diff --git a/engines/avalanche/shell2.cpp b/engines/avalanche/shell2.cpp
index 1bc68dfc1c..9ca4e29599 100644
--- a/engines/avalanche/shell2.cpp
+++ b/engines/avalanche/shell2.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
@@ -31,24 +31,28 @@
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;
-integer gd,gm;
-int main(int argc, const char* argv[])
-{pio_initialize(argc, argv);
-;
- getintvec(0x1f,where); move(where,table,1280);
- gd=1; gm=0; initgraph(gd,gm,"c:\\turbo");
- output << "Now in CGA low-res 320x200." << NL;
- output << "High ASCII codes work- œœœ °±² ðððññóòôõ" << NL;
- output << "And the code is..." << NL;
- output << table.data << NL;
- output << "Press Enter..." << NL;
- input >> NL; closegraph();
-return EXIT_SUCCESS;
+integer gd, gm;
+int main(int argc, const char *argv[]) {
+ pio_initialize(argc, argv);
+ ;
+ getintvec(0x1f, where);
+ move(where, table, 1280);
+ gd = 1;
+ gm = 0;
+ initgraph(gd, gm, "c:\\turbo");
+ output << "Now in CGA low-res 320x200." << NL;
+ output << "High ASCII codes work- œœœ °±² ðððññóòôõ" << NL;
+ output << "And the code is..." << NL;
+ output << table.data << NL;
+ output << "Press Enter..." << NL;
+ input >> NL;
+ closegraph();
+ return EXIT_SUCCESS;
}
} // End of namespace Avalanche. \ No newline at end of file