You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
810 B
C++
28 lines
810 B
C++
#ifndef GAME_MWCLASS_ACTIVATOR_H
|
|
#define GAME_MWCLASS_ACTIVATOR_H
|
|
|
|
#include "../mwworld/class.hpp"
|
|
|
|
namespace MWClass
|
|
{
|
|
class Activator : public MWWorld::Class
|
|
{
|
|
public:
|
|
|
|
virtual void insertObj (const MWWorld::Ptr& ptr, MWRender::CellRenderImp& cellRender,
|
|
MWWorld::Environment& environment) const;
|
|
///< Add reference into a cell for rendering
|
|
|
|
virtual std::string getName (const MWWorld::Ptr& ptr) const;
|
|
///< \return name (the one that is to be presented to the user; not the internal one);
|
|
/// can return an empty string.
|
|
|
|
virtual std::string getScript (const MWWorld::Ptr& ptr) const;
|
|
///< Return name of the script attached to ptr
|
|
|
|
static void registerSelf();
|
|
};
|
|
}
|
|
|
|
#endif
|