truebrain
e41655d67c
(svn r15064) -Fix (r15063): changes in random made the regression fail
2009-01-13 16:57:26 +00:00
truebrain
890074a03e
(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)
2009-01-13 16:53:03 +00:00
truebrain
c3249d599f
(svn r15059) -Add [NoAI]: use 'start_date' from the AI configure to see when an AI should start next
2009-01-13 14:00:26 +00:00
truebrain
405239758e
(svn r15058) -Fix [NoAI]: when using start_ai in console, start the next configured one, not a random (Yexo)
2009-01-13 13:26:20 +00:00
truebrain
07f2afa635
(svn r15057) -Fix [NoAI]: clamp the values of a setting between the ones allowed by info.nut
2009-01-13 13:09:49 +00:00
truebrain
1bd2867715
(svn r15056) -Add [NoAI]: when starting a game, give a random value to the setting marked with AICONFIG_RANDOM (Yexo)
2009-01-13 12:52:09 +00:00
truebrain
e6543c2776
(svn r15055) -Add [NoAI]: add the AICONFIG_RANDOM and AICONFIG_BOOLEAN consts (Yexo)
2009-01-13 12:51:46 +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
truebrain
2c89bfbc81
(svn r15038) -Fix (r15027): loading older savegames failed
2009-01-12 19:31:00 +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
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
truebrain
809bf8fb43
(svn r15011) -Documentation: Nuclear, not Nucleair
2009-01-12 15:21:59 +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
truebrain
00b3d6f923
(svn r14856) -Fix: allow 'makedepend' to find header files in the lang-obj-dir
2009-01-06 00:48:19 +00:00
truebrain
c3f96f8377
(svn r14661) -Fix r14659: oops, forgot to escape '?' ;)
2008-12-07 12:41:20 +00:00
truebrain
ab8e24e332
(svn r14659) -Add: in case Thief^ (forum user) ever tries what he thinks he will try when he doesn't know it is --prefix-dir, make sure he also gets what he assumes he gets :)
2008-12-06 00:38:48 +00:00
truebrain
122ce41f78
(svn r14497) -Fix: if freetype was not detected or disabled, skip fontconfig detection, unless explicit requested (on request by Rubidium)
2008-10-19 21:32:29 +00:00
truebrain
29ea45fc02
(svn r14496) -Fix: give a clear warning when people disable zlib (or when it wasn't detected), but keep on going nevertheless (on request by Rubidium)
2008-10-19 21:29:12 +00:00
truebrain
f609a26929
(svn r14495) -Change: don't use freetype, fontconfig and icu in case of building a dedicated server, unless explicit requested
2008-10-19 20:53:13 +00:00
truebrain
b6ca10b05a
(svn r14477) -Fix r14474: also name the links in the .desktop file correclty upon install
2008-10-16 13:02:15 +00:00
truebrain
098c3b817e
(svn r14476) -Fix r14475: (no comment)
2008-10-16 12:19:24 +00:00
truebrain
266dfc019c
(svn r14475) -Add: allow setting the name of the desktop item (follow-up on r14474)
2008-10-16 11:33:17 +00:00
truebrain
1fc852cb31
(svn r14474) -Add: allow --binary-name to set the name of the binary, icon, desktop file, etc. when installing. Useful to get a stable next to a trunk-nightly
2008-10-16 11:12:18 +00:00
truebrain
7610bf2cb4
(svn r14473) -Fix: also install the root .txt and COPYING files to docs/
2008-10-16 11:04:07 +00:00
truebrain
e354b614e9
(svn r14472) -Fix: add docs/obg_format.txt in bundles too
2008-10-16 10:58:26 +00:00
truebrain
a25d9bcc8b
(svn r14413) -Fix: when no revision detected, the error didn't indicate 'mercurial' was accepted as source too (patch not by Sacro)
...
-Fix: that same message was slightly unclear in what it would mean for network joins
2008-09-28 17:20:31 +00:00
truebrain
72f86fe801
(svn r14255) -Fix [configure]: remove the requirement to have a recent enough 'grep' which understands -m. Instead, use 'head -n 1' which is more common available
2008-09-06 12:54:11 +00:00
truebrain
2f350316b6
(svn r14244) -Fix: add 'Auto-generated' text when autogenerated, not in template (complain by blathijs ;))
2008-09-04 19:15:52 +00:00
truebrain
aaf1d78220
(svn r14227) -Fix [configure]: detect if we are in a new directory, and rerun configure in those cases. Should avoid confusion (idea by Eddi)
2008-09-02 16:28:31 +00:00
truebrain
4cd3f2a72e
(svn r14226) -Revert r13792: 'configure --help' failed when for example gcc wasn't detected .. not really what you expect. By the lack of imagination, a revert will have to do for now.
2008-09-02 15:59:21 +00:00
truebrain
ec8962a599
(svn r14225) -Fix [configure]: make sure a dir exists if you want to write into it
2008-09-02 15:56:31 +00:00
truebrain
ded6434502
(svn r14224) -Fix: copy Makefile.bundle too to your working dir, so you don't need to run ./configure in the root of OpenTTD
2008-09-02 15:34:38 +00:00
truebrain
b95042b05c
(svn r13412) -Add: OTTDThreadTerminateFunc, for all thread systems, which is called when a thread is terminated. Now GenWorld- and SaveLoad-thread cleanup theirselves correctly, while Fibers don't (as that causes access-violations)
2008-06-08 12:06:27 +00:00