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

« back to all changes in this revision

Viewing changes to src/saveload/cargopacket_sl.cpp

  • 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: cargopacket_sl.cpp 15903 2009-03-30 23:15:05Z rubidium $ */
 
1
/* $Id: cargopacket_sl.cpp 16742 2009-07-04 17:39:00Z rubidium $ */
2
2
 
3
3
/** @file cargopacket_sl.cpp Code handling saving and loading of cargo packets */
4
4
 
8
8
#include "saveload.h"
9
9
 
10
10
static const SaveLoad _cargopacket_desc[] = {
11
 
        SLE_VAR(CargoPacket, source,          SLE_UINT16),
12
 
        SLE_VAR(CargoPacket, source_xy,       SLE_UINT32),
13
 
        SLE_VAR(CargoPacket, loaded_at_xy,    SLE_UINT32),
14
 
        SLE_VAR(CargoPacket, count,           SLE_UINT16),
15
 
        SLE_VAR(CargoPacket, days_in_transit, SLE_UINT8),
16
 
        SLE_VAR(CargoPacket, feeder_share,    SLE_INT64),
17
 
        SLE_VAR(CargoPacket, paid_for,        SLE_BOOL),
 
11
             SLE_VAR(CargoPacket, source,          SLE_UINT16),
 
12
             SLE_VAR(CargoPacket, source_xy,       SLE_UINT32),
 
13
             SLE_VAR(CargoPacket, loaded_at_xy,    SLE_UINT32),
 
14
             SLE_VAR(CargoPacket, count,           SLE_UINT16),
 
15
             SLE_VAR(CargoPacket, days_in_transit, SLE_UINT8),
 
16
             SLE_VAR(CargoPacket, feeder_share,    SLE_INT64),
 
17
 
 
18
        /* Used to be paid_for, but that got changed. */
 
19
        SLE_CONDNULL(1, 0, 120),
18
20
 
19
21
        SLE_END()
20
22
};