~ubuntu-branches/debian/squeeze/simutrans/squeeze

« back to all changes in this revision

Viewing changes to besch/writer/obj_node.h

  • Committer: Bazaar Package Importer
  • Author(s): Ansgar Burchardt
  • Date: 2009-03-06 20:40:03 UTC
  • mfrom: (1.2.1 upstream) (6.2.1 sid)
  • Revision ID: james.westby@ubuntu.com-20090306204003-tk31qp9fyr7cmv4g
Tags: 102.0-1
* New upstream release.
  + Refresh patches.
  + Update translations.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
                uint32 write_offset; // Start of node data in file (after node.desc)
18
18
                obj_node_t* parent;
19
 
                bool adjust; // a normal besch structure start with 4 extra bytes
20
19
 
21
20
        public:
22
21
                // set_start_offset() - set offset of first node in file
27
26
                //          writer  object, that writes the node to the file
28
27
                //          size    space needed for node data
29
28
                //          parent  parent node
30
 
                obj_node_t(obj_writer_t* writer, int size, obj_node_t* parent, bool adjust);
 
29
                obj_node_t(obj_writer_t* writer, int size, obj_node_t* parent);
31
30
 
32
31
                // Write the complete node data to the file
33
32
                void write_data(FILE* fp, const void* data);