Commit Graph

10745 Commits (ca45774160670c787ba81b3c09ff418c1e1bc772)
 

Author SHA1 Message Date
smatz ca45774160 (svn r15077) -Codechange: enumify DAYS_IN_YEAR and DAYS_IN_LEAP_YEAR
-Change: when computing daily running cost, divide by 365 (instead of 364). Since r12134, the rounding errors don't need this correction anymore
16 years ago
truebrain 5b4da28594 (svn r15076) -Fix: a start_date of 0 would never start an AI .. so don't allow it (Yexo) 16 years ago
truebrain e05d2ef453 (svn r15075) -Fix: store _next_competitor_start as uint32, else it might overflow for values > 2.4 years 16 years ago
truebrain d5a599f5e5 (svn r15074) -Fix: make Rubidium happy 16 years ago
peter1138 4585d9785d (svn r15073) -Fix (r15067) [FS#2532]: Default copy constructors don't necessarily do what you want. Instead of creating one, we now pass a pointer around as that avoids additional allocations. 16 years ago
frosch f70b4c5ae4 (svn r15072) -Fix (r14919): Distant-join search-area was determined inconsistently. 16 years ago
frosch bc06145d24 (svn r15071) -Fix (r14919): When drag&dropping rail-stations with X orientation, distant-join scanned a wrong area for stations. 16 years ago
translators fa31824a5f (svn r15070) -Update: WebTranslator2 update to 2009-01-13 18:42:22
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)
16 years ago
frosch da29e853b1 (svn r15069) -Change (r14919): Make distant-join less intelligent but more transparent to the user by always showing the selection window, even if there is only one option to choose from. (PhilSophus) 16 years ago
truebrain ec4bdfe611 (svn r15068) -Add [NoAI]: introducing 'step_size' for AIConfig, for future AIGUI (Yexo) 16 years ago
peter1138 afb94c252d (svn r15067) -Fix [FS#2531]: Possible compiler bug, alleviated by using SmallVector instead of using std::set. SmallVector does everything needed anyway. 16 years ago
truebrain f293bff01b (svn r15066) -Change: start_date is now in days, instead of in months (Yexo) 16 years ago
frosch 7014833641 (svn r15065) -Change (r14919): Allow to select a new station location by ctrl-clicking while distant-join window is open. (PhilSophus) 16 years ago
truebrain 2ae730b220 (svn r15064) -Fix (r15063): changes in random made the regression fail 16 years ago
truebrain 39cec4c65f (svn r15063) -Fix [NoAI]: starting companies now listen correctly to '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)
16 years ago
smatz 638411c087 (svn r15062) -Fix: further forgotten svn properties and headers 16 years ago
smatz c30ce23866 (svn r15061) -Fix (r15027): three files were missing the Id header 16 years ago
smatz 583413baf5 (svn r15060) -Fix (r15027): svn properties were lost in the merge 16 years ago
truebrain ee17e1e7b8 (svn r15059) -Add [NoAI]: use 'start_date' from the AI configure to see when an AI should start next 16 years ago
truebrain 60d4900381 (svn r15058) -Fix [NoAI]: when using start_ai in console, start the next configured one, not a random (Yexo) 16 years ago
truebrain bf1acb6772 (svn r15057) -Fix [NoAI]: clamp the values of a setting between the ones allowed by info.nut 16 years ago
truebrain f29941a043 (svn r15056) -Add [NoAI]: when starting a game, give a random value to the setting marked with AICONFIG_RANDOM (Yexo) 16 years ago
truebrain 53d28d24b5 (svn r15055) -Add [NoAI]: add the AICONFIG_RANDOM and AICONFIG_BOOLEAN consts (Yexo) 16 years ago
rubidium 737c187f79 (svn r15053) -Cleanup: remove some unneeded includes 16 years ago
rubidium 01e92ac32a (svn r15052) -Codechange: move the implementation of Send_CompanyInformation to network_server.cpp as the server's the one that sends that information 16 years ago
peter1138 c26fd4eacc (svn r15051) -Fix: Only allow creation or deletion of an AI when in a game. 16 years ago
peter1138 f382c2381b (svn r15050) -Codechange: Use one absolute SpriteID with offsets to draw track fences. 16 years ago
glx 55db451a32 (svn r15049) -Fix (r15045): MSVC performance warning 16 years ago
truebrain 81157e3d91 (svn r15048) -Fix (r15047): the one time you don't compile a patch of someone, it contains a warning .. ;) 16 years ago
truebrain 08591d8643 (svn r15047) -Fix [NoAI]: AICONFIG_BOOLEAN (in AddSetting) doesn't require (or even allow) a min/max setting .. it is always 0/1 (Yexo) 16 years ago
truebrain 75b8afc136 (svn r15046) -Fix (r15045): in case CanLoadFromRevision does not exist, only allow savedata from the same version as we are now 16 years ago
truebrain 5573d9a459 (svn r15045) -Add [NoAI API CHANGE]: in info.nut you can now have (optional) 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
16 years ago
truebrain 27c0a4c801 (svn r15044) -Add [NoAI]: AIConfig::GetVersion(), to get the version of the current AI 16 years ago
truebrain a2b24a8362 (svn r15043) -Fix: just try to change the AI, and see if that succeeded, instead of hoping you understand the internals of a change AI routine (to avoid possible mistakes in the future) 16 years ago
truebrain c8f9cbca53 (svn r15042) -Fix (r15027): don't leak memory in AIInfo (Yexo) 16 years ago
truebrain 8823f796ea (svn r15041) -Fix (r15038): use the ctor auto thing how it is meant to be used (tnx to SmatZ for pointing that out) 16 years ago
michi_cc f3b9f94800 (svn r15040) -Fix (r15027): Don't disable support for Win64 in the VS2005 project file. 16 years ago
smatz d286e1df4b (svn r15039) -Codechange: fix comments regarding old AI, remove one old AI hack 16 years ago
truebrain 4c1e61997a (svn r15038) -Fix (r15027): loading older savegames failed 16 years ago
smatz 96529b2f0c (svn r15037) -Cleanup: remove unused file src/table/ai_rail.h 16 years ago
truebrain 03725c057f (svn r15036) -Fix: use the same value for 'random' through-out the code for PlantTree 16 years ago
truebrain 8fd3539f7b (svn r15035) -Fix (r15027): if case people don't use SVN (which we advise), they do not receive src/3rdparty/squirrel automaticly. Warn when not found, and advise what to do (this to avoid stupid users like yorick get all confused and agressive) 16 years ago
truebrain 23050b7782 (svn r15034) -Fix (r15027): NoAI framework no longer needs threads, so don't make source.list believe it does 16 years ago
truebrain dcae208dfe (svn r15033) -Fix (r15027): silent a warning when compiling without network 16 years ago
truebrain cb53184db4 (svn r15032) -Fix (r15030): Rubidium was too script-happy ;) 16 years ago
smatz f528593a40 (svn r15031) -Fix (r15027): merge reverted r15026, so do it once again 16 years ago
rubidium a5433f2e2b (svn r15030) -Update (r15029): and from the other languages too (yay for WT2) 16 years ago
rubidium 4cc0bae6f8 (svn r15029) -Cleanup (r15027): remove strings that aren't needed anymore 16 years ago
truebrain c2406cd42d (svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to see.
NoAI is an API (a framework) to build your own AIs in. See:
   http://wiki.openttd.org/wiki/index.php/AI:Main_Page
 With many thanks to:
  - glx and Rubidium for their syncing, feedback and hard work
  - Yexo for his feedback, patches, and AIs which tested the system very deep
  - Morloth for his feedback and patches
  - TJIP for hosting a challenge which kept NoAI on track
  - All AI authors for testing our AI API, and all other people who helped in one way or another
-Remove: all old AIs and their cheats/hacks
16 years ago
smatz ec97e1fd0d (svn r15026) -Codechange: use SpriteTypeByte instead of SpriteType in the SpriteCache struct in order to make it smaller 16 years ago