(svn r24406) -Feature: Allow game scripts to monitor cargo pickups and deliveries done by companies.

This commit is contained in:
alberth
2012-07-15 17:11:14 +00:00
parent 05aaf18d38
commit eb56e5c0b1
7 changed files with 193 additions and 0 deletions

View File

@@ -33,6 +33,7 @@
#include "../script/api/game/game_bridgelist.hpp.sq"
#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_company.hpp.sq"
#include "../script/api/game/game_companymode.hpp.sq"
#include "../script/api/game/game_controller.hpp.sq"
@@ -113,6 +114,7 @@ void GameInstance::RegisterAPI()
SQGSCargoList_IndustryAccepting_Register(this->engine);
SQGSCargoList_IndustryProducing_Register(this->engine);
SQGSCargoList_StationAccepting_Register(this->engine);
SQGSCargoMonitor_Register(this->engine);
SQGSCompany_Register(this->engine);
SQGSCompanyMode_Register(this->engine);
SQGSDate_Register(this->engine);