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

Diff of /enigma/src/main.cc

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

revision 1.5 by mhawlisch, Wed Feb 19 14:09:21 2003 UTC revision 1.6 by mhawlisch, Thu Feb 27 09:57:09 2003 UTC
# Line 196  init() Line 196  init()
196      lua::Init();      lua::Init();
197    
198      // Run initialization scripts      // Run initialization scripts
199      lua::Dofile("init.lua");      if( lua::Dofile("init.lua") != 0) {
200            fprintf(stderr, "Unable to load configuration file 'init.lua'.\n");
201            fprintf(stderr, "Your installation may be incomplete or invalid.\n");
202            exit( 1);
203        }
204        
205      lua::Dofile("levels/index.lua");      lua::Dofile("levels/index.lua");
206      lua::DoSubfolderfile("levels", "index.lua");      lua::DoSubfolderfile("levels", "index.lua");
207            

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

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