Moved common/scaler* to graphics/

svn-id: r20797
This commit is contained in:
Max Horn 2006-02-20 20:29:02 +00:00
parent 6160a17b30
commit 7335d348ba
24 changed files with 40 additions and 42 deletions

3
TODO
View File

@ -112,9 +112,6 @@ General
reachable :-)
* Some source files should be moved. But that's a pain with CVS, so let's
wait until we switch to something better, like Subversion. In particular:
- common/scaler* stuff should either be moved to graphics/, or maybe
to backends/ (while it is portable code, it's something to be used by
the backends only)
- consider moving the MIDI stuff from sound/ to sound/midi/
- move fmopl code to softsynth dir
- move fonts to graphics/fonts/ dir

View File

@ -22,10 +22,10 @@
*/
#include "backends/sdl/sdl-common.h"
#include "common/scaler.h"
#include "common/util.h"
#include "graphics/font.h"
#include "graphics/fontman.h"
#include "graphics/scaler.h"
#include "graphics/surface.h"
static const OSystem::GraphicsMode s_supportedGraphicsModes[] = {

View File

@ -26,8 +26,8 @@
#include "common/stdafx.h"
#include "common/scummsys.h"
#include "common/scaler.h"
#include "common/system.h"
#include "graphics/scaler.h"
#include "backends/intern.h"
#include <SDL.h>

View File

@ -12,36 +12,10 @@ MODULE_OBJS := \
util.o \
savefile.o \
system.o \
scaler.o \
scaler/thumbnail.o \
unzip.o
ifndef DISABLE_SCALERS
MODULE_OBJS += \
scaler/2xsai.o \
scaler/aspect.o \
scaler/scale2x.o \
scaler/scale3x.o \
scaler/scalebit.o
ifndef DISABLE_HQ_SCALERS
MODULE_OBJS += \
scaler/hq2x.o \
scaler/hq3x.o
ifdef HAVE_NASM
MODULE_OBJS += \
scaler/hq2x_i386.o \
scaler/hq3x_i386.o
endif
endif
endif
MODULE_DIRS += \
common \
common/scaler
common
# Include common rules
include $(srcdir)/common.rules

View File

@ -24,7 +24,8 @@
#include "common/config-manager.h"
#include "common/savefile.h"
#include "common/system.h"
#include "common/scaler.h"
#include "graphics/scaler.h"
#include "gui/about.h"
#include "gui/chooser.h"

View File

@ -6,16 +6,42 @@ MODULE_OBJS := \
font.o \
fontman.o \
ilbm.o \
newfont.o \
newfont_big.o \
primitives.o \
scummfont.o \
surface.o \
imagedec.o \
imageman.o \
imagedec.o
newfont_big.o \
newfont.o \
primitives.o \
scaler.o \
scaler/thumbnail.o \
scummfont.o \
surface.o
ifndef DISABLE_SCALERS
MODULE_OBJS += \
scaler/2xsai.o \
scaler/aspect.o \
scaler/scale2x.o \
scaler/scale3x.o \
scaler/scalebit.o
ifndef DISABLE_HQ_SCALERS
MODULE_OBJS += \
scaler/hq2x.o \
scaler/hq3x.o
ifdef HAVE_NASM
MODULE_OBJS += \
scaler/hq2x_i386.o \
scaler/hq3x_i386.o
endif
endif
endif
MODULE_DIRS += \
graphics
graphics \
graphics/scaler
# Include common rules
include $(srcdir)/common.rules

View File

@ -21,8 +21,8 @@
*
*/
#include "common/scaler/intern.h"
#include "common/scaler/scalebit.h"
#include "graphics/scaler/intern.h"
#include "graphics/scaler/scalebit.h"
#include "common/util.h"