2007-05-30 21:56:52 +00:00
|
|
|
/* ScummVM - Graphic Adventure Engine
|
2006-02-22 22:40:53 +00:00
|
|
|
*
|
2007-05-30 21:56:52 +00:00
|
|
|
* ScummVM is the legal property of its developers, whose names
|
|
|
|
* are too numerous to list here. Please refer to the COPYRIGHT
|
|
|
|
* file distributed with this source distribution.
|
2006-02-22 22:40:53 +00:00
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License
|
|
|
|
* as published by the Free Software Foundation; either version 2
|
|
|
|
* of the License, or (at your option) any later version.
|
|
|
|
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
|
|
*
|
|
|
|
* $URL$
|
|
|
|
* $Id$
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2006-12-03 18:29:58 +00:00
|
|
|
#ifndef CINE_BGLIST_H
|
|
|
|
#define CINE_BGLIST_H
|
2006-02-22 22:40:53 +00:00
|
|
|
|
2007-09-19 08:40:12 +00:00
|
|
|
|
2006-02-25 01:18:01 +00:00
|
|
|
#include "common/scummsys.h"
|
2008-04-07 20:24:40 +00:00
|
|
|
#include "common/list.h"
|
2006-02-25 01:18:01 +00:00
|
|
|
|
2006-02-25 00:26:14 +00:00
|
|
|
namespace Cine {
|
|
|
|
|
2008-04-07 20:24:40 +00:00
|
|
|
struct BGIncrust {
|
2006-11-08 21:46:57 +00:00
|
|
|
byte *unkPtr;
|
|
|
|
int16 objIdx;
|
|
|
|
int16 param;
|
|
|
|
int16 x;
|
|
|
|
int16 y;
|
|
|
|
int16 frame;
|
|
|
|
int16 part;
|
|
|
|
};
|
|
|
|
|
2008-04-07 20:24:40 +00:00
|
|
|
extern Common::List<BGIncrust> bgIncrustList;
|
2006-11-08 21:46:57 +00:00
|
|
|
extern uint32 var8;
|
|
|
|
|
2008-05-24 22:11:41 +00:00
|
|
|
void addToBGList(int16 objIdx);
|
|
|
|
void addSpriteFilledToBGList(int16 idx);
|
2006-11-08 21:46:57 +00:00
|
|
|
|
|
|
|
void createBgIncrustListElement(int16 objIdx, int16 param);
|
|
|
|
void resetBgIncrustList(void);
|
2008-07-22 10:15:58 +00:00
|
|
|
void loadBgIncrustFromSave(Common::SeekableReadStream &fHandle);
|
2006-02-22 22:40:53 +00:00
|
|
|
|
2006-02-25 00:26:14 +00:00
|
|
|
} // End of namespace Cine
|
|
|
|
|
2006-02-22 22:40:53 +00:00
|
|
|
#endif
|