[Scummvm-cvs-logs] SF.net SVN: scummvm:[42991] scummvm/branches/gsoc2009-draci/engines/draci/ barchive.h

dkasak13 at users.sourceforge.net dkasak13 at users.sourceforge.net
Sun Aug 2 07:11:16 CEST 2009


Revision: 42991
          http://scummvm.svn.sourceforge.net/scummvm/?rev=42991&view=rev
Author:   dkasak13
Date:     2009-08-02 05:11:15 +0000 (Sun, 02 Aug 2009)

Log Message:
-----------
Changed some uint16s to uints (to blend more naturally with the rest of the engine).

Modified Paths:
--------------
    scummvm/branches/gsoc2009-draci/engines/draci/barchive.h

Modified: scummvm/branches/gsoc2009-draci/engines/draci/barchive.h
===================================================================
--- scummvm/branches/gsoc2009-draci/engines/draci/barchive.h	2009-08-02 05:09:55 UTC (rev 42990)
+++ scummvm/branches/gsoc2009-draci/engines/draci/barchive.h	2009-08-02 05:11:15 UTC (rev 42991)
@@ -35,8 +35,8 @@
  */
 
 struct BAFile {
-	uint16 _compLength;	//!< Compressed length (the same as _length if the file is uncompressed) 	
-	uint16 _length; 	//!< Uncompressed length
+	uint _compLength;	//!< Compressed length (the same as _length if the file is uncompressed) 	
+	uint _length; 	//!< Uncompressed length
 	uint32 _offset; 	//!< Offset of file inside archive	
 	byte *_data;
 	byte _crc;
@@ -62,7 +62,7 @@
 
 	void openArchive(const Common::String &path);
 	void closeArchive(void);
-	uint16 size() const { return _fileCount; }
+	uint size() const { return _fileCount; }
 
 	/** 
 	 * Checks whether there is an archive opened. Should be called before reading
@@ -85,7 +85,7 @@
 
 	Common::String _path;    //!< Path to file
 	BAFile *_files;          //!< Internal array of files
-	uint16 _fileCount;       //!< Number of files in archive
+	uint _fileCount;       //!< Number of files in archive
 	bool _isDFW;			 //!< True if the archive is in DFW format, false otherwise
 	bool _opened;			 //!< True if the archive is opened, false otherwise
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list