diff options
author | truebrain <truebrain@openttd.org> | 2011-12-19 21:03:17 +0000 |
---|---|---|
committer | truebrain <truebrain@openttd.org> | 2011-12-19 21:03:17 +0000 |
commit | 3ada3b9cc5b63a593c2b2655aafedbcbdedcd041 (patch) | |
tree | 0b51e7b529ea4eabc3cd74a3a6b749a6526bca32 /src/game | |
parent | 084f4e6aacc9b3ad8f6ac319a55027307cfa5f00 (diff) | |
download | openttd-3ada3b9cc5b63a593c2b2655aafedbcbdedcd041.tar.xz |
(svn r23630) -Add: a Goal GUI to show your current goals
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 438ccc019..ffe9a2db5 100644 --- a/src/game/game_instance.cpp +++ b/src/game/game_instance.cpp @@ -44,6 +44,7 @@ #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" @@ -132,6 +133,7 @@ void GameInstance::RegisterAPI() SQGSExecMode_Register(this->engine); 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); |