From b3e45ccc6854c93e73fcda0f9daa67ffad76a3a1 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Sun, 7 Dec 2014 14:40:21 +0200 Subject: AGI: Disable/remove unused code This is code that isn't used currently. Thanks to fingolfin for pointing out these parts of the code --- engines/agi/agi.cpp | 5 ----- engines/agi/graphics.cpp | 2 ++ engines/agi/preagi_mickey.cpp | 2 ++ 3 files changed, 4 insertions(+), 5 deletions(-) (limited to 'engines') 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 -- cgit v1.2.3