summaryrefslogtreecommitdiff
path: root/src/script/api/script_town.cpp
AgeCommit message (Collapse)Author
2014-01-20(svn r26270) -Fix-ish: If ScriptTown::FoundTown fails to generate a new ↵frosch
random town name, don't bother sending a command, but fail immediately.
2013-11-14(svn r25995) -Fix (r25785) [FS#5801]: [NoGo] GS failed to rename towns. (Zydeco)frosch
2013-11-12(svn r25969) -Add: [Script] ScriptTown::GetFundBuildingsDuration.frosch
2013-11-12(svn r25968) -Add: [Script] ScriptTown::TOWN_GROWTH_NONE to indicate no town ↵frosch
growth via ScriptTown::SetGrowthRate and GetGrowthRate.
2013-11-12(svn r25967) -Add: [NoGo] GSTown::TOWN_GROWTH_NORMAL to reset a town growth ↵frosch
rate set previously via GSTown::SetGrowthRate.
2013-11-12(svn r25966) -Fix: [NoGo] Properly validate the range of the growth rate ↵frosch
passed to GSTown::SetGrowthRate, instead of masking it to 16 bit.
2013-10-28(svn r25924) -Fix: [Script] Documentation for ScriptTown::GetGrowthRate.frosch
2013-09-19(svn r25785) -Feature: [Script] Allow AIs and GS to found towns. Allow GS to ↵zuu
rename towns
2013-08-10(svn r25709) -Fix: don't return -1 as unsignedfonsinchen
2013-06-30(svn r25544) -Fix [FS#5625] (r25488, r25486): [GS] The checks and ↵rubidium
validations for setting the extra text in the town window became too stringent
2013-06-27(svn r25488) -Fix [FS#5613]: do not send encoded texts to names, but decode ↵rubidium
them into a plain C string and then pass them on
2013-06-27(svn r25486) -Fix [FS#5613-ish]: missing length validation for town and ↵rubidium
president names in script APIs
2013-02-08(svn r24982) -Fix [FS#5465]: [Script] Crash when passing too many parametersrubidium
2012-05-30(svn r24302) -Fix: [Script] ScriptTown::GetGrowthRate() returned wrong ↵frosch
values after usage of SetGrowthRate().
2012-04-25(svn r24179) -Codechange: move some variables of Town to TownCacherubidium
2012-01-08(svn r23777) -Codechange: refactor allocating memory and fetching strings ↵rubidium
into a single function for scripts
2012-01-03(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp filesrubidium
2011-12-19(svn r23636) -Add: introduce ScriptText in parameters where it can be usedtruebrain
2011-12-19(svn r23633) -Add: allow most build commands from GameScript given a ↵truebrain
CompanyMode is active in that scope
2011-12-19(svn r23632) -Add: GSCompanyMode, to change company in GameScriptstruebrain
2011-12-19(svn r23626) -Add: ScriptTown::SetText, which adds custom text to the Town GUItruebrain
2011-12-19(svn r23620) -Add: ScriptTown::SetCargoGoal and ScriptTown::SetGrowthRate ↵truebrain
(GameScript only)
2011-12-19(svn r23617) -Add: ScriptTown::ExpandTown, to grow a town (GameScript only)truebrain
2011-11-29(svn r23355) -Codechange: rename all AI* to Script* (Rubidium)truebrain
2011-11-29(svn r23354) -Codechange: move all src/ai/api/ai_*.[hc]pp files to ↵truebrain
src/script/api/script_* (Rubidium)