mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-18 07:53:12 +00:00
moved engine.* to base; this fixes some linking issues when building a barebone ScummVM (or maybe I just want to increase our CVS stats? <g>)
svn-id: r10287
This commit is contained in:
parent
ec0d41137c
commit
be9d4066e1
@ -22,7 +22,7 @@
|
||||
|
||||
#include <ctype.h>
|
||||
#include "common/scummsys.h"
|
||||
#include "common/engine.h"
|
||||
#include "base/engine.h"
|
||||
#include "scumm/saveload.h"
|
||||
#include "palm.h"
|
||||
|
||||
|
@ -22,7 +22,7 @@
|
||||
|
||||
#include <common/stdafx.h>
|
||||
#include <common/scummsys.h>
|
||||
#include <common/engine.h>
|
||||
#include "base/engine.h"
|
||||
#include "dc.h"
|
||||
|
||||
EXTERN_C void *memcpy4(void *s1, const void *s2, unsigned int n);
|
||||
|
@ -20,7 +20,7 @@
|
||||
|
||||
#include <common/stdafx.h>
|
||||
#include <backends/fs/fs.h>
|
||||
#include <common/engine.h>
|
||||
#include "base/engine.h"
|
||||
|
||||
FilesystemNode *FilesystemNode::getRoot() {
|
||||
error ("No filesystem implemented for DC!");
|
||||
|
@ -25,7 +25,7 @@
|
||||
|
||||
#include <common/stdafx.h>
|
||||
#include <common/scummsys.h>
|
||||
#include <common/engine.h>
|
||||
#include "base/engine.h"
|
||||
#include "dc.h"
|
||||
#include "icon.h"
|
||||
|
||||
|
@ -22,7 +22,7 @@
|
||||
|
||||
#include <common/stdafx.h>
|
||||
#include <common/scummsys.h>
|
||||
#include <common/engine.h>
|
||||
#include "base/engine.h"
|
||||
#include "dc.h"
|
||||
|
||||
#define SCREEN_W 640
|
||||
|
@ -22,7 +22,7 @@
|
||||
|
||||
#include <common/stdafx.h>
|
||||
#include <common/scummsys.h>
|
||||
#include <common/engine.h>
|
||||
#include "base/engine.h"
|
||||
#include <common/gameDetector.h>
|
||||
#include "dc.h"
|
||||
#include "icon.h"
|
||||
|
@ -22,7 +22,7 @@
|
||||
|
||||
#include <common/stdafx.h>
|
||||
#include <common/scummsys.h>
|
||||
#include <common/engine.h>
|
||||
#include "base/engine.h"
|
||||
#include "dc.h"
|
||||
#include "icon.h"
|
||||
#include <scumm/saveload.h>
|
||||
|
@ -24,7 +24,7 @@
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "common/engine.h"
|
||||
#include "base/engine.h"
|
||||
#include "../fs.h"
|
||||
|
||||
/*
|
||||
|
@ -25,7 +25,7 @@
|
||||
#include "common/system.h"
|
||||
#include "common/scummsys.h"
|
||||
#include "common/stdafx.h"
|
||||
#include "common/engine.h"
|
||||
#include "base/engine.h"
|
||||
#include "scumm/saveload.h"
|
||||
#include "common/scaler.h"
|
||||
|
||||
|
@ -22,7 +22,7 @@
|
||||
#include "sound/mididrv.h"
|
||||
#include "sound/fmopl.h"
|
||||
#include "sound/mixer.h"
|
||||
#include "common/engine.h" // for g_system
|
||||
#include "base/engine.h" // for g_system
|
||||
#include "common/util.h"
|
||||
|
||||
#define BASE_FREQ 250
|
||||
|
@ -31,7 +31,7 @@
|
||||
|
||||
#include "stdafx.h"
|
||||
#include "sound/mpu401.h"
|
||||
#include "common/engine.h" // for g_system
|
||||
#include "base/engine.h" // for g_system
|
||||
#include "common/util.h"
|
||||
#include "morphos.h"
|
||||
#include "morphos_sound.h"
|
||||
|
@ -20,7 +20,7 @@
|
||||
|
||||
#include "stdafx.h"
|
||||
#include "sound/mpu401.h"
|
||||
#include "common/engine.h" // for g_system
|
||||
#include "base/engine.h" // for g_system
|
||||
#include "common/util.h"
|
||||
|
||||
#include "Pa1Lib.h"
|
||||
|
@ -24,7 +24,7 @@
|
||||
|
||||
#include "backends/intern.h"
|
||||
#include "common/util.h"
|
||||
#include "common/engine.h" // Only #included for error() and warning()
|
||||
#include "base/engine.h" // Only #included for error() and warning()
|
||||
|
||||
#include <stdio.h>
|
||||
#include <assert.h>
|
||||
|
@ -22,9 +22,9 @@
|
||||
#if defined(_MSC_VER)
|
||||
#include <malloc.h>
|
||||
#endif
|
||||
#include "common/config-file.h"
|
||||
#include "common/engine.h"
|
||||
#include "base/engine.h"
|
||||
#include "base/gameDetector.h"
|
||||
#include "common/config-file.h"
|
||||
#include "common/timer.h"
|
||||
#include "sound/mixer.h"
|
||||
|
@ -25,7 +25,7 @@
|
||||
#include "base/gameDetector.h"
|
||||
#include "base/plugins.h"
|
||||
#include "common/config-file.h"
|
||||
#include "common/engine.h"
|
||||
#include "base/engine.h"
|
||||
#include "common/scaler.h" // Only for gfx_modes
|
||||
#include "sound/mididrv.h"
|
||||
#include "sound/mixer.h"
|
||||
|
@ -29,10 +29,10 @@
|
||||
*/
|
||||
|
||||
#include "stdafx.h"
|
||||
#include "base/engine.h"
|
||||
#include "base/gameDetector.h"
|
||||
#include "base/plugins.h"
|
||||
#include "common/config-file.h"
|
||||
#include "common/engine.h"
|
||||
#include "common/scaler.h" // For GFX_NORMAL
|
||||
#include "gui/newgui.h"
|
||||
#include "gui/launcher.h"
|
||||
|
@ -1,6 +1,7 @@
|
||||
MODULE := base
|
||||
|
||||
MODULE_OBJS := \
|
||||
base/engine.o \
|
||||
base/gameDetector.o \
|
||||
base/main.o \
|
||||
base/plugins.o
|
||||
|
@ -22,7 +22,7 @@
|
||||
|
||||
#include "base/gameDetector.h"
|
||||
#include "base/plugins.h"
|
||||
#include "common/engine.h"
|
||||
#include "base/engine.h"
|
||||
|
||||
|
||||
// Factory functions => no need to include the specific classes
|
||||
|
@ -22,7 +22,7 @@
|
||||
|
||||
#include "stdafx.h"
|
||||
#include "common/config-file.h"
|
||||
#include "common/engine.h" // for debug()
|
||||
#include "base/engine.h" // for debug()
|
||||
|
||||
#define MAXLINELEN 256
|
||||
|
||||
|
@ -2,7 +2,6 @@ MODULE := common
|
||||
|
||||
MODULE_OBJS := \
|
||||
common/config-file.o \
|
||||
common/engine.o \
|
||||
common/file.o \
|
||||
common/scaler.o \
|
||||
common/str.o \
|
||||
|
@ -25,15 +25,11 @@
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
||||
// TODO - use config.h, generated by configure
|
||||
// Use config.h, generated by configure
|
||||
#if defined(HAVE_CONFIG_H)
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#if defined(USE_MAD) || defined(USE_VORBIS)
|
||||
#define COMPRESSED_SOUND_FILE
|
||||
#endif
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
|
||||
#define scumm_stricmp stricmp
|
||||
@ -189,35 +185,6 @@
|
||||
|
||||
#define NEWGUI_256
|
||||
|
||||
#elif defined(macintosh)
|
||||
#include <stdio.h>
|
||||
|
||||
#include "macos.h"
|
||||
|
||||
#define scumm_stricmp strcmp// FIXME - this is definitly wrong. Try strcasecmp?
|
||||
|
||||
#define CHECK_HEAP
|
||||
#define SCUMM_BIG_ENDIAN
|
||||
|
||||
#define FORCEINLINE inline
|
||||
#define CDECL
|
||||
|
||||
typedef unsigned char byte;
|
||||
typedef unsigned char uint8;
|
||||
typedef unsigned short uint16;
|
||||
typedef unsigned long uint32;
|
||||
typedef unsigned int uint;
|
||||
typedef signed char int8;
|
||||
typedef signed short int16;
|
||||
typedef signed long int32;
|
||||
|
||||
#define START_PACK_STRUCTS pack (1)
|
||||
#define END_PACK_STRUCTS pack ()
|
||||
#define GCC_PACK
|
||||
#define NORETURN
|
||||
#define USE_QTMUSIC
|
||||
#define NEED_STRDUP
|
||||
|
||||
#elif defined(__MORPHOS__)
|
||||
#define scumm_stricmp stricmp
|
||||
#define scumm_strnicmp strnicmp
|
||||
|
@ -19,7 +19,7 @@
|
||||
*/
|
||||
|
||||
#include "stdafx.h"
|
||||
#include "common/engine.h"
|
||||
#include "base/engine.h"
|
||||
#include "common/util.h"
|
||||
|
||||
//
|
||||
|
@ -22,7 +22,7 @@
|
||||
#include "PopUpWidget.h"
|
||||
#include "dialog.h"
|
||||
#include "newgui.h"
|
||||
#include "common/engine.h"
|
||||
#include "base/engine.h"
|
||||
|
||||
#define UP_DOWN_BOX_HEIGHT 10
|
||||
|
||||
|
@ -21,7 +21,7 @@
|
||||
#include "stdafx.h"
|
||||
#include "about.h"
|
||||
#include "newgui.h"
|
||||
#include "common/engine.h"
|
||||
#include "base/engine.h"
|
||||
#include "common/str.h"
|
||||
|
||||
AboutDialog::AboutDialog(NewGui *gui)
|
||||
|
@ -22,7 +22,7 @@
|
||||
#include "console.h"
|
||||
#include "ScrollBarWidget.h"
|
||||
|
||||
#include "common/engine.h"
|
||||
#include "base/engine.h"
|
||||
|
||||
|
||||
#define PROMPT ") "
|
||||
|
@ -36,7 +36,7 @@
|
||||
#include "base/plugins.h"
|
||||
|
||||
#include "common/config-file.h"
|
||||
#include "common/engine.h"
|
||||
#include "base/engine.h"
|
||||
|
||||
enum {
|
||||
kStartCmd = 'STRT',
|
||||
|
@ -22,7 +22,7 @@
|
||||
#include "stdafx.h"
|
||||
|
||||
#include "common/util.h"
|
||||
#include "common/engine.h"
|
||||
#include "base/engine.h"
|
||||
|
||||
#include "scumm/imuse_internal.h"
|
||||
#include "scumm/saveload.h"
|
||||
|
@ -19,7 +19,7 @@
|
||||
*/
|
||||
|
||||
#include "stdafx.h"
|
||||
#include "common/engine.h"
|
||||
#include "base/engine.h"
|
||||
#include "player_v1.h"
|
||||
#include "scumm.h"
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
*/
|
||||
|
||||
#include "stdafx.h"
|
||||
#include "common/engine.h"
|
||||
#include "base/engine.h"
|
||||
#include "player_v2.h"
|
||||
#include "scumm.h"
|
||||
#include "sound/mididrv.h"
|
||||
|
@ -19,7 +19,7 @@
|
||||
*/
|
||||
|
||||
#include "stdafx.h"
|
||||
#include "common/engine.h"
|
||||
#include "base/engine.h"
|
||||
#include "player_v3a.h"
|
||||
#include "scumm.h"
|
||||
#include "sound/mixer.h"
|
||||
|
@ -23,7 +23,7 @@
|
||||
#ifndef SCRIPT_H
|
||||
#define SCRIPT_H
|
||||
|
||||
#include "common/engine.h"
|
||||
#include "base/engine.h"
|
||||
|
||||
|
||||
/* System Wide Constants */
|
||||
|
@ -23,7 +23,7 @@
|
||||
#ifndef SCUMM_H
|
||||
#define SCUMM_H
|
||||
|
||||
#include "common/engine.h"
|
||||
#include "base/engine.h"
|
||||
#include "common/file.h"
|
||||
#include "common/map.h"
|
||||
#include "common/rect.h"
|
||||
|
@ -33,7 +33,7 @@
|
||||
#include "chunk.h"
|
||||
#include "chunk_type.h"
|
||||
|
||||
#include "common/engine.h"
|
||||
#include "base/engine.h"
|
||||
#include "common/file.h"
|
||||
#include "common/util.h"
|
||||
#include "common/timer.h"
|
||||
|
@ -23,7 +23,7 @@
|
||||
#define SIMON_H
|
||||
|
||||
#include <stdio.h>
|
||||
#include "common/engine.h"
|
||||
#include "base/engine.h"
|
||||
#include "common/util.h"
|
||||
#include "simon/midi.h"
|
||||
#include "sound/mixer.h"
|
||||
|
@ -25,7 +25,7 @@
|
||||
#include "common/stdafx.h"
|
||||
#include "common/scummsys.h"
|
||||
#include "sky/struc.h"
|
||||
#include "common/engine.h"
|
||||
#include "base/engine.h"
|
||||
#include "sky/screen.h"
|
||||
#include "sky/disk.h"
|
||||
#include "sky/mouse.h"
|
||||
|
@ -21,7 +21,7 @@
|
||||
|
||||
#include "stdafx.h"
|
||||
#include "common/scummsys.h"
|
||||
#include "common/engine.h"
|
||||
#include "base/engine.h"
|
||||
#include "sky/disk.h"
|
||||
#include "sky/skydefs.h"
|
||||
#include "sky/sky.h"
|
||||
|
@ -23,7 +23,7 @@
|
||||
#define ADLIBCHANNEL_H
|
||||
|
||||
#include "stdafx.h"
|
||||
#include "common/engine.h"
|
||||
#include "base/engine.h"
|
||||
#include "sky/sky.h"
|
||||
#include "sky/music/musicbase.h"
|
||||
#include "sound/fmopl.h"
|
||||
|
@ -25,7 +25,7 @@
|
||||
#include "stdafx.h"
|
||||
#include "sky/sky.h"
|
||||
#include "sound/mixer.h"
|
||||
#include "common/engine.h"
|
||||
#include "base/engine.h"
|
||||
#include "adlibchannel.h"
|
||||
#include "musicbase.h"
|
||||
#include "sound/fmopl.h"
|
||||
|
@ -23,7 +23,7 @@
|
||||
#define GMMUSIC_H
|
||||
|
||||
#include "stdafx.h"
|
||||
#include "common/engine.h"
|
||||
#include "base/engine.h"
|
||||
#include "musicbase.h"
|
||||
#include "sound/mididrv.h"
|
||||
#include "gmchannel.h"
|
||||
|
@ -24,7 +24,7 @@
|
||||
|
||||
#include "stdafx.h"
|
||||
#include <string.h>
|
||||
#include "common/engine.h"
|
||||
#include "base/engine.h"
|
||||
#include "common/scummsys.h"
|
||||
#include "sky/disk.h"
|
||||
#include "sky/skydefs.h"
|
||||
|
@ -23,7 +23,7 @@
|
||||
#define SKYMAIN_H
|
||||
|
||||
#include <stdio.h>
|
||||
#include "common/engine.h"
|
||||
#include "base/engine.h"
|
||||
#include "common/util.h"
|
||||
#include "common/timer.h"
|
||||
#include "sound/mixer.h"
|
||||
|
@ -24,7 +24,7 @@
|
||||
|
||||
#include "sound/mixer.h"
|
||||
#include "sky/disk.h"
|
||||
#include "common/engine.h"
|
||||
#include "base/engine.h"
|
||||
|
||||
enum {
|
||||
SOUND_CH0 = 0,
|
||||
|
@ -22,7 +22,7 @@
|
||||
#include "stdafx.h"
|
||||
#include "audiostream.h"
|
||||
#include "mixer.h"
|
||||
#include "common/engine.h"
|
||||
#include "base/engine.h"
|
||||
#include "common/file.h"
|
||||
#include "common/util.h"
|
||||
|
||||
|
@ -20,7 +20,7 @@
|
||||
|
||||
#include "stdafx.h"
|
||||
#include "mpu401.h"
|
||||
#include "common/engine.h" // for g_system
|
||||
#include "base/engine.h" // for g_system
|
||||
#include "common/util.h" // for ARRAYSIZE
|
||||
|
||||
|
||||
|
@ -23,7 +23,7 @@
|
||||
#define SOUND_RATE_H
|
||||
|
||||
#include "common/scummsys.h"
|
||||
#include "common/engine.h"
|
||||
#include "base/engine.h"
|
||||
#include "common/util.h"
|
||||
|
||||
//#include "sound/audiostream.h"
|
||||
|
@ -1022,7 +1022,7 @@
|
||||
#include <string.h>
|
||||
|
||||
#include "common/scummsys.h"
|
||||
#include "common/engine.h" // for warning()
|
||||
#include "base/engine.h" // for warning()
|
||||
#include "common/system.h"
|
||||
#include "common/rect.h"
|
||||
//#include "ddraw.h"
|
||||
|
@ -147,7 +147,7 @@
|
||||
#include <stdio.h>
|
||||
|
||||
#include "common/util.h"
|
||||
#include "common/engine.h"
|
||||
#include "base/engine.h"
|
||||
#include "d_draw.h"
|
||||
#include "driver96.h"
|
||||
#include "../sword2.h"
|
||||
|
@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
#include "common/stdafx.h"
|
||||
#include "common/engine.h"
|
||||
#include "base/engine.h"
|
||||
#include "common/timer.h"
|
||||
|
||||
#include "driver96.h"
|
||||
|
@ -23,7 +23,7 @@
|
||||
|
||||
#include "stdafx.h"
|
||||
|
||||
#include "common/engine.h"
|
||||
#include "base/engine.h"
|
||||
#include "common/file.h"
|
||||
|
||||
#include "driver/driver96.h"
|
||||
|
Loading…
x
Reference in New Issue
Block a user