aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFilippos Karapetis2014-12-07 14:40:21 +0200
committerFilippos Karapetis2014-12-07 15:33:11 +0200
commitb3e45ccc6854c93e73fcda0f9daa67ffad76a3a1 (patch)
treeda03e1c28334016abba7cf9d9784b1700d4ed918 /engines
parent6ec077e1b9f766da0a74bfb85b4ee2cc891cb348 (diff)
downloadscummvm-rg350-b3e45ccc6854c93e73fcda0f9daa67ffad76a3a1.tar.gz
scummvm-rg350-b3e45ccc6854c93e73fcda0f9daa67ffad76a3a1.tar.bz2
scummvm-rg350-b3e45ccc6854c93e73fcda0f9daa67ffad76a3a1.zip
AGI: Disable/remove unused code
This is code that isn't used currently. Thanks to fingolfin for pointing out these parts of the code
Diffstat (limited to 'engines')
-rw-r--r--engines/agi/agi.cpp5
-rw-r--r--engines/agi/graphics.cpp2
-rw-r--r--engines/agi/preagi_mickey.cpp2
3 files changed, 4 insertions, 5 deletions
diff --git a/engines/agi/agi.cpp b/engines/agi/agi.cpp
index 73233d4f4c..1e663ec29a 100644
--- a/engines/agi/agi.cpp
+++ b/engines/agi/agi.cpp
@@ -492,11 +492,6 @@ struct GameSettings {
const char *detectname;
};
-static const GameSettings agiSettings[] = {
- {"agi", "AGI game", GID_AGI, MDT_ADLIB, "OBJECT"},
- {NULL, NULL, 0, 0, NULL}
-};
-
AgiBase::AgiBase(OSystem *syst, const AGIGameDescription *gameDesc) : Engine(syst), _gameDescription(gameDesc) {
// Assign default values to the config manager, in case settings are missing
ConfMan.registerDefault("originalsaveload", "false");
diff --git a/engines/agi/graphics.cpp b/engines/agi/graphics.cpp
index 317e747cdd..2b1bd8c829 100644
--- a/engines/agi/graphics.cpp
+++ b/engines/agi/graphics.cpp
@@ -905,6 +905,7 @@ static const byte sciMouseCursor[] = {
0,0,0,0,0,0,1,2,2,1,0
};
+#if 0
/**
* A black and white Apple IIGS style arrow cursor (9x11).
* 0 = Transparent.
@@ -924,6 +925,7 @@ static const byte appleIIgsMouseCursor[] = {
2,2,2,0,2,1,1,2,0,
0,0,0,0,0,2,2,2,0
};
+#endif
/**
* RGB-palette for the black and white SCI and Apple IIGS arrow cursors.
diff --git a/engines/agi/preagi_mickey.cpp b/engines/agi/preagi_mickey.cpp
index 4ca8d00824..a1572d7f1f 100644
--- a/engines/agi/preagi_mickey.cpp
+++ b/engines/agi/preagi_mickey.cpp
@@ -892,6 +892,7 @@ void MickeyEngine::drawRoom() {
drawRoomAnimation();
}
+#if 0
const uint8 colorBCG[16][2] = {
{ 0x00, 0x00 }, // 0 (black, black)
{ 0, 0 },
@@ -910,6 +911,7 @@ const uint8 colorBCG[16][2] = {
{ 0, 0 },
{ 0xFF, 0xFF } // F (white, white)
};
+#endif
void MickeyEngine::drawLogo() {
// TODO: clean this up and make it work properly, the logo is drawn way off to the right