/[usata]/usata2/src/usata.cpp
ViewVC logotype

Diff of /usata2/src/usata.cpp

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

revision 1.23 by skunix, Tue Jan 25 08:28:27 2005 UTC revision 1.24 by skunix, Fri Feb 25 18:08:01 2005 UTC
# Line 16  Line 16 
16  #include "config.hpp"  #include "config.hpp"
17  #include "util.hpp"  #include "util.hpp"
18  #include "build_info.hpp"  #include "build_info.hpp"
19    #include "scene-loader.hpp"
20  #include "system.hpp"  #include "system.hpp"
21  #include "log.hpp"  #include "log.hpp"
22  #include "texture.hpp"  #include "texture.hpp"
# Line 176  Usata::loop() Line 177  Usata::loop()
177                          scene_manager->draw();                          scene_manager->draw();
178                          updated= false;                          updated= false;
179                  }                  }
180                    mSceneLoader->update(*this);
181          }          }
182    
183          return 0;          return 0;
# Line 194  Usata::run() Line 195  Usata::run()
195          // FIXME: catch exceptions          // FIXME: catch exceptions
196          image_manager->load_path(datapath);          image_manager->load_path(datapath);
197          GuiNode::create(scene_manager.get());          GuiNode::create(scene_manager.get());
           
         Object * obj=ObjectRegistry::instance()->create("Something");  
         Object_sp zzz(obj);  
         GCInterface * gci = dynamic_cast<GCInterface*>(obj);  
         gci->realize(*this, zzz);  
198    
199            mSceneLoader.reset( new SceneLoader(datapath) );
200            mSceneLoader->load("start.xml");                
201          return loop();          return loop();
202  }  }
203    

Legend:
Removed from v.1.23  
changed lines
  Added in v.1.24

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