Skip to content

Commit

Permalink
PEGASUS: Import a bunch more neighborhood code
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Hoops committed Sep 27, 2011
1 parent 4f358e7 commit 122d484
Show file tree
Hide file tree
Showing 7 changed files with 1,053 additions and 37 deletions.
4 changes: 4 additions & 0 deletions engines/pegasus/neighborhood/exit.h
Expand Up @@ -68,6 +68,10 @@ class ExitTable {

Entry findEntry(tRoomID room, tDirectionConstant direction, tAlternateID altCode);

typedef Common::Array<Entry>::iterator iterator;
iterator begin() { return _entries.begin(); }
iterator end() { return _entries.end(); }

private:
Common::Array<Entry> _entries;
};
Expand Down
4 changes: 4 additions & 0 deletions engines/pegasus/neighborhood/hotspotinfo.h
Expand Up @@ -64,6 +64,10 @@ class HotspotInfoTable {

Entry findEntry(tHotSpotID hotspot);

typedef Common::Array<Entry>::iterator iterator;
iterator begin() { return _entries.begin(); }
iterator end() { return _entries.end(); }

private:
Common::Array<Entry> _entries;
};
Expand Down

0 comments on commit 122d484

Please sign in to comment.