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

« back to all changes in this revision

Viewing changes to src/ai/api/ai_object.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_object.hpp 15558 2009-02-23 19:35:19Z yexo $ */
 
1
/* $Id: ai_object.hpp 16511 2009-06-03 18:55:45Z rubidium $ */
2
2
 
3
3
/** @file ai_object.hpp Main object, on which all objects depend. */
4
4
 
143
143
         */
144
144
        static void *&GetEventPointer();
145
145
 
 
146
        /**
 
147
         * Set the cost of the last command.
 
148
         */
146
149
        static void SetLastCost(Money last_cost);
 
150
 
 
151
        /**
 
152
         * Get the cost of the last command.
 
153
         */
147
154
        static Money GetLastCost();
 
155
 
 
156
        /**
 
157
         * Set a variable that can be used by callback functions to pass information.
 
158
         */
148
159
        static void SetCallbackVariable(int index, int value);
 
160
 
 
161
        /**
 
162
         * Get the variable that is used by callback functions to pass information.
 
163
         */
149
164
        static int GetCallbackVariable(int index);
150
165
 
151
166
public: