Changeset View
Changeset View
Standalone View
Standalone View
source/simulation2/components/ICmpMotion.cpp
Show All 13 Lines | |||||
* You should have received a copy of the GNU General Public License | * You should have received a copy of the GNU General Public License | ||||
* along with 0 A.D. If not, see <http://www.gnu.org/licenses/>. | * along with 0 A.D. If not, see <http://www.gnu.org/licenses/>. | ||||
*/ | */ | ||||
#include "precompiled.h" | #include "precompiled.h" | ||||
#include "ICmpMotion.h" | #include "ICmpMotion.h" | ||||
#include "scriptinterface/FunctionWrapper.h" | |||||
#include "scriptinterface/ScriptInterface.h" | |||||
#include "simulation2/system/InterfaceScripted.h" | #include "simulation2/system/InterfaceScripted.h" | ||||
#include "simulation2/scripting/ScriptComponent.h" | #include "simulation2/scripting/ScriptComponent.h" | ||||
BEGIN_INTERFACE_WRAPPER(Motion) | BEGIN_INTERFACE_WRAPPER(Motion) | ||||
END_INTERFACE_WRAPPER(Motion) | END_INTERFACE_WRAPPER(Motion) | ||||
class CCmpMotionScripted : public ICmpMotion | class CCmpMotionScripted : public ICmpMotion | ||||
{ | { | ||||
public: | public: | ||||
DEFAULT_SCRIPT_WRAPPER(MotionScripted) | DEFAULT_SCRIPT_WRAPPER(MotionScripted) | ||||
}; | }; | ||||
REGISTER_COMPONENT_SCRIPT_WRAPPER(MotionScripted) | REGISTER_COMPONENT_SCRIPT_WRAPPER(MotionScripted) |
Wildfire Games · Phabricator