mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-10 08:00:05 +00:00
The tst_stationlist savegame had to be changed to start the correct AI. In the old setup, all regression AIs had the same name, which made it impossible to run both regressions in parallel. With the new setup this is possible. Although all files are available to run the regression, it won't really work till CMake is introduced (which will happen in a few commits from here)
14 lines
563 B
Plaintext
14 lines
563 B
Plaintext
class Regression extends AIInfo {
|
|
function GetAuthor() { return "OpenTTD NoAI Developers Team"; }
|
|
function GetName() { return "Regression"; }
|
|
function GetShortName() { return "REGR"; }
|
|
function GetDescription() { return "This runs regression-tests on some commands. On the same map the result should always be the same."; }
|
|
function GetVersion() { return 1; }
|
|
function GetAPIVersion() { return "1.11"; }
|
|
function GetDate() { return "2007-03-18"; }
|
|
function CreateInstance() { return "Regression"; }
|
|
}
|
|
|
|
RegisterAI(Regression());
|
|
|