Commit Graph

10722 Commits

Author SHA1 Message Date
rubidium 04ea0b9316 (svn r15053) -Cleanup: remove some unneeded includes 2009-01-13 11:53:33 +00:00
rubidium fc696a7e29 (svn r15052) -Codechange: move the implementation of Send_CompanyInformation to network_server.cpp as the server's the one that sends that information 2009-01-13 11:46:29 +00:00
peter1138 f0e6eeb57d (svn r15051) -Fix: Only allow creation or deletion of an AI when in a game. 2009-01-13 11:06:21 +00:00
peter1138 56b91b582e (svn r15050) -Codechange: Use one absolute SpriteID with offsets to draw track fences. 2009-01-13 08:39:25 +00:00
glx 37500a13f6 (svn r15049) -Fix (r15045): MSVC performance warning 2009-01-13 02:03:03 +00:00
truebrain 0adcb5bc2f (svn r15048) -Fix (r15047): the one time you don't compile a patch of someone, it contains a warning .. ;) 2009-01-13 01:52:32 +00:00
truebrain c9d20bfd47 (svn r15047) -Fix [NoAI]: AICONFIG_BOOLEAN (in AddSetting) doesn't require (or even allow) a min/max setting .. it is always 0/1 (Yexo) 2009-01-13 01:51:39 +00:00
truebrain e06e372529 (svn r15046) -Fix (r15045): in case CanLoadFromRevision does not exist, only allow savedata from the same version as we are now 2009-01-13 01:50:51 +00:00
truebrain bcbbf2c366 (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
2009-01-13 01:46:46 +00:00
truebrain e6883c5cc7 (svn r15044) -Add [NoAI]: AIConfig::GetVersion(), to get the version of the current AI 2009-01-13 00:10:58 +00:00
truebrain 2462e8dc9d (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) 2009-01-13 00:08:38 +00:00
truebrain 695765fde7 (svn r15042) -Fix (r15027): don't leak memory in AIInfo (Yexo) 2009-01-12 21:40:00 +00:00
truebrain 1c3b7ba863 (svn r15041) -Fix (r15038): use the ctor auto thing how it is meant to be used (tnx to SmatZ for pointing that out) 2009-01-12 21:39:45 +00:00
michi_cc 15a7b6094b (svn r15040) -Fix (r15027): Don't disable support for Win64 in the VS2005 project file. 2009-01-12 21:11:56 +00:00
smatz 26e5ccb60d (svn r15039) -Codechange: fix comments regarding old AI, remove one old AI hack 2009-01-12 19:49:23 +00:00
truebrain 2c89bfbc81 (svn r15038) -Fix (r15027): loading older savegames failed 2009-01-12 19:31:00 +00:00
smatz 4a5044e61a (svn r15037) -Cleanup: remove unused file src/table/ai_rail.h 2009-01-12 19:26:21 +00:00
truebrain c666cf5a49 (svn r15036) -Fix: use the same value for 'random' through-out the code for PlantTree 2009-01-12 18:15:18 +00:00
truebrain 324e256dfd (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) 2009-01-12 18:05:24 +00:00
truebrain a5c47a2da8 (svn r15034) -Fix (r15027): NoAI framework no longer needs threads, so don't make source.list believe it does 2009-01-12 17:40:32 +00:00
truebrain b7b29d96de (svn r15033) -Fix (r15027): silent a warning when compiling without network 2009-01-12 17:40:13 +00:00
truebrain e2d2946007 (svn r15032) -Fix (r15030): Rubidium was too script-happy ;) 2009-01-12 17:33:10 +00:00
smatz 16dfe58e4d (svn r15031) -Fix (r15027): merge reverted r15026, so do it once again 2009-01-12 17:31:43 +00:00
rubidium eb22e265f2 (svn r15030) -Update (r15029): and from the other languages too (yay for WT2) 2009-01-12 17:25:38 +00:00
rubidium 221df9bb19 (svn r15029) -Cleanup (r15027): remove strings that aren't needed anymore 2009-01-12 17:20:16 +00:00
truebrain a3dd7506d3 (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
2009-01-12 17:11:45 +00:00
smatz 9294f96168 (svn r15026) -Codechange: use SpriteTypeByte instead of SpriteType in the SpriteCache struct in order to make it smaller 2009-01-12 16:53:11 +00:00
frosch eb6dc2b8ae (svn r15019) -Fix (r14919): Close station selection window, when disabling distant-join setting. (PhilSophus) 2009-01-12 15:44:37 +00:00
frosch 9a80c0b1de (svn r15015) -Fix (r14919): Distant-join always failed for docks. Based on patch by PhilSophus. 2009-01-12 15:29:40 +00:00
frosch 508fc29221 (svn r15014) -Codechange: Add a helper function to get the needed DC_xxx flags from the result of GetCommandFlags(). 2009-01-12 15:27:39 +00:00
truebrain 809bf8fb43 (svn r15011) -Documentation: Nuclear, not Nucleair 2009-01-12 15:21:59 +00:00
frosch 2d4c9cda72 (svn r15009) -Fix [FS#2528]: No need to extent the reserved path when the vehicle is still loading. 2009-01-12 14:56:31 +00:00
glx e99335c085 (svn r15008) -Revert (r12706): remove fibers 2009-01-12 14:45:20 +00:00
truebrain 53ca48efe2 (svn r15006) -Codechange: throw a real instance of a class, instead of '0' (which can also be a throw from within a thread for what ever reason) 2009-01-12 14:31:49 +00:00
rubidium 7947e78daa (svn r14999) -Change [FS#2523]: move service at helipad to the servicing options 2009-01-12 00:06:22 +00:00
smatz 1287fddd8f (svn r14998) -Codechange: warn once about misuse of each sprite, not once about misuse of any sprite 2009-01-11 23:49:51 +00:00
smatz 720eedf7c5 (svn r14997) -Fix [FS#2524](r14223): when handling invalid sprites, entry in spritecache data could lose its parent 2009-01-11 22:28:30 +00:00
translators a9e5f9fbe9 (svn r14996) -Update: WebTranslator2 update to 2009-01-11 18:44:49
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 18:45:12 +00:00
frosch 5c78d35078 (svn r14994) -Fix [FS#Aali]: Better handling of OT_LOADING and OT_LEAVESTATION in ChooseTrainTrack. 2009-01-11 16:33:03 +00:00
frosch a6fc079c52 (svn r14993) -Fix (r14957, r14975): Do not reverse the train with OT_LEAVESTATION as that breaks PBS prediction. 2009-01-11 15:39:49 +00:00
frosch f5cff71284 (svn r14992) -Codechange: Rename 'CheckIfAuthorityAllows' to 'CheckIfAuthorityAllowsNewStation' and unduplicate a tiny bit of code. 2009-01-11 14:26:11 +00:00
frosch e8796a148f (svn r14991) -Fix: Command-flags is an uint32. 2009-01-11 14:11:06 +00:00
rubidium 6c880d1c20 (svn r14990) -Codechange: handle articulated RVs and trams more strictly in GetStationTileForVehicle and CanVehicleUseStation (based on idea by Swallow) 2009-01-11 14:09:09 +00:00
rubidium 1ef953e4a5 (svn r14989) -Codechange: remove a lookup table by reordering some items in english.txt (Swallow) 2009-01-11 14:01:45 +00:00
rubidium 78d3fc59b9 (svn r14986) -Doc: small error in a comment (PhilSophus) 2009-01-10 23:21:46 +00:00
rubidium f6f6f15604 (svn r14980) -Change: shuffle around some more settings to make them more logically grouped/ordered 2009-01-10 19:48:11 +00:00
peter1138 510e0ce083 (svn r14979) -Fix: Disable a NewGRF from loading if it contains multiple Action 8s 2009-01-10 19:30:40 +00:00
rubidium 238c0a5d1f (svn r14978) -Codechange: simplify the control flow of the OnClick of the settings window 2009-01-10 19:22:05 +00:00
translators e1a351cb1a (svn r14977) -Update: WebTranslator2 update to 2009-01-10 18:44:17
arabic_egypt - 4 fixed by khaloofah (4)
brazilian_portuguese - 26 fixed by tucalipe (26)
bulgarian  - 3 fixed by Ar4i (3)
catalan    - 3 fixed by arnaullv (3)
croatian   - 35 fixed by tifached (35)
czech      - 52 fixed, 10 changed by Hadez (62)
danish     - 4 fixed by ThomasA (4)
dutch      - 6 fixed by Excel20 (4), habell (2)
finnish    - 15 fixed by UltimateSephiroth (15)
french     - 15 fixed by glx (15)
hungarian  - 6 fixed by alyr (6)
indonesian - 6 fixed, 64 changed by fanioz (70)
italian    - 3 fixed, 1 changed by lorenzodv (4)
portuguese - 6 fixed by rmrebelo (6)
romanian   - 6 fixed by kkmic (6)
2009-01-10 18:44:39 +00:00
frosch bc786f9e59 (svn r14975) -Fix (r14957): Do not immediatelly move the train when leaving the station and the destination is not yet known. 2009-01-10 17:39:43 +00:00