|
@@ -46,48 +46,49 @@
|
|
|
#include "../script/api/game/game_event_types.hpp.sq"
|
|
|
#include "../script/api/game/game_execmode.hpp.sq"
|
|
|
#include "../script/api/game/game_game.hpp.sq"
|
|
|
#include "../script/api/game/game_gamesettings.hpp.sq"
|
|
|
#include "../script/api/game/game_goal.hpp.sq"
|
|
|
#include "../script/api/game/game_industry.hpp.sq"
|
|
|
#include "../script/api/game/game_industrylist.hpp.sq"
|
|
|
#include "../script/api/game/game_industrytype.hpp.sq"
|
|
|
#include "../script/api/game/game_industrytypelist.hpp.sq"
|
|
|
#include "../script/api/game/game_infrastructure.hpp.sq"
|
|
|
#include "../script/api/game/game_list.hpp.sq"
|
|
|
#include "../script/api/game/game_log.hpp.sq"
|
|
|
#include "../script/api/game/game_map.hpp.sq"
|
|
|
#include "../script/api/game/game_marine.hpp.sq"
|
|
|
#include "../script/api/game/game_news.hpp.sq"
|
|
|
#include "../script/api/game/game_order.hpp.sq"
|
|
|
#include "../script/api/game/game_rail.hpp.sq"
|
|
|
#include "../script/api/game/game_railtypelist.hpp.sq"
|
|
|
#include "../script/api/game/game_road.hpp.sq"
|
|
|
#include "../script/api/game/game_sign.hpp.sq"
|
|
|
#include "../script/api/game/game_signlist.hpp.sq"
|
|
|
#include "../script/api/game/game_station.hpp.sq"
|
|
|
#include "../script/api/game/game_stationlist.hpp.sq"
|
|
|
#include "../script/api/game/game_story_page.hpp.sq"
|
|
|
#include "../script/api/game/game_storypageelementlist.hpp.sq"
|
|
|
#include "../script/api/game/game_storypagelist.hpp.sq"
|
|
|
#include "../script/api/game/game_subsidy.hpp.sq"
|
|
|
#include "../script/api/game/game_subsidylist.hpp.sq"
|
|
|
#include "../script/api/game/game_testmode.hpp.sq"
|
|
|
#include "../script/api/game/game_text.hpp.sq"
|
|
|
#include "../script/api/game/game_tile.hpp.sq"
|
|
|
#include "../script/api/game/game_tilelist.hpp.sq"
|
|
|
#include "../script/api/game/game_town.hpp.sq"
|
|
|
#include "../script/api/game/game_townlist.hpp.sq"
|
|
|
#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"
|
|
|
#include "../script/api/game/game_window.hpp.sq"
|
|
|
|
|
|
|
|
|
GameInstance::GameInstance() :
|
|
|
ScriptInstance("GS")
|
|
|
{}
|
|
|
|
|
|
void GameInstance::Initialize(GameInfo *info)
|
|
|
{
|
|
@@ -151,48 +152,49 @@ void GameInstance::RegisterAPI()
|
|
|
SQGSGame_Register(this->engine);
|
|
|
SQGSGameSettings_Register(this->engine);
|
|
|
SQGSGoal_Register(this->engine);
|
|
|
SQGSIndustry_Register(this->engine);
|
|
|
SQGSIndustryList_Register(this->engine);
|
|
|
SQGSIndustryList_CargoAccepting_Register(this->engine);
|
|
|
SQGSIndustryList_CargoProducing_Register(this->engine);
|
|
|
SQGSIndustryType_Register(this->engine);
|
|
|
SQGSIndustryTypeList_Register(this->engine);
|
|
|
SQGSInfrastructure_Register(this->engine);
|
|
|
SQGSLog_Register(this->engine);
|
|
|
SQGSMap_Register(this->engine);
|
|
|
SQGSMarine_Register(this->engine);
|
|
|
SQGSNews_Register(this->engine);
|
|
|
SQGSOrder_Register(this->engine);
|
|
|
SQGSRail_Register(this->engine);
|
|
|
SQGSRailTypeList_Register(this->engine);
|
|
|
SQGSRoad_Register(this->engine);
|
|
|
SQGSSign_Register(this->engine);
|
|
|
SQGSSignList_Register(this->engine);
|
|
|
SQGSStation_Register(this->engine);
|
|
|
SQGSStationList_Register(this->engine);
|
|
|
SQGSStationList_Vehicle_Register(this->engine);
|
|
|
SQGSStoryPage_Register(this->engine);
|
|
|
SQGSStoryPageElementList_Register(this->engine);
|
|
|
SQGSStoryPageList_Register(this->engine);
|
|
|
SQGSSubsidy_Register(this->engine);
|
|
|
SQGSSubsidyList_Register(this->engine);
|
|
|
SQGSTestMode_Register(this->engine);
|
|
|
SQGSText_Register(this->engine);
|
|
|
SQGSTile_Register(this->engine);
|
|
|
SQGSTileList_Register(this->engine);
|
|
|
SQGSTileList_IndustryAccepting_Register(this->engine);
|
|
|
SQGSTileList_IndustryProducing_Register(this->engine);
|
|
|
SQGSTileList_StationType_Register(this->engine);
|
|
|
SQGSTown_Register(this->engine);
|
|
|
SQGSTownEffectList_Register(this->engine);
|
|
|
SQGSTownList_Register(this->engine);
|
|
|
SQGSTunnel_Register(this->engine);
|
|
|
SQGSVehicle_Register(this->engine);
|
|
|
SQGSVehicleList_Register(this->engine);
|
|
|
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);
|
|
|
SQGSWindow_Register(this->engine);
|