Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 30, 2011, 6:51:00 PM (14 years ago)
Author:
rgrieder
Message:

Removed the need to declare the tolua interface explicitly (DeclareToluaInterface).
This is now automatically done in the ToluaBindLibrary.cc files.
That also removes the need for tolua bind header files.

Location:
code/branches/unity_build/src/modules
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • code/branches/unity_build/src/modules/notifications/NotificationManager.cc

    r8079 r8688  
    4747#include "NotificationQueue.h"
    4848
    49 #include "ToluaBindNotifications.h"
    50 
    5149namespace orxonox
    5250{
     
    5452    const std::string NotificationManager::ALL("all");
    5553    const std::string NotificationManager::NONE("none");
    56 
    57     // Register tolua_open function when loading the library.
    58     DeclareToluaInterface(Notifications);
    5954
    6055    ManageScopedSingleton(NotificationManager, ScopeID::Root, false);
  • code/branches/unity_build/src/modules/pickup/PickupManager.cc

    r7801 r8688  
    4949#include "PickupRepresentation.h"
    5050
    51 #include "ToluaBindPickup.h"
    52 
    5351namespace orxonox
    5452{
    55     // Register tolua_open function when loading the library
    56     DeclareToluaInterface(Pickup);
    57 
    5853    ManageScopedSingleton(PickupManager, ScopeID::Root, false);
    5954
  • code/branches/unity_build/src/modules/questsystem/QuestManager.cc

    r8079 r8688  
    4747#include "QuestItem.h"
    4848
    49 #include "ToluaBindQuestsystem.h"
    50 
    5149namespace orxonox
    5250{
    53     // Register tolua_open function when loading the library
    54     DeclareToluaInterface(Questsystem);
    55 
    5651    ManageScopedSingleton(QuestManager, ScopeID::Root, false);
    5752
Note: See TracChangeset for help on using the changeset viewer.