summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-01-13(svn r15061) -Fix (r15027): three files were missing the Id headersmatz
2009-01-13(svn r15060) -Fix (r15027): svn properties were lost in the mergesmatz
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)
2009-01-12(svn r15040) -Fix (r15027): Don't disable support for Win64 in the VS2005 ↵michi_cc
project file.
2009-01-12(svn r15039) -Codechange: fix comments regarding old AI, remove one old AI hacksmatz
2009-01-12(svn r15038) -Fix (r15027): loading older savegames failedtruebrain
2009-01-12(svn r15037) -Cleanup: remove unused file src/table/ai_rail.hsmatz
2009-01-12(svn r15036) -Fix: use the same value for 'random' through-out the code for ↵truebrain
PlantTree
2009-01-12(svn r15035) -Fix (r15027): if case people don't use SVN (which we advise), ↵truebrain
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)
2009-01-12(svn r15034) -Fix (r15027): NoAI framework no longer needs threads, so don't ↵truebrain
make source.list believe it does
2009-01-12(svn r15033) -Fix (r15027): silent a warning when compiling without networktruebrain
2009-01-12(svn r15032) -Fix (r15030): Rubidium was too script-happy ;)truebrain
2009-01-12(svn r15031) -Fix (r15027): merge reverted r15026, so do it once againsmatz
2009-01-12(svn r15030) -Update (r15029): and from the other languages too (yay for WT2)rubidium
2009-01-12(svn r15029) -Cleanup (r15027): remove strings that aren't needed anymorerubidium
2009-01-12(svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to ↵truebrain
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
2009-01-12(svn r15026) -Codechange: use SpriteTypeByte instead of SpriteType in the ↵smatz
SpriteCache struct in order to make it smaller
2009-01-12(svn r15019) -Fix (r14919): Close station selection window, when disabling ↵frosch
distant-join setting. (PhilSophus)
2009-01-12(svn r15015) -Fix (r14919): Distant-join always failed for docks. Based on ↵frosch
patch by PhilSophus.
2009-01-12(svn r15014) -Codechange: Add a helper function to get the needed DC_xxx ↵frosch
flags from the result of GetCommandFlags().
2009-01-12(svn r15011) -Documentation: Nuclear, not Nucleairtruebrain
2009-01-12(svn r15009) -Fix [FS#2528]: No need to extent the reserved path when the ↵frosch
vehicle is still loading.
2009-01-12(svn r15008) -Revert (r12706): remove fibersglx
2009-01-12(svn r15006) -Codechange: throw a real instance of a class, instead of '0' ↵truebrain
(which can also be a throw from within a thread for what ever reason)
2009-01-12(svn r14999) -Change [FS#2523]: move service at helipad to the servicing optionsrubidium
2009-01-11(svn r14998) -Codechange: warn once about misuse of each sprite, not once ↵smatz
about misuse of any sprite
2009-01-11(svn r14997) -Fix [FS#2524](r14223): when handling invalid sprites, entry in ↵smatz
spritecache data could lose its parent
2009-01-11(svn r14996) -Update: WebTranslator2 update to 2009-01-11 18:44:49translators
afrikaans - 22 fixed by burgerd (22) arabic_egypt - 18 fixed by khaloofah (18) catalan - 16 fixed by arnaullv (16) czech - 12 fixed by Hadez (12) dutch - 13 fixed by Excel20 (13) finnish - 1 fixed by UltimateSephiroth (1) french - 1 fixed, 1 changed by glx (2) greek - 8 fixed by paolitotas (8) hungarian - 16 fixed by alyr (16) italian - 16 fixed, 8 changed by lorenzodv (24) lithuanian - 21 fixed by Enternald (21) polish - 11 fixed by xaxa (11) slovenian - 41 fixed by Necrolyte (41) turkish - 22 fixed by Emin (22)
2009-01-11(svn r14994) -Fix [FS#Aali]: Better handling of OT_LOADING and ↵frosch
OT_LEAVESTATION in ChooseTrainTrack.
2009-01-11(svn r14993) -Fix (r14957, r14975): Do not reverse the train with ↵frosch
OT_LEAVESTATION as that breaks PBS prediction.
2009-01-11(svn r14992) -Codechange: Rename 'CheckIfAuthorityAllows' to ↵frosch
'CheckIfAuthorityAllowsNewStation' and unduplicate a tiny bit of code.
2009-01-11(svn r14991) -Fix: Command-flags is an uint32.frosch
2009-01-11(svn r14990) -Codechange: handle articulated RVs and trams more strictly in ↵rubidium
GetStationTileForVehicle and CanVehicleUseStation (based on idea by Swallow)