mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-03 01:15:58 +00:00
HUGO: Reduce header dependencies
This commit is contained in:
parent
31130f08dc
commit
cba3909dfd
@ -26,7 +26,8 @@
|
||||
#include "image/bmp.h"
|
||||
|
||||
#include "hugo/hugo.h"
|
||||
#include "hugo/display.h"
|
||||
#include "hugo/dialogs.h"
|
||||
#include "hugo/file.h"
|
||||
#include "hugo/parser.h"
|
||||
#include "hugo/schedule.h"
|
||||
#include "hugo/sound.h"
|
||||
|
@ -28,6 +28,8 @@
|
||||
|
||||
namespace Hugo {
|
||||
|
||||
class HugoEngine;
|
||||
|
||||
enum MenuOption {
|
||||
kMenuWhat = 0,
|
||||
kMenuMusic,
|
||||
|
@ -37,6 +37,7 @@
|
||||
|
||||
#include "hugo/hugo.h"
|
||||
#include "hugo/display.h"
|
||||
#include "hugo/file.h"
|
||||
#include "hugo/inventory.h"
|
||||
#include "hugo/util.h"
|
||||
#include "hugo/object.h"
|
||||
|
@ -30,6 +30,11 @@
|
||||
#ifndef HUGO_DISPLAY_H
|
||||
#define HUGO_DISPLAY_H
|
||||
|
||||
namespace Common {
|
||||
class ReadStream;
|
||||
class WriteStream;
|
||||
}
|
||||
|
||||
namespace Hugo {
|
||||
enum OverlayState {kOvlUndef, kOvlForeground, kOvlBackground}; // Overlay state
|
||||
|
||||
|
@ -30,6 +30,8 @@
|
||||
#ifndef HUGO_FILE_H
|
||||
#define HUGO_FILE_H
|
||||
|
||||
#include "common/file.h"
|
||||
|
||||
namespace Hugo {
|
||||
/**
|
||||
* Enumerate overlay file types
|
||||
|
@ -29,7 +29,10 @@
|
||||
#include "common/textconsole.h"
|
||||
|
||||
#include "hugo/hugo.h"
|
||||
#include "hugo/console.h"
|
||||
#include "hugo/dialogs.h"
|
||||
#include "hugo/file.h"
|
||||
#include "hugo/game.h"
|
||||
#include "hugo/schedule.h"
|
||||
#include "hugo/display.h"
|
||||
#include "hugo/mouse.h"
|
||||
|
@ -24,19 +24,16 @@
|
||||
#define HUGO_H
|
||||
|
||||
#include "engines/engine.h"
|
||||
#include "common/file.h"
|
||||
#include "hugo/console.h"
|
||||
#include "hugo/dialogs.h"
|
||||
|
||||
// This include is here temporarily while the engine is being refactored.
|
||||
#include "hugo/game.h"
|
||||
#include "hugo/file.h"
|
||||
|
||||
#define HUGO_DAT_VER_MAJ 0 // 1 byte
|
||||
#define HUGO_DAT_VER_MIN 42 // 1 byte
|
||||
#define DATAALIGNMENT 4
|
||||
|
||||
namespace Common {
|
||||
class SeekableReadStream;
|
||||
class RandomSource;
|
||||
}
|
||||
|
||||
@ -209,6 +206,8 @@ class SoundHandler;
|
||||
class IntroHandler;
|
||||
class ObjectHandler;
|
||||
class TextHandler;
|
||||
class TopMenu;
|
||||
class HugoConsole;
|
||||
|
||||
class HugoEngine : public Engine {
|
||||
public:
|
||||
|
@ -29,9 +29,13 @@
|
||||
|
||||
#include "common/system.h"
|
||||
#include "common/textconsole.h"
|
||||
#include "graphics/font.h"
|
||||
#include "graphics/pixelformat.h"
|
||||
|
||||
#include "hugo/hugo.h"
|
||||
#include "hugo/intro.h"
|
||||
#include "hugo/file.h"
|
||||
#include "hugo/game.h"
|
||||
#include "hugo/util.h"
|
||||
#include "hugo/display.h"
|
||||
#include "hugo/sound.h"
|
||||
|
@ -29,6 +29,7 @@
|
||||
|
||||
#ifndef INTRO_H
|
||||
#define INTRO_H
|
||||
#include "graphics/surface.h"
|
||||
#include "graphics/fonts/winfont.h"
|
||||
|
||||
namespace Hugo {
|
||||
|
@ -33,6 +33,7 @@
|
||||
#include "common/system.h"
|
||||
|
||||
#include "hugo/hugo.h"
|
||||
#include "hugo/dialogs.h"
|
||||
#include "hugo/game.h"
|
||||
#include "hugo/mouse.h"
|
||||
#include "hugo/schedule.h"
|
||||
|
@ -29,6 +29,13 @@
|
||||
|
||||
#ifndef HUGO_MOUSE_H
|
||||
#define HUGO_MOUSE_H
|
||||
|
||||
#include "hugo/game.h"
|
||||
|
||||
namespace Common {
|
||||
class ReadStream;
|
||||
}
|
||||
|
||||
namespace Hugo {
|
||||
|
||||
class MouseHandler {
|
||||
|
@ -29,12 +29,12 @@
|
||||
|
||||
#include "common/events.h"
|
||||
#include "common/textconsole.h"
|
||||
#include "gui/debugger.h"
|
||||
|
||||
#include "hugo/hugo.h"
|
||||
#include "hugo/display.h"
|
||||
#include "hugo/parser.h"
|
||||
#include "hugo/file.h"
|
||||
#include "hugo/schedule.h"
|
||||
#include "hugo/util.h"
|
||||
#include "hugo/route.h"
|
||||
#include "hugo/sound.h"
|
||||
|
@ -32,6 +32,7 @@
|
||||
|
||||
namespace Common {
|
||||
struct Event;
|
||||
class ReadStream;
|
||||
}
|
||||
|
||||
namespace Hugo {
|
||||
|
@ -20,6 +20,7 @@
|
||||
*
|
||||
*/
|
||||
#include "common/system.h"
|
||||
#include "common/stream.h"
|
||||
|
||||
#include "hugo/hugo.h"
|
||||
#include "hugo/text.h"
|
||||
|
@ -28,13 +28,11 @@
|
||||
*/
|
||||
|
||||
#include "common/system.h"
|
||||
#include "common/util.h"
|
||||
#include "gui/message.h"
|
||||
|
||||
#include "hugo/game.h"
|
||||
#include "hugo/hugo.h"
|
||||
#include "hugo/dialogs.h"
|
||||
#include "hugo/util.h"
|
||||
#include "hugo/sound.h"
|
||||
#include "hugo/text.h"
|
||||
|
||||
namespace Hugo {
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user