From 1f26cb89652a5804ccace15587426ca2b9e1387d Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sun, 12 Nov 2006 03:23:29 +0000 Subject: Reworked code in the advanced game detector (getting rid of much of the evil #define hell it consisted of previously) svn-id: r24685 --- base/game.h | 5 +++++ base/plugins.h | 3 --- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'base') diff --git a/base/game.h b/base/game.h index cdafb2f2ca..cb95f1730e 100644 --- a/base/game.h +++ b/base/game.h @@ -25,6 +25,7 @@ #define BASE_GAME_H #include "common/str.h" +#include "common/array.h" struct PlainGameDescriptor { const char *gameid; @@ -53,6 +54,10 @@ struct GameDescriptor { gameid(g.gameid), description(g.description) {} }; +/** List of games. */ +typedef Common::Array GameList; + + class Plugin; diff --git a/base/plugins.h b/base/plugins.h index e5a6882e39..9b14f52d57 100644 --- a/base/plugins.h +++ b/base/plugins.h @@ -35,9 +35,6 @@ class Engine; class FSList; class OSystem; -/** List of games. */ -typedef Common::Array GameList; - /** * A detected game. Carries the GameDescriptor, but also (optionally) * information about the language and platform of the detected game. -- cgit v1.2.3