~ubuntu-branches/debian/jessie/scummvm/jessie

« back to all changes in this revision

Viewing changes to engines/gob/map.h

  • Committer: Bazaar Package Importer
  • Author(s): Moritz Muehlenhoff
  • Date: 2010-05-07 18:57:09 UTC
  • mto: This revision was merged to the branch mainline in revision 18.
  • Revision ID: james.westby@ubuntu.com-20100507185709-34v8yycywjrou5o3
Tags: upstream-1.1.1
ImportĀ upstreamĀ versionĀ 1.1.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 * along with this program; if not, write to the Free Software
19
19
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20
20
 *
21
 
 * $URL: https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/tags/release-1-0-0/engines/gob/map.h $
22
 
 * $Id: map.h 34113 2008-08-23 14:18:12Z drmccoy $
 
21
 * $URL: https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/tags/release-1-1-1/engines/gob/map.h $
 
22
 * $Id: map.h 45616 2009-11-02 21:54:57Z fingolfin $
23
23
 *
24
24
 */
25
25
 
72
72
        int16 _tilesHeight;
73
73
        int16 _passWidth;
74
74
        bool _bigTiles;
 
75
        bool _mapUnknownBool;
75
76
 
76
77
        int8 *_passMap; // [y * _mapWidth + x], getPass(x, y);
77
78
        int16 **_itemsMap;      // [y][x]
99
100
        int16 checkLongPath(int16 x0, int16 y0,
100
101
                        int16 x1, int16 y1, int16 i0, int16 i1);
101
102
 
102
 
        void loadMapsInitGobs(void);
 
103
        void loadMapsInitGobs();
103
104
 
104
105
        virtual int16 getItem(int x, int y) = 0;
105
106
        virtual void setItem(int x, int y, int16 item) = 0;
165
166
        virtual ~Map_v1();
166
167
 
167
168
protected:
168
 
        void init(void);
 
169
        void init();
169
170
        void loadSounds(Common::SeekableReadStream &data);
170
171
        void loadGoblins(Common::SeekableReadStream &data, uint32 gobsPos);
171
172
        void loadObjects(Common::SeekableReadStream &data, uint32 objsPos);
204
205
        void loadGoblinStates(Common::SeekableReadStream &data, int index);
205
206
};
206
207
 
207
 
class Map_v4 : public Map_v2 {
208
 
public:
209
 
        virtual void loadMapObjects(const char *avjFile);
210
 
 
211
 
        Map_v4(GobEngine *vm);
212
 
        virtual ~Map_v4();
213
 
};
214
 
 
215
208
} // End of namespace Gob
216
209
 
217
210
#endif // GOB_MAP_H