~ubuntu-branches/ubuntu/raring/simutrans/raring-proposed

« back to all changes in this revision

Viewing changes to besch/vehikel_besch.h

  • Committer: Package Import Robot
  • Author(s): Ansgar Burchardt
  • Date: 2011-11-03 19:59:02 UTC
  • mfrom: (1.2.7)
  • Revision ID: package-import@ubuntu.com-20111103195902-uopgwf488mfctb75
Tags: 111.0-1
* New upstream release.
* debian/rules: Update get-orig-source target for new upstream release.
* Use xz compression for source and binary packages.
* Use override_* targets to simplify debian/rules.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
#include "sound_besch.h"
16
16
#include "../dataobj/ribi.h"
17
17
#include "../simtypes.h"
 
18
#include "../simunits.h"
18
19
 
19
20
 
20
21
class checksum_t;
42
43
 * @author Volker Meyer, Hj. Malthaner, kierongreen
43
44
 */
44
45
class vehikel_besch_t : public obj_besch_std_name_t {
45
 
    friend class vehicle_writer_t;
46
46
    friend class vehicle_reader_t;
47
47
    friend class vehikelbauer_t;
48
48
 
287
287
        * @author prissi
288
288
        */
289
289
        uint8 get_length() const { return len; }
 
290
        uint32 get_length_in_steps() const { return get_length() * VEHICLE_STEPS_PER_CARUNIT; }
290
291
 
291
292
        void calc_checksum(checksum_t *chk) const;
292
293
};