2002-11-29 15:13:49 +00:00
|
|
|
/* ScummVM - Scumm Interpreter
|
2006-01-18 17:39:49 +00:00
|
|
|
* Copyright (C) 2002-2006 The ScummVM project
|
2002-11-29 15:13:49 +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
|
2005-10-18 01:30:26 +00:00
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
2002-11-29 15:13:49 +00:00
|
|
|
*
|
2006-02-11 09:55:41 +00:00
|
|
|
* $URL$
|
|
|
|
* $Id$
|
2002-11-29 15:13:49 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef VERBS_H
|
|
|
|
#define VERBS_H
|
|
|
|
|
2003-05-15 22:36:43 +00:00
|
|
|
#include "common/scummsys.h"
|
|
|
|
#include "common/rect.h"
|
2002-11-29 15:13:49 +00:00
|
|
|
|
2003-10-03 18:33:57 +00:00
|
|
|
namespace Scumm {
|
|
|
|
|
2002-11-29 18:27:35 +00:00
|
|
|
enum {
|
|
|
|
kTextVerbType = 0,
|
|
|
|
kImageVerbType = 1
|
|
|
|
};
|
|
|
|
|
2002-11-29 15:13:49 +00:00
|
|
|
struct VerbSlot {
|
2004-01-15 19:25:17 +00:00
|
|
|
Common::Rect curRect;
|
|
|
|
Common::Rect oldRect;
|
2002-12-27 16:49:08 +00:00
|
|
|
uint16 verbid;
|
2002-11-29 15:13:49 +00:00
|
|
|
uint8 color, hicolor, dimcolor, bkcolor, type;
|
|
|
|
uint8 charset_nr, curmode;
|
2002-12-27 16:49:08 +00:00
|
|
|
uint16 saveid;
|
2002-11-29 15:13:49 +00:00
|
|
|
uint8 key;
|
|
|
|
bool center;
|
2003-08-05 16:43:33 +00:00
|
|
|
uint8 prep;
|
2002-11-29 15:13:49 +00:00
|
|
|
uint16 imgindex;
|
|
|
|
};
|
|
|
|
|
2003-10-03 18:33:57 +00:00
|
|
|
} // End of namespace Scumm
|
|
|
|
|
2002-11-29 15:13:49 +00:00
|
|
|
#endif
|