summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
authorPavel Stupnikov <dp@dpointer.org>2018-04-22 16:42:29 +0300
committerPatric Stout <truebrain@openttd.org>2018-04-22 15:42:29 +0200
commit6ff81b908e8773c5ab94bc8a16c7d564270b0e75 (patch)
treece2fb92a9a8044d6cdb543a998e95932e436f4e1 /src/game
parente0ae67cefabb1116067c0220eb9ea831a512fa06 (diff)
downloadopenttd-6ff81b908e8773c5ab94bc8a16c7d564270b0e75.tar.xz
Feature #6459: API for querying network clients from GS (#6736)
Diffstat (limited to 'src/game')
-rw-r--r--src/game/game_instance.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game/game_instance.cpp b/src/game/game_instance.cpp
index c5e5c7f05..e2b377511 100644
--- a/src/game/game_instance.cpp
+++ b/src/game/game_instance.cpp
@@ -34,6 +34,8 @@
#include "../script/api/game/game_cargo.hpp.sq"
#include "../script/api/game/game_cargolist.hpp.sq"
#include "../script/api/game/game_cargomonitor.hpp.sq"
+#include "../script/api/game/game_client.hpp.sq"
+#include "../script/api/game/game_clientlist.hpp.sq"
#include "../script/api/game/game_company.hpp.sq"
#include "../script/api/game/game_companymode.hpp.sq"
#include "../script/api/game/game_controller.hpp.sq"
@@ -122,6 +124,9 @@ void GameInstance::RegisterAPI()
SQGSCargoList_IndustryProducing_Register(this->engine);
SQGSCargoList_StationAccepting_Register(this->engine);
SQGSCargoMonitor_Register(this->engine);
+ SQGSClient_Register(this->engine);
+ SQGSClientList_Register(this->engine);
+ SQGSClientList_Company_Register(this->engine);
SQGSCompany_Register(this->engine);
SQGSCompanyMode_Register(this->engine);
SQGSDate_Register(this->engine);