/[adonthell]/adonthell/src/main/adonthell.cc
ViewVC logotype

Diff of /adonthell/src/main/adonthell.cc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by ksterker, Mon Aug 23 06:33:47 2004 UTC revision 1.5 by ksterker, Mon Oct 18 07:40:23 2004 UTC
# Line 71  bool app::init_modules (const u_int16 & Line 71  bool app::init_modules (const u_int16 &
71              python::init ();              python::init ();
72              PySys_SetArgv (Argc, Argv);              PySys_SetArgv (Argc, Argv);
73          }          }
74            // avoid shutting down Python in that case
75          else          else
76          {          {
77              Modules -= PYTHON;              Modules -= PYTHON;
# Line 161  bool app::init () Line 162  bool app::init ()
162          cerr << "Error initializing liblt!" << endl;          cerr << "Error initializing liblt!" << endl;
163          return false;          return false;
164      }      }
165        
166        // init base module (required for reading config file)
167        base::init (Userdatadir, Game);
168            
169      // load configuration file      // load configuration file
170      if (!Cfg.read (Config))      if (!Cfg.read (Config))
171      {      {
# Line 194  bool app::init () Line 198  bool app::init ()
198          return false;          return false;
199      }      }
200            
     // init base module  
     base::init (Userdatadir, Game);  
       
201      // platform / backend specific initialization      // platform / backend specific initialization
202      return init_p (this);      return init_p (this);
203  }  }

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26