Changeset View
Changeset View
Standalone View
Standalone View
source/simulation2/components/ICmpRallyPointRenderer.cpp
Show All 12 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 "ICmpRallyPointRenderer.h" | #include "ICmpRallyPointRenderer.h" | ||||
#include "scriptinterface/FunctionWrapper.h" | |||||
#include "scriptinterface/ScriptInterface.h" | |||||
#include "simulation2/system/InterfaceScripted.h" | #include "simulation2/system/InterfaceScripted.h" | ||||
class CFixedVector2D; | class CFixedVector2D; | ||||
BEGIN_INTERFACE_WRAPPER(RallyPointRenderer) | BEGIN_INTERFACE_WRAPPER(RallyPointRenderer) | ||||
DEFINE_INTERFACE_METHOD_1("SetDisplayed", void, ICmpRallyPointRenderer, SetDisplayed, bool) | DEFINE_INTERFACE_METHOD("SetDisplayed", ICmpRallyPointRenderer, SetDisplayed) | ||||
DEFINE_INTERFACE_METHOD_1("SetPosition", void, ICmpRallyPointRenderer, SetPosition, CFixedVector2D) | DEFINE_INTERFACE_METHOD("SetPosition", ICmpRallyPointRenderer, SetPosition) | ||||
DEFINE_INTERFACE_METHOD_2("UpdatePosition", void, ICmpRallyPointRenderer, UpdatePosition, u32, CFixedVector2D) | DEFINE_INTERFACE_METHOD("UpdatePosition", ICmpRallyPointRenderer, UpdatePosition) | ||||
DEFINE_INTERFACE_METHOD_1("AddPosition", void, ICmpRallyPointRenderer, AddPosition_wrapper, CFixedVector2D) | DEFINE_INTERFACE_METHOD("AddPosition", ICmpRallyPointRenderer, AddPosition_wrapper) | ||||
DEFINE_INTERFACE_METHOD_0("Reset", void, ICmpRallyPointRenderer, Reset) | DEFINE_INTERFACE_METHOD("Reset", ICmpRallyPointRenderer, Reset) | ||||
DEFINE_INTERFACE_METHOD_CONST_0("IsSet", bool, ICmpRallyPointRenderer, IsSet) | DEFINE_INTERFACE_METHOD("IsSet", ICmpRallyPointRenderer, IsSet) | ||||
DEFINE_INTERFACE_METHOD_0("UpdateColor", void, ICmpRallyPointRenderer, UpdateColor) | DEFINE_INTERFACE_METHOD("UpdateColor", ICmpRallyPointRenderer, UpdateColor) | ||||
END_INTERFACE_WRAPPER(RallyPointRenderer) | END_INTERFACE_WRAPPER(RallyPointRenderer) |
Wildfire Games · Phabricator