Ignore:
Timestamp:
Apr 11, 2008, 12:09:19 PM (13 years ago)
Author:
Sam Hocevar
Message:
  • Removed 800 lines of unused code.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/game.cpp

    r134 r136  
    22902290}
    22912291
    2292 void check_for_upgrade(int argc, char **argv)
    2293 {
    2294   for(int i = 1; i < argc; i++)
    2295     if(!strcmp(argv[i], "-upgrade"))
    2296     {
    2297       lisp_init(0xf000, 0x30000);
    2298       char const *prog="(load \"lisp/upgrade.lsp\")";
    2299       char const *cs = prog;
    2300       if(!eval(compile(cs)))
    2301     printf("file \"lisp/upgrade.lsp\" does not exist, cannot upgrade\n");
    2302 
    2303       exit(0);
    2304     }
    2305 }
    2306 
    23072292void check_for_lisp(int argc, char **argv)
    23082293{
     
    24862471
    24872472    check_for_lisp(argc, argv);
    2488     check_for_upgrade(argc, argv);
    24892473
    24902474    do
Note: See TracChangeset for help on using the changeset viewer.