diff options
author | uruk | 2013-06-18 10:23:29 +0200 |
---|---|---|
committer | uruk | 2013-06-18 10:23:29 +0200 |
commit | 38bc20a0763f0f83ea3c0a94a68a1edea0d08514 (patch) | |
tree | 8d71d5d2dec96e83e2fcce7c5378e9f2da94130e /engines/avalanche/shell1.cpp | |
parent | a3025b8dad7abfe845c57aee3703451c223fc2e6 (diff) | |
download | scummvm-rg350-38bc20a0763f0f83ea3c0a94a68a1edea0d08514.tar.gz scummvm-rg350-38bc20a0763f0f83ea3c0a94a68a1edea0d08514.tar.bz2 scummvm-rg350-38bc20a0763f0f83ea3c0a94a68a1edea0d08514.zip |
AVALANCHE: Use Artistic Style.
Diffstat (limited to 'engines/avalanche/shell1.cpp')
-rw-r--r-- | engines/avalanche/shell1.cpp | 51 |
1 files changed, 26 insertions, 25 deletions
diff --git a/engines/avalanche/shell1.cpp b/engines/avalanche/shell1.cpp index 1618174fe4..358f679e61 100644 --- a/engines/avalanche/shell1.cpp +++ b/engines/avalanche/shell1.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,34 +31,35 @@ 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; string comspec; -int main(int argc, const char* argv[]) -{pio_initialize(argc, argv); -; - getintvec(0x1f,where); move(where,table,1280); - comspec=getenv("comspec"); - table.data=table.data+"Avalot;"; - setintvec(0x1f,&table); - output << NL; - output << "The Astounding Avvy DOS Shell... don't forget to register!" << NL; - output << NL; - output << "Use the command EXIT to return to your game." << NL; - output << NL; - output << "Remember: You *mustn't* load any TSRs while in this DOS shell." << NL; - output << NL; - output << "This includes: GRAPHICS, PRINT, DOSKEY, and pop-up programs (like Sidekick.)" << NL; - output << NL; - output << "About to execute \"" << comspec << "\"..." << NL; - swapvectors; - exec("c:\\command.com",""); - swapvectors; - setintvec(0x1f,where); -return EXIT_SUCCESS; +int main(int argc, const char *argv[]) { + pio_initialize(argc, argv); + ; + getintvec(0x1f, where); + move(where, table, 1280); + comspec = getenv("comspec"); + table.data = table.data + "Avalot;"; + setintvec(0x1f, &table); + output << NL; + output << "The Astounding Avvy DOS Shell... don't forget to register!" << NL; + output << NL; + output << "Use the command EXIT to return to your game." << NL; + output << NL; + output << "Remember: You *mustn't* load any TSRs while in this DOS shell." << NL; + output << NL; + output << "This includes: GRAPHICS, PRINT, DOSKEY, and pop-up programs (like Sidekick.)" << NL; + output << NL; + output << "About to execute \"" << comspec << "\"..." << NL; + swapvectors; + exec("c:\\command.com", ""); + swapvectors; + setintvec(0x1f, where); + return EXIT_SUCCESS; } } // End of namespace Avalanche.
\ No newline at end of file |