2017-04-18 03:37:32 +00:00
|
|
|
#ifndef OPENMW_PROCESSOROBJECTSCALE_HPP
|
|
|
|
#define OPENMW_PROCESSOROBJECTSCALE_HPP
|
|
|
|
|
|
|
|
#include "BaseObjectProcessor.hpp"
|
|
|
|
|
|
|
|
namespace mwmp
|
|
|
|
{
|
|
|
|
class ProcessorObjectScale : public BaseObjectProcessor
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
ProcessorObjectScale()
|
|
|
|
{
|
|
|
|
BPP_INIT(ID_OBJECT_SCALE)
|
|
|
|
}
|
|
|
|
|
2018-05-12 21:42:24 +00:00
|
|
|
virtual void Do(ObjectPacket &packet, ObjectList &objectList)
|
2017-04-18 03:37:32 +00:00
|
|
|
{
|
2018-05-12 21:42:24 +00:00
|
|
|
BaseObjectProcessor::Do(packet, objectList);
|
2017-04-18 03:37:32 +00:00
|
|
|
|
2018-05-12 21:42:24 +00:00
|
|
|
objectList.scaleObjects(ptrCellStore);
|
2017-04-18 03:37:32 +00:00
|
|
|
}
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif //OPENMW_PROCESSOROBJECTSCALE_HPP
|