~ubuntu-branches/debian/squeeze/openttd/squeeze

« back to all changes in this revision

Viewing changes to src/ai/api/ai_controller.hpp

  • Committer: Bazaar Package Importer
  • Author(s): Jordi Mallach, Matthijs Kooijman
  • Date: 2009-06-09 21:46:28 UTC
  • mfrom: (1.1.7 upstream) (2.1.4 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090609214628-6z5uodi6178z050l
[ Matthijs Kooijman ]
* New upstream release.
* Link against libicu to enable right-to-left language support. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $Id: ai_controller.hpp 15462 2009-02-13 00:18:56Z yexo $ */
 
1
/* $Id: ai_controller.hpp 16272 2009-05-10 21:26:46Z rubidium $ */
2
2
 
3
3
/** @file ai_controller.hpp The controller of the AI. */
4
4
 
51
51
        static int GetSetting(const char *name);
52
52
 
53
53
        /**
 
54
         * Get the OpenTTD version of this executable. The version is formatted
 
55
         * with the bits having the following meaning:
 
56
         * 28-31 major version
 
57
         * 24-27 minor version
 
58
         * 20-23 build
 
59
         *    19 1 if it is a release, 0 if it is not.
 
60
         *  0-18 revision number; 0 when the revision is unknown.
 
61
         * @return The version in newgrf format.
 
62
         */
 
63
        static uint GetVersion();
 
64
 
 
65
        /**
54
66
         * Change the minimum amount of time the AI should be put in suspend mode
55
67
         *   when you execute a command. Normally in SP this is 1, and in MP it is
56
68
         *   what ever delay the server has been programmed to delay commands