Changeset View
Changeset View
Standalone View
Standalone View
source/simulation2/components/ICmpUnitRenderer.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 "ICmpUnitRenderer.h" | #include "ICmpUnitRenderer.h" | ||||
#include "scriptinterface/FunctionWrapper.h" | |||||
#include "scriptinterface/ScriptInterface.h" | |||||
#include "simulation2/system/InterfaceScripted.h" | #include "simulation2/system/InterfaceScripted.h" | ||||
BEGIN_INTERFACE_WRAPPER(UnitRenderer) | BEGIN_INTERFACE_WRAPPER(UnitRenderer) | ||||
DEFINE_INTERFACE_METHOD_1("SetDebugOverlay", void, ICmpUnitRenderer, SetDebugOverlay, bool) | DEFINE_INTERFACE_METHOD("SetDebugOverlay", ICmpUnitRenderer, SetDebugOverlay) | ||||
END_INTERFACE_WRAPPER(UnitRenderer) | END_INTERFACE_WRAPPER(UnitRenderer) |
Wildfire Games · Phabricator