Changeset 5754
- Timestamp:
- Sep 20, 2009, 5:09:20 PM (15 years ago)
- Location:
- code/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/data/gui/scripts/QuestGUI.lua
r5748 r5754 1 -- QuestGUI 2 3 BasicGUI = require("BasicGUI") 1 gui = require("BasicGUI") 4 2 local P = BasicGUI:new() --inherit everything from the gui package 5 3 if _REQUIREDNAME == nil then … … 12 10 P.layoutString = "QuestGUI.layout" 13 11 14 local windowManager = CEGUI.WindowManager:getSingleton()15 -- local playerManager = orxonox.PlayerManager16 local questManager = orxonox.QuestManager:getInstance()17 18 local quests = {}19 20 -- overwrites load function of previous load function21 function P:load()22 element = P.__index.load(P) -- calling load function of parent class with ourselves and do other stuff now23 --win = winMgr:getWindow("orxonox/LevelListBox")24 --print(win.getItemCount())25 --item = winMgr:createWindow("TaharezLook/ListboxItem", "orxonox/LevelListBoxItem1")26 --item:setText("HiHo")27 --win:addItem(item)28 --print(win:getItemCount())29 return element30 end31 32 12 function P:show() 33 13 self.window:show() -- TDO: Do this through parent... 34 14 self.visible = true 35 15 16 local questManager = orxonox.QuestManager:getInstance() 17 36 18 local questsList = windowManager:getWindow("orxonox/QuestGUI/QuestsList") 37 19 -
code/trunk/src/modules/questsystem/CMakeLists.txt
r5749 r5754 27 27 FIND_HEADER_FILES 28 28 TOLUA_FILES 29 QuestDescription.h30 29 QuestManager.h 31 30 DEFINE_SYMBOL -
code/trunk/src/orxonox/pickup/items/Jump.cc
r5738 r5754 72 72 /** 73 73 @brief Called when the item is used, makes the user "jump". 74 @param pawn Pawn which used t e item.74 @param pawn Pawn which used the item. 75 75 */ 76 76 void Jump::used(Pawn* pawn)
Note: See TracChangeset
for help on using the changeset viewer.