Skip to content

Commit

Permalink
CRUISE: Remove useless fields in CRUISEGameDescription
Browse files Browse the repository at this point in the history
  • Loading branch information
Strangerke committed Jun 18, 2013
1 parent e61f1bd commit 233cbb1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 40 deletions.
4 changes: 0 additions & 4 deletions engines/cruise/cruise.h
Expand Up @@ -43,10 +43,6 @@
*/
namespace Cruise {

enum CruiseGameType {
GType_CRUISE = 1
};

#define GAME_FRAME_DELAY_1 50
#define GAME_FRAME_DELAY_2 100

Expand Down
37 changes: 1 addition & 36 deletions engines/cruise/detection.cpp
Expand Up @@ -20,8 +20,6 @@
*
*/



#include "base/plugins.h"
#include "common/savefile.h"
#include "common/system.h"
Expand All @@ -34,21 +32,12 @@ namespace Cruise {

struct CRUISEGameDescription {
ADGameDescription desc;

int gameType;
uint32 features;
};

const char *CruiseEngine::getGameId() const {
return _gameDescription->desc.gameid;
}

int CruiseEngine::getGameType() const {
return _gameDescription->gameType;
}
uint32 CruiseEngine::getFeatures() const {
return _gameDescription->features;
}
Common::Language CruiseEngine::getLanguage() const {
return _gameDescription->desc.language;
}
Expand Down Expand Up @@ -77,8 +66,6 @@ static const CRUISEGameDescription gameDescriptions[] = {
ADGF_NO_FLAGS,
GUIO0()
},
GType_CRUISE,
0,
},
{
{
Expand All @@ -90,8 +77,6 @@ static const CRUISEGameDescription gameDescriptions[] = {
ADGF_NO_FLAGS,
GUIO0()
},
GType_CRUISE,
0,
},
{
{
Expand All @@ -103,8 +88,6 @@ static const CRUISEGameDescription gameDescriptions[] = {
ADGF_NO_FLAGS,
GUIO0()
},
GType_CRUISE,
0,
},
{
{
Expand All @@ -116,8 +99,6 @@ static const CRUISEGameDescription gameDescriptions[] = {
ADGF_NO_FLAGS,
GUIO0()
},
GType_CRUISE,
0,
},
{
{
Expand All @@ -129,8 +110,6 @@ static const CRUISEGameDescription gameDescriptions[] = {
ADGF_NO_FLAGS,
GUIO0()
},
GType_CRUISE,
0,
},
{
{
Expand All @@ -142,8 +121,6 @@ static const CRUISEGameDescription gameDescriptions[] = {
ADGF_NO_FLAGS,
GUIO0()
},
GType_CRUISE,
0,
},
{
{
Expand All @@ -155,8 +132,6 @@ static const CRUISEGameDescription gameDescriptions[] = {
ADGF_NO_FLAGS,
GUIO0()
},
GType_CRUISE,
0,
},
{ // Amiga English US GOLD edition.
{
Expand All @@ -168,8 +143,6 @@ static const CRUISEGameDescription gameDescriptions[] = {
ADGF_NO_FLAGS,
GUIO0()
},
GType_CRUISE,
0,
},
{ // Amiga Italian US GOLD edition.
{
Expand All @@ -181,8 +154,6 @@ static const CRUISEGameDescription gameDescriptions[] = {
ADGF_NO_FLAGS,
GUIO0()
},
GType_CRUISE,
0,
},
{ // AtariST English KixxXL edition.
{
Expand All @@ -194,8 +165,6 @@ static const CRUISEGameDescription gameDescriptions[] = {
ADGF_NO_FLAGS,
GUIO0()
},
GType_CRUISE,
0,
},
{
{
Expand All @@ -207,8 +176,6 @@ static const CRUISEGameDescription gameDescriptions[] = {
ADGF_NO_FLAGS,
GUIO0()
},
GType_CRUISE,
0,
},
{
{
Expand All @@ -220,10 +187,8 @@ static const CRUISEGameDescription gameDescriptions[] = {
ADGF_NO_FLAGS,
GUIO0()
},
GType_CRUISE,
0,
},
{AD_TABLE_END_MARKER, 0, 0}
{AD_TABLE_END_MARKER}
};

}
Expand Down

0 comments on commit 233cbb1

Please sign in to comment.