Changeset 1661 for code/branches/gui/src/orxonox/Main.cc
- Timestamp:
- Aug 18, 2008, 9:17:30 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/gui/src/orxonox/Main.cc
r1660 r1661 45 45 #include "Settings.h" 46 46 #include "Orxonox.h" 47 48 #include "gamestates/GSRoot.h" 49 #include "gamestates/GSGraphics.h" 50 #include "gamestates/GSLevel.h" 51 #include "gamestates/GSGUI.h" 47 52 48 53 using namespace orxonox; … … 140 145 state2->addChild(state3); 141 146 state2->addChild(state5); 142 state3->addChild(state1);143 147 state6->addChild(state2); 148 149 state6->removeChild("state2"); 144 150 145 151 state5->requestState("state3"); … … 160 166 COUT(2) << std::endl;*/ 161 167 168 169 GSRoot root; 170 GSGraphics graphics; 171 GSLevel level; 172 GSGUI gui; 173 174 root.addChild(&graphics); 175 graphics.addChild(&level); 176 graphics.addChild(&gui); 177 178 root.requestState("gui"); 179 root.tick(0.0f); 180 root.requestState(""); 162 181 163 182 … … 169 188 orxonoxInstance.start(macBundlePath()); 170 189 #else 171 orxonoxInstance.start();190 //orxonoxInstance.start(); 172 191 #endif 173 192 }
Note: See TracChangeset
for help on using the changeset viewer.