AGI: Move detection related code to a new folder, add AGI-Detection module.
This commit is contained in:
parent
7fe1eb330d
commit
fa8aa6e9f4
8 changed files with 16 additions and 13 deletions
|
@ -29,8 +29,8 @@
|
||||||
#include "engines/advancedDetector.h"
|
#include "engines/advancedDetector.h"
|
||||||
|
|
||||||
#include "agi/detection_enums.h"
|
#include "agi/detection_enums.h"
|
||||||
#include "agi/detection.h"
|
#include "agi/detection/detection.h"
|
||||||
#include "agi/wagparser.h" // for fallback detection
|
#include "agi/detection/wagparser.h" // for fallback detection
|
||||||
|
|
||||||
static const PlainGameDescriptor agiGames[] = {
|
static const PlainGameDescriptor agiGames[] = {
|
||||||
{"agi", "Sierra AGI game"},
|
{"agi", "Sierra AGI game"},
|
||||||
|
@ -64,7 +64,7 @@ static const PlainGameDescriptor agiGames[] = {
|
||||||
{0, 0}
|
{0, 0}
|
||||||
};
|
};
|
||||||
|
|
||||||
#include "agi/detection_tables.h"
|
#include "agi/detection/detection_tables.h"
|
||||||
|
|
||||||
static const ADExtraGuiOptionsMap optionsList[] = {
|
static const ADExtraGuiOptionsMap optionsList[] = {
|
||||||
{
|
{
|
11
engines/agi/detection/module.mk
Normal file
11
engines/agi/detection/module.mk
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
MODULE := engines/agi/detection
|
||||||
|
|
||||||
|
MODULE_OBJS :=
|
||||||
|
|
||||||
|
# Detection objects
|
||||||
|
DETECT_OBJS += $(MODULE)/detection.o
|
||||||
|
|
||||||
|
# External dependencies of detection.
|
||||||
|
# This is unneeded by the engine module itself,
|
||||||
|
# so seperate it completely.
|
||||||
|
DETECT_OBJS += $(MODULE)/wagparser.o
|
|
@ -26,7 +26,7 @@
|
||||||
#include "common/debug.h"
|
#include "common/debug.h"
|
||||||
#include "common/textconsole.h"
|
#include "common/textconsole.h"
|
||||||
|
|
||||||
#include "agi/wagparser.h"
|
#include "agi/detection/wagparser.h"
|
||||||
|
|
||||||
namespace Agi {
|
namespace Agi {
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
#include "agi/preagi_troll.h"
|
#include "agi/preagi_troll.h"
|
||||||
#include "agi/preagi_winnie.h"
|
#include "agi/preagi_winnie.h"
|
||||||
|
|
||||||
#include "agi/detection.h"
|
#include "agi/detection/detection.h"
|
||||||
|
|
||||||
namespace Agi {
|
namespace Agi {
|
||||||
|
|
||||||
|
|
|
@ -49,11 +49,3 @@ endif
|
||||||
|
|
||||||
# Include common rules
|
# Include common rules
|
||||||
include $(srcdir)/rules.mk
|
include $(srcdir)/rules.mk
|
||||||
|
|
||||||
# Detection objects
|
|
||||||
DETECT_OBJS += $(MODULE)/detection.o
|
|
||||||
|
|
||||||
# External dependencies of detection.
|
|
||||||
# This is unneeded by the engine module itself,
|
|
||||||
# so seperate it completely.
|
|
||||||
DETECT_OBJS += $(MODULE)/wagparser.o
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue