summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2009-01-15(svn r15095) -Add [NoAI]: allow AI Libraries to be in .tar files (subdir ↵truebrain
required, as with AIs -Add [NoAI]: allow multiple versions of the same AI co-exist -Change [NoAI]: updated the whole method of AI (Library) finding and loading; it is now much more clear and transparent -Change [NoAI]: the name of the AI is now the name used by CreateInstance() -Change [NoAI]: make the AI finder a bit more clever, mostly related to version finding
2009-01-15(svn r15094) -Feature: Add support for IP range bans using CIDR notation.peter1138
2009-01-15(svn r15093) -Fix [NoAI]: check if a tile is valid before using IsTileType ↵truebrain
(bug found by Zuu, patch by Yexo)
2009-01-15(svn r15091) -Add [NoAI] [API CHANGE]: introduce GetCategory() as a ↵truebrain
requirement for every library.nut, to indicate in which category it belongs. Currently the directory indicates the category, but this doesn't allow planned future additions
2009-01-15(svn r15090) -Add [NoAI] [API CHANGE]: info.nut/library.nut now requires a ↵truebrain
function GetShortName(), which should return a 4 (four) character string, unique throughout the world. This id is simular to a GRFid.
2009-01-15(svn r15088) -Fix [FS#2536]: Resize company list in town authority window if ↵peter1138
required.
2009-01-15(svn r15087) -Codechange: Less hardcoding of y positions in town authority ↵peter1138
window.
2009-01-14(svn r15086) -Fix: start AIs after 6 months on hard, 12 months on medium, ↵truebrain
and 24 months on easy. The current values were a bit .. too long waiting period ;)
2009-01-14(svn r15085) -Fix (r14164): Clearing a settings group did not delete old ↵peter1138
items nor reset the last_item pointer, causing lists to not be saved unless they started blank.
2009-01-14(svn r15084) -Fix [NoAI] (r15027): by removing the threads for NoAIs, it is ↵truebrain
no longer possible to use DoCommand (even indirect) in AIAbstractList::Valuator().
2009-01-14(svn r15083) -Add [NoAI]: added a console command to reload an AI (requested ↵truebrain
by Zuu)
2009-01-14(svn r15082) -Codechange: make the AI library path also a searchdir instead ↵rubidium
of manually manufacturing it into a searchdir.
2009-01-14(svn r15081) -Fix (r15080): of course it's about southern border, not ↵smatz
northern...
2009-01-14(svn r15080) -Fix: terraforming at the northern border failed without any ↵smatz
visible reason
2009-01-14(svn r15079) -Codechange: split tcp 'backend' and in-game handling like it ↵rubidium
is for UDP.
2009-01-13(svn r15078) -Fix [NoAI]: AIMap didn't filter its input (Yexo)truebrain
2009-01-13(svn r15077) -Codechange: enumify DAYS_IN_YEAR and DAYS_IN_LEAP_YEARsmatz
-Change: when computing daily running cost, divide by 365 (instead of 364). Since r12134, the rounding errors don't need this correction anymore
2009-01-13(svn r15076) -Fix: a start_date of 0 would never start an AI .. so don't ↵truebrain
allow it (Yexo)
2009-01-13(svn r15075) -Fix: store _next_competitor_start as uint32, else it might ↵truebrain
overflow for values > 2.4 years
2009-01-13(svn r15074) -Fix: make Rubidium happytruebrain
2009-01-13(svn r15073) -Fix (r15067) [FS#2532]: Default copy constructors don't ↵peter1138
necessarily do what you want. Instead of creating one, we now pass a pointer around as that avoids additional allocations.
2009-01-13(svn r15072) -Fix (r14919): Distant-join search-area was determined ↵frosch
inconsistently.
2009-01-13(svn r15071) -Fix (r14919): When drag&dropping rail-stations with X ↵frosch
orientation, distant-join scanned a wrong area for stations.
2009-01-13(svn r15070) -Update: WebTranslator2 update to 2009-01-13 18:42:22translators
brazilian_portuguese - 16 fixed by tucalipe (16) catalan - 8 fixed by arnaullv (8) croatian - 24 fixed by tifached (24) czech - 8 fixed by Hadez (8) dutch - 2 fixed by Excel20 (2) finnish - 7 fixed, 1 changed by UltimateSephiroth (8) hungarian - 7 fixed, 2 changed by IPG (2), alyr (7) indonesian - 23 fixed, 2 changed by fanioz (25) italian - 7 fixed, 1 changed by lorenzodv (8) japanese - 59 fixed by ickoonite (59) polish - 3 fixed by xaxa (3) romanian - 23 fixed, 1 changed by kkmic (24) slovak - 59 fixed by James (59) spanish - 58 fixed by Dominus (30), eusebio (28) turkish - 7 fixed, 1 changed by Emin (8)
2009-01-13(svn r15069) -Change (r14919): Make distant-join less intelligent but more ↵frosch
transparent to the user by always showing the selection window, even if there is only one option to choose from. (PhilSophus)
2009-01-13(svn r15068) -Add [NoAI]: introducing 'step_size' for AIConfig, for future ↵truebrain
AIGUI (Yexo)
2009-01-13(svn r15067) -Fix [FS#2531]: Possible compiler bug, alleviated by using ↵peter1138
SmallVector instead of using std::set. SmallVector does everything needed anyway.
2009-01-13(svn r15066) -Change: start_date is now in days, instead of in months (Yexo)truebrain
2009-01-13(svn r15065) -Change (r14919): Allow to select a new station location by ↵frosch
ctrl-clicking while distant-join window is open. (PhilSophus)
2009-01-13(svn r15063) -Fix [NoAI]: starting companies now listen correctly to ↵truebrain
'start_date' set to the AI slot (Yexo) -Add [NoAI]: add a 'deviation' value for all settings, giving a slight deviation of the value of a setting (Yexo)
2009-01-13(svn r15062) -Fix: further forgotten svn properties and headerssmatz
2009-01-13(svn r15061) -Fix (r15027): three files were missing the Id headersmatz
2009-01-13(svn r15059) -Add [NoAI]: use 'start_date' from the AI configure to see when ↵truebrain
an AI should start next
2009-01-13(svn r15058) -Fix [NoAI]: when using start_ai in console, start the next ↵truebrain
configured one, not a random (Yexo)
2009-01-13(svn r15057) -Fix [NoAI]: clamp the values of a setting between the ones ↵truebrain
allowed by info.nut
2009-01-13(svn r15056) -Add [NoAI]: when starting a game, give a random value to the ↵truebrain
setting marked with AICONFIG_RANDOM (Yexo)
2009-01-13(svn r15055) -Add [NoAI]: add the AICONFIG_RANDOM and AICONFIG_BOOLEAN ↵truebrain
consts (Yexo)
2009-01-13(svn r15053) -Cleanup: remove some unneeded includesrubidium
2009-01-13(svn r15052) -Codechange: move the implementation of Send_CompanyInformation ↵rubidium
to network_server.cpp as the server's the one that sends that information
2009-01-13(svn r15051) -Fix: Only allow creation or deletion of an AI when in a game.peter1138
2009-01-13(svn r15050) -Codechange: Use one absolute SpriteID with offsets to draw ↵peter1138
track fences.
2009-01-13(svn r15049) -Fix (r15045): MSVC performance warningglx
2009-01-13(svn r15048) -Fix (r15047): the one time you don't compile a patch of ↵truebrain
someone, it contains a warning .. ;)
2009-01-13(svn r15047) -Fix [NoAI]: AICONFIG_BOOLEAN (in AddSetting) doesn't require ↵truebrain
(or even allow) a min/max setting .. it is always 0/1 (Yexo)
2009-01-13(svn r15046) -Fix (r15045): in case CanLoadFromRevision does not exist, only ↵truebrain
allow savedata from the same version as we are now
2009-01-13(svn r15045) -Add [NoAI API CHANGE]: in info.nut you can now have (optional) ↵truebrain
a CanLoadFromVersion(version), which should return true/false, to indicate if you can load a savegame made with your AI of version 'version' -Add [NoAI API CHANGE]: in main.nut the Load() function now should be Load(version, data), where 'version' is the version of your AI which made the savegame -Codechange [NoAI]: various of function renames to make things more sane -Add [NoAI]: push the 'version' of the AI through various of layers -Codechange [NoAI]: various of code cleanups -Add [NoAI]: store the version of the AI in the savegame too
2009-01-13(svn r15044) -Add [NoAI]: AIConfig::GetVersion(), to get the version of the ↵truebrain
current AI
2009-01-13(svn r15043) -Fix: just try to change the AI, and see if that succeeded, ↵truebrain
instead of hoping you understand the internals of a change AI routine (to avoid possible mistakes in the future)
2009-01-12(svn r15042) -Fix (r15027): don't leak memory in AIInfo (Yexo)truebrain
2009-01-12(svn r15041) -Fix (r15038): use the ctor auto thing how it is meant to be ↵truebrain
used (tnx to SmatZ for pointing that out)