mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-30 22:51:16 +01:00
Properly align the NOD file structure
This commit is contained in:
parent
54ed0ca9f6
commit
98f88db3cf
@ -61,7 +61,7 @@ public:
|
|||||||
_indexFlags(0), _blockOffset(0), _blockSize(0), _indexRecordSize(0),
|
_indexFlags(0), _blockOffset(0), _blockSize(0), _indexRecordSize(0),
|
||||||
_blockRecordSize(0), _blockShift(0), _nodeShift(0), _indexIdSize(0) {}
|
_blockRecordSize(0), _blockShift(0), _nodeShift(0), _indexIdSize(0) {}
|
||||||
NODFile(SubFile *gmp, quint32 offset) : SubFile(gmp, offset),
|
NODFile(SubFile *gmp, quint32 offset) : SubFile(gmp, offset),
|
||||||
_indexOffset(0), _indexSize(0),_indexFlags(0), _blockOffset(0),
|
_indexOffset(0), _indexSize(0), _indexFlags(0), _blockOffset(0),
|
||||||
_blockSize(0), _indexRecordSize(0), _blockRecordSize(0), _blockShift(0),
|
_blockSize(0), _indexRecordSize(0), _blockRecordSize(0), _blockShift(0),
|
||||||
_nodeShift(0), _indexIdSize(0) {}
|
_nodeShift(0), _indexIdSize(0) {}
|
||||||
|
|
||||||
@ -89,11 +89,10 @@ private:
|
|||||||
bool nodeBlock(Handle &hdl, quint32 nodeOffset, BlockInfo &blockInfo) const;
|
bool nodeBlock(Handle &hdl, quint32 nodeOffset, BlockInfo &blockInfo) const;
|
||||||
bool readBlock(Handle &hdl, quint32 blockOffset, BlockInfo &blockInfo) const;
|
bool readBlock(Handle &hdl, quint32 blockOffset, BlockInfo &blockInfo) const;
|
||||||
|
|
||||||
quint32 _indexOffset, _indexSize, _indexFlags, _blockOffset, _blockSize;
|
quint32 _flags, _indexOffset, _indexSize, _indexFlags, _blockOffset,
|
||||||
|
_blockSize;
|
||||||
quint16 _indexRecordSize, _blockRecordSize;
|
quint16 _indexRecordSize, _blockRecordSize;
|
||||||
quint8 _blockShift, _nodeShift;
|
quint8 _blockShift, _nodeShift, _indexIdSize;
|
||||||
quint32 _flags;
|
|
||||||
quint32 _indexIdSize;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // NETFILE_H
|
#endif // NETFILE_H
|
||||||
|
Loading…
Reference in New Issue
Block a user