aboutsummaryrefslogtreecommitdiff
path: root/engines/pegasus/pegasus.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/pegasus/pegasus.h')
-rw-r--r--engines/pegasus/pegasus.h23
1 files changed, 4 insertions, 19 deletions
diff --git a/engines/pegasus/pegasus.h b/engines/pegasus/pegasus.h
index 53593c1c1b..e0135657bd 100644
--- a/engines/pegasus/pegasus.h
+++ b/engines/pegasus/pegasus.h
@@ -49,25 +49,8 @@ class VideoManager;
class GraphicsManager;
class Idler;
-enum ItemLocation {
- kItemLocationCaldoria = 0,
- kItemLocationTSA = 1,
- kItemLocationNorad = 4, // ???
- kItemLocationMars = 5,
- kItemLocationWSC = 6,
- kItemLocationPrehistoric = 7,
- kItemLocationBuiltIn = 0xffff
-};
-
static const int kViewScreenOffset = 64;
-struct ItemLocationData {
- uint16 id;
- ItemLocation location;
- uint16 u0;
- byte u1;
-};
-
struct OverviewHotspot {
Common::Rect rect;
uint32 time;
@@ -128,7 +111,6 @@ private:
// Main Game Functions
void mainGameLoop();
- void loadItemLocationData();
void changeLocation(tNeighborhoodID neighborhood);
// Misc Functions
@@ -138,7 +120,6 @@ private:
// Game Variables
bool _adventureMode;
GameMode _gameMode;
- Common::Array<ItemLocationData> _itemLocationData;
// Console
PegasusConsole *_console;
@@ -150,6 +131,10 @@ private:
// Idlers
Common::List<Idler *> _idlers;
void giveIdleTime();
+
+ // Items
+ void createItems();
+ void createItem(tItemID itemID, tNeighborhoodID neighborhoodID, tRoomID roomID, tDirectionConstant direction);
};
} // End of namespace Pegasus