Changeset 10277 in orxonox.OLD for branches/gui/src/world_entities
- Timestamp:
- Jan 17, 2007, 7:22:15 PM (18 years ago)
- Location:
- branches/gui/src/world_entities
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gui/src/world_entities/questGUI/quest_gui.cc
r10273 r10277 60 60 CREATE_SCRIPTABLE_CLASS(QuestGUI, 61 61 addMethod("guiInit", Executor0<QuestGUI, lua_State*>(&QuestGUI::guiInit)) 62 ->addMethod("isActive", Executor0ret<QuestGUI, lua_State*,bool>(&QuestGUI::isActive)) 62 63 ); 63 64 … … 75 76 76 77 this->bKillGui = false; 78 79 this->bActive = false; 77 80 78 81 this->myQuest = new Quest(root); … … 250 253 this->myQuest->setQuestActive(); 251 254 this->bKillGui = true; 255 bActive=true; 252 256 } 253 257 … … 255 259 { 256 260 this->bKillGui = true; 261 bActive=false; 257 262 } 258 263 -
branches/gui/src/world_entities/questGUI/quest_gui.h
r10273 r10277 20 20 21 21 void loadParams(const TiXmlElement* root); 22 22 bool isActive(){ return this->bActive; } 23 23 void guiInit(); 24 24 … … 28 28 Quest* myQuest; 29 29 bool bKillGui; 30 bool bActive; 30 31 31 32 OrxGui::GLGuiBox* headerBox; -
branches/gui/src/world_entities/script_trigger.cc
r10265 r10277 209 209 void ScriptTrigger::executeAction(float timestep) 210 210 { 211 printf("Script %s called \n",this->functionName.c_str());212 211 if(scriptIsOk) 213 212 {
Note: See TracChangeset
for help on using the changeset viewer.