(svn r16613) -Fix [NewGRF]: some of the var action 2 80+ variables contained wrong results due to OpenTTD codechanges

This commit is contained in:
yexo
2009-06-21 10:11:04 +00:00
parent 8d3e094920
commit 3531315322
3 changed files with 44 additions and 7 deletions

View File

@@ -232,6 +232,13 @@ public:
*/
uint32 Pack() const;
/**
* Pack this order into a 16 bits integer as close to the TTD
* representation as possible.
* @return the TTD-like packed representation.
*/
uint16 MapOldOrder() const;
/**
* Converts this order from an old savegame's version;
* it moves all bits to the new location.