diff options
author | truebrain <truebrain@openttd.org> | 2011-12-19 21:00:48 +0000 |
---|---|---|
committer | truebrain <truebrain@openttd.org> | 2011-12-19 21:00:48 +0000 |
commit | 894216083d3f0b7c01ad705c253723e948297138 (patch) | |
tree | 58f2c0afa8e9999fd0d48071a58585c5d9d8258d /src/game | |
parent | d85a628dde5eed0a0a2deb0b6bc199ba939e307f (diff) | |
download | openttd-894216083d3f0b7c01ad705c253723e948297138.tar.xz |
(svn r23625) -Add: ScriptViewport::ScrollTo, for SinglePlayer only (GameScript only)
Diffstat (limited to 'src/game')
-rw-r--r-- | src/game/game_instance.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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); |