Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 24, 2010, 4:59:23 PM (15 years ago)
Author:
dafrick
Message:

Cleaned up in PickupInventory, to be able to improve it at a later stage.

Location:
code/branches/presentation3/src/orxonox
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation3/src/orxonox/CMakeLists.txt

    r6928 r6965  
    6060    MoodManager.h
    6161    controllers/HumanController.h
    62     interfaces/PickupCarrier.h
     62    interfaces/Pickupable.h
    6363    sound/SoundManager.h
    6464  DEFINE_SYMBOL
  • code/branches/presentation3/src/orxonox/interfaces/PickupCarrier.h

    r6711 r6965  
    4545#include "core/OrxonoxClass.h"
    4646
    47 namespace orxonox // tolua_export
    48 { // tolua_export
     47namespace orxonox
     48{
    4949
    5050    //! Forward-declarations.
     
    6262        Damian 'Mozork' Frick
    6363    */
    64     class _OrxonoxExport PickupCarrier  // tolua_export
    65         : virtual public OrxonoxClass
    66     { // tolua_export
     64    class _OrxonoxExport PickupCarrier : virtual public OrxonoxClass
     65    {
    6766        //! So that the different Pickupables have full access to their PickupCarrier.
    6867        friend class Pickupable;
     
    259258                }
    260259           
    261     }; // tolua_export
    262 } // tolua_export
     260    };
     261}
    263262
    264263#endif /* _PickupCarrier_H__ */
  • code/branches/presentation3/src/orxonox/interfaces/Pickupable.h

    r6901 r6965  
    4242#include "core/OrxonoxClass.h"
    4343
    44 namespace orxonox
    45 {
     44namespace orxonox // tolua_export
     45{ // tolua_export
    4646   
    4747    /**
     
    5151        Damian 'Mozork' Frick
    5252    */
    53     class _OrxonoxExport Pickupable : virtual public OrxonoxClass
    54     {
     53    class _OrxonoxExport Pickupable  // tolua_export
     54        : virtual public OrxonoxClass
     55    {  // tolua_export
    5556        protected:
    5657            Pickupable(); //!< Default constructor.
     
    6364            @return Returns true if the pickup is currently in use.
    6465            */
    65             inline bool isUsed(void)
    66                 { return this->used_; }
     66            inline bool isUsed(void) { return this->used_; }  // tolua_export
    6767            /**
    6868            @brief  Should be called when the pickup has transited from used to unused or the other way around.
     
    8787            @return Returns true if the Pickupable is currently picked up, false if not.
    8888            */
    89             inline bool isPickedUp(void)
    90                 { return this->pickedUp_; }
     89            inline bool isPickedUp(void) { return this->pickedUp_; }  // tolua_export
    9190            /**
    9291            @brief  Should be called when the pickup has transited from picked up to dropped or the other way around.
     
    142141            std::list<Identifier*> targets_; //!< The possible targets of this pickup.
    143142
    144     };
     143    };  // tolua_export
    145144   
    146145    SUPER_FUNCTION(10, Pickupable, changedUsed, false);
    147146    SUPER_FUNCTION(12, Pickupable, changedCarrier, false);
    148147    SUPER_FUNCTION(13, Pickupable, changedPickedUp, false);
    149 }
     148}  // tolua_export
    150149
    151150#endif /* _Pickupable_H__ */
Note: See TracChangeset for help on using the changeset viewer.