Skip to content

Commit

Permalink
Fonts|Resources|Client: Removed unnecessary dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
danij-deng committed Nov 15, 2013
1 parent d0d211a commit bf96265
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 17 deletions.
1 change: 1 addition & 0 deletions doomsday/client/include/resource/fonts.h
Expand Up @@ -24,6 +24,7 @@
#include "AbstractFont"
#include "uri.hh"
#include <de/Error>
#include <de/PathTree>
#include <de/String>
#include <QMap>

Expand Down
12 changes: 5 additions & 7 deletions doomsday/client/src/render/rend_font.cpp
Expand Up @@ -17,10 +17,9 @@
* http://www.gnu.org/licenses</small>
*/

#include <assert.h>
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <cctype>
#include <cstdio>
#include <cstdlib>

#define DENG_NO_API_MACROS_FONT_RENDER

Expand All @@ -31,9 +30,8 @@
#include "de_system.h"
#include "de_ui.h"

#include "resource/abstractfont.h"
#include "resource/fonts.h"
#include "resource/bitmapfont.h"
#include "BitmapFont"
#include "CompositeBitmapFont"
#include "m_misc.h"

#include <de/GLState>
Expand Down
13 changes: 3 additions & 10 deletions doomsday/client/src/resource/fonts.cpp
Expand Up @@ -22,23 +22,16 @@
#include "resource/fonts.h"

#include "de_console.h"
#include "de_filesys.h"
#include "dd_main.h" // App_ResourceSystem(), verbose
#ifdef __CLIENT__
# include "gl/gl_main.h"
# include "gl/gl_texmanager.h"
# include "BitmapFont"
# include "CompositeBitmapFont"
#endif
#include <de/Error>
#include <de/NativePath>
#include <de/Observers>
#include <de/PathTree>
#include <de/mathutil.h>
#include <de/memory.h>
#include <QList>
#include <QtAlgorithms>
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
#include <cstdlib>

D_CMD(ListFonts);
#ifdef DENG_DEBUG
Expand Down
4 changes: 4 additions & 0 deletions doomsday/client/src/resource/resourcesystem.cpp
Expand Up @@ -23,6 +23,10 @@
#include "resource/compositetexture.h"
#include "resource/patch.h"
#include "resource/patchname.h"
#ifdef __CLIENT__
# include "BitmapFont"
# include "CompositeBitmapFont"
#endif
#include "filesys/fs_main.h"
#include "filesys/lumpindex.h"
#include <de/ByteRefArray>
Expand Down

0 comments on commit bf96265

Please sign in to comment.