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

« back to all changes in this revision

Viewing changes to src/order_base.h

  • Committer: Bazaar Package Importer
  • Author(s): Matthijs Kooijman, Matthijs Kooijman
  • Date: 2009-10-01 22:52:59 UTC
  • mfrom: (1.1.8 upstream) (2.1.6 squeeze)
  • Revision ID: james.westby@ubuntu.com-20091001225259-5kpkp4sthbszpyif
[ Matthijs Kooijman ]
* New upstream release
* Use printf instead of echo -en in openttd-wrapper to make it POSIX
  compatible (Closes: #547758).
* Remove three patches that are now included in upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $Id: order_base.h 16248 2009-05-06 23:21:43Z rubidium $ */
 
1
/* $Id: order_base.h 16638 2009-06-23 20:48:48Z rubidium $ */
2
2
 
3
3
/** @file order_base.h Base class for orders. */
4
4
 
233
233
        uint32 Pack() const;
234
234
 
235
235
        /**
 
236
         * Pack this order into a 16 bits integer as close to the TTD
 
237
         * representation as possible.
 
238
         * @return the TTD-like packed representation.
 
239
         */
 
240
        uint16 MapOldOrder() const;
 
241
 
 
242
        /**
236
243
         * Converts this order from an old savegame's version;
237
244
         * it moves all bits to the new location.
238
245
         */