Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
danij-deng committed Oct 7, 2012
1 parent 53ebf9f commit 46d9a72
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
1 change: 1 addition & 0 deletions doomsday/engine/portable/include/abstractfile.h
Expand Up @@ -48,6 +48,7 @@ typedef enum {

#ifdef __cplusplus

#include <de/str.h>
#include "dfile.h"
#include "lumpinfo.h"

Expand Down
1 change: 1 addition & 0 deletions doomsday/engine/portable/include/lumpindex.h
Expand Up @@ -30,6 +30,7 @@
#ifndef LIBDENG_FILESYS_LUMPINDEX_H
#define LIBDENG_FILESYS_LUMPINDEX_H

#include "de_base.h" /// For lumpnum_t (@todo which should be moved here)
#include "abstractfile.h"
#include "lumpinfo.h"

Expand Down
8 changes: 0 additions & 8 deletions doomsday/engine/portable/src/lumpfile.cpp
Expand Up @@ -20,16 +20,9 @@
* 02110-1301 USA</small>
*/

#include "de_base.h"
#include "de_filesys.h"
#include "lumpindex.h"

#include "lumpfile.h"

#include <de/Error>
#include <de/Log>
#include <de/memory.h>

using namespace de;
using de::DFile;
using de::PathDirectoryNode;
Expand Down Expand Up @@ -87,7 +80,6 @@ LumpFile& LumpFile::unlockLump(int /*lumpIdx*/)

int LumpFile::publishLumpsToIndex(LumpIndex& index)
{
LOG_AS("LumpFile");
// This *is* the lump, so insert ourself as a lump of our container in the index.
index.catalogLumps(container(), info().lumpIdx, 1);
return 1;
Expand Down

0 comments on commit 46d9a72

Please sign in to comment.