[Orxonox-commit 1034] r5755 - code/trunk/src/modules/questsystem
rgrieder at orxonox.net
rgrieder at orxonox.net
Sun Sep 20 20:03:46 CEST 2009
Author: rgrieder
Date: 2009-09-20 20:03:45 +0200 (Sun, 20 Sep 2009)
New Revision: 5755
Modified:
code/trunk/src/modules/questsystem/QuestManager.cc
Log:
Added loading declaration for the tolua bindings in the quest system.
Modified: code/trunk/src/modules/questsystem/QuestManager.cc
===================================================================
--- code/trunk/src/modules/questsystem/QuestManager.cc 2009-09-20 15:09:20 UTC (rev 5754)
+++ code/trunk/src/modules/questsystem/QuestManager.cc 2009-09-20 18:03:45 UTC (rev 5755)
@@ -39,15 +39,20 @@
#include "core/CoreIncludes.h"
#include "core/GUIManager.h"
#include "core/ConsoleCommand.h"
+#include "core/LuaState.h"
#include "infos/PlayerInfo.h"
#include "overlays/GUIOverlay.h"
+#include "ToluaBindQuestsystem.h"
#include "Quest.h"
#include "QuestHint.h"
#include "QuestItem.h"
namespace orxonox
{
+ // Register tolua_open function when loading the library
+ DeclareToluaInterface(Questsystem);
+
//! Pointer to the current (and single) instance of this class.
/*static*/ QuestManager* QuestManager::singletonPtr_s = NULL;
More information about the Orxonox-commit
mailing list