[Scummvm-cvs-logs] SF.net SVN: scummvm: [27912] tools/branches/gsoc2007-toolsgui/kyra_pak.h
lightcast at users.sourceforge.net
lightcast at users.sourceforge.net
Thu Jul 5 01:06:26 CEST 2007
Revision: 27912
http://scummvm.svn.sourceforge.net/scummvm/?rev=27912&view=rev
Author: lightcast
Date: 2007-07-04 16:06:26 -0700 (Wed, 04 Jul 2007)
Log Message:
-----------
Remove unnecessary whitespace.
Modified Paths:
--------------
tools/branches/gsoc2007-toolsgui/kyra_pak.h
Modified: tools/branches/gsoc2007-toolsgui/kyra_pak.h
===================================================================
--- tools/branches/gsoc2007-toolsgui/kyra_pak.h 2007-07-04 23:05:29 UTC (rev 27911)
+++ tools/branches/gsoc2007-toolsgui/kyra_pak.h 2007-07-04 23:06:26 UTC (rev 27912)
@@ -24,7 +24,6 @@
#define KYRA_PAK_H
#include "util.h"
-#include <string.h>
class PAKFile {
public:
@@ -34,7 +33,7 @@
bool loadFile(const char *file, const bool isAmiga);
bool saveFile(const char *file);
void clearFile() { delete _fileList; _fileList = 0; }
-
+
const uint32 getFileSize() const { return _fileList->getTableSize()+5+4+_fileList->getFileSize(); }
void drawFileList();
@@ -47,7 +46,7 @@
bool addFile(const char *name, const char *file);
bool addFile(const char *name, uint8 *data, uint32 size);
-
+
bool removeFile(const char *name);
public:
struct FileList {
@@ -57,7 +56,7 @@
delete [] data;
delete next;
}
-
+
FileList *findEntry(const char *f) {
for (FileList *cur = this; cur; cur = cur->next) {
if (scumm_stricmp(cur->filename, f) != 0)
@@ -66,7 +65,7 @@
}
return 0;
}
-
+
const FileList *findEntry(const char *f) const {
for (const FileList *cur = this; cur; cur = cur->next) {
if (scumm_stricmp(cur->filename, f) != 0)
@@ -92,12 +91,12 @@
char *filename;
uint32 size;
uint8 *data;
-
+
FileList *next;
};
typedef const FileList cFileList;
-
+
cFileList *getFileList() const { return _fileList; }
private:
FileList *_fileList;
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