From 894216083d3f0b7c01ad705c253723e948297138 Mon Sep 17 00:00:00 2001 From: truebrain Date: Mon, 19 Dec 2011 21:00:48 +0000 Subject: (svn r23625) -Add: ScriptViewport::ScrollTo, for SinglePlayer only (GameScript only) --- src/game/game_instance.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/game') diff --git a/src/game/game_instance.cpp b/src/game/game_instance.cpp index 872c4829c..998788b61 100644 --- a/src/game/game_instance.cpp +++ b/src/game/game_instance.cpp @@ -70,6 +70,7 @@ #include "../script/api/game/game_tunnel.hpp.sq" #include "../script/api/game/game_vehicle.hpp.sq" #include "../script/api/game/game_vehiclelist.hpp.sq" +#include "../script/api/game/game_viewport.hpp.sq" #include "../script/api/game/game_waypoint.hpp.sq" #include "../script/api/game/game_waypointlist.hpp.sq" @@ -165,6 +166,7 @@ void GameInstance::RegisterAPI() SQGSVehicleList_Depot_Register(this->engine); SQGSVehicleList_SharedOrders_Register(this->engine); SQGSVehicleList_Station_Register(this->engine); + SQGSViewport_Register(this->engine); SQGSWaypoint_Register(this->engine); SQGSWaypointList_Register(this->engine); SQGSWaypointList_Vehicle_Register(this->engine); -- cgit v1.2.3-70-g09d2