From 403cd3acdb7b7fedf2b5e823326611bb32113385 Mon Sep 17 00:00:00 2001 From: truebrain Date: Mon, 19 Dec 2011 21:05:14 +0000 Subject: (svn r23631) -Add: ScriptWindow, to manipulate windows on the client (GameScript only) --- src/game/game_instance.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/game/game_instance.cpp') diff --git a/src/game/game_instance.cpp b/src/game/game_instance.cpp index ffe9a2db5..daa122158 100644 --- a/src/game/game_instance.cpp +++ b/src/game/game_instance.cpp @@ -75,6 +75,7 @@ #include "../script/api/game/game_viewport.hpp.sq" #include "../script/api/game/game_waypoint.hpp.sq" #include "../script/api/game/game_waypointlist.hpp.sq" +#include "../script/api/game/game_window.hpp.sq" GameInstance::GameInstance() : @@ -130,6 +131,7 @@ void GameInstance::RegisterAPI() SQGSEventSubsidyOfferExpired_Register(this->engine); SQGSEventTownFounded_Register(this->engine); SQGSEventVehicleCrashed_Register(this->engine); + SQGSEventWindowWidgetClick_Register(this->engine); SQGSExecMode_Register(this->engine); SQGSGame_Register(this->engine); SQGSGameSettings_Register(this->engine); @@ -174,6 +176,7 @@ void GameInstance::RegisterAPI() SQGSWaypoint_Register(this->engine); SQGSWaypointList_Register(this->engine); SQGSWaypointList_Vehicle_Register(this->engine); + SQGSWindow_Register(this->engine); } -- cgit v1.2.3-54-g00ecf