Changeset View
Changeset View
Standalone View
Standalone View
source/simulation2/components/ICmpSettlement.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 "ICmpSettlement.h" | #include "ICmpSettlement.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(Settlement) | BEGIN_INTERFACE_WRAPPER(Settlement) | ||||
END_INTERFACE_WRAPPER(Settlement) | END_INTERFACE_WRAPPER(Settlement) | ||||
class CCmpSettlementScripted : public ICmpSettlement | class CCmpSettlementScripted : public ICmpSettlement | ||||
{ | { | ||||
public: | public: | ||||
DEFAULT_SCRIPT_WRAPPER(SettlementScripted) | DEFAULT_SCRIPT_WRAPPER(SettlementScripted) | ||||
}; | }; | ||||
REGISTER_COMPONENT_SCRIPT_WRAPPER(SettlementScripted) | REGISTER_COMPONENT_SCRIPT_WRAPPER(SettlementScripted) |
Wildfire Games · Phabricator